File: ChannelModeDlg.cpp

package info (click to toggle)
openmohaa 0.81.1%2Bdfsg-2
  • links: PTS, VCS
  • area: contrib
  • in suites: trixie
  • size: 29,124 kB
  • sloc: ansic: 270,865; cpp: 250,173; sh: 234; asm: 141; xml: 64; makefile: 7
file content (56 lines) | stat: -rw-r--r-- 1,455 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
// ChannelModeDlg.cpp : implementation file
//

#include "stdafx.h"
#include "chatty.h"
#include "ChannelModeDlg.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CChannelModeDlg dialog


CChannelModeDlg::CChannelModeDlg(CWnd* pParent /*=NULL*/)
	: CDialog(CChannelModeDlg::IDD, pParent)
{
	//{{AFX_DATA_INIT(CChannelModeDlg)
	m_inviteOnly = FALSE;
	m_limit = 0;
	m_moderated = FALSE;
	m_noExternalMessages = FALSE;
	m_onlyOpsChangeTopic = FALSE;
	m_private = FALSE;
	m_secret = FALSE;
	//}}AFX_DATA_INIT
}


void CChannelModeDlg::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CChannelModeDlg)
	DDX_Check(pDX, IDC_INVITE_ONLY, m_inviteOnly);
	DDX_Text(pDX, IDC_LIMIT, m_limit);
	DDV_MinMaxInt(pDX, m_limit, 0, 9999);
	DDX_Check(pDX, IDC_MODERATED, m_moderated);
	DDX_Check(pDX, IDC_NO_EXTERNAL_MESSAGES, m_noExternalMessages);
	DDX_Check(pDX, IDC_ONLY_OPS_CHANGE_TOPIC, m_onlyOpsChangeTopic);
	DDX_Check(pDX, IDC_PRIVATE, m_private);
	DDX_Check(pDX, IDC_SECRET, m_secret);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CChannelModeDlg, CDialog)
	//{{AFX_MSG_MAP(CChannelModeDlg)
		// NOTE: the ClassWizard will add message map macros here
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CChannelModeDlg message handlers