- Search string now assumed with * at the ends in object browser
[public/netxms.git] / src / console / win32 / NodePropsGeneral.h
1 #if !defined(AFX_NODEPROPSGENERAL_H__AB0C9F79_7DD3_4B52_988E_32E4D06D59A9__INCLUDED_)
2 #define AFX_NODEPROPSGENERAL_H__AB0C9F79_7DD3_4B52_988E_32E4D06D59A9__INCLUDED_
3
4 #if _MSC_VER > 1000
5 #pragma once
6 #endif // _MSC_VER > 1000
7 // NodePropsGeneral.h : header file
8 //
9
10 /////////////////////////////////////////////////////////////////////////////
11 // CNodePropsGeneral dialog
12
13 class CNodePropsGeneral : public CPropertyPage
14 {
15 DECLARE_DYNCREATE(CNodePropsGeneral)
16
17 // Construction
18 public:
19 CNodePropsGeneral();
20 ~CNodePropsGeneral();
21
22 // Dialog Data
23 //{{AFX_DATA(CNodePropsGeneral)
24 enum { IDD = IDD_OBJECT_NODE_GENERAL };
25 CComboBox m_wndAuthList;
26 DWORD m_dwObjectId;
27 CString m_strName;
28 CString m_strOID;
29 int m_iAgentPort;
30 CString m_strPrimaryIp;
31 CString m_strSecret;
32 CString m_strCommunity;
33 int m_iAuthType;
34 int m_iSNMPVersion;
35 //}}AFX_DATA
36
37
38 // Overrides
39 // ClassWizard generate virtual function overrides
40 //{{AFX_VIRTUAL(CNodePropsGeneral)
41 public:
42 virtual void OnOK();
43 protected:
44 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
45 //}}AFX_VIRTUAL
46
47 // Implementation
48 protected:
49 // Generated message map functions
50 //{{AFX_MSG(CNodePropsGeneral)
51 virtual BOOL OnInitDialog();
52 afx_msg void OnChangeEditName();
53 afx_msg void OnChangeEditSecret();
54 afx_msg void OnChangeEditPort();
55 afx_msg void OnChangeEditCommunity();
56 afx_msg void OnSelchangeComboAuth();
57 afx_msg void OnRadioVersion2c();
58 afx_msg void OnRadioVersion1();
59 afx_msg void OnSelectIp();
60 //}}AFX_MSG
61 DECLARE_MESSAGE_MAP()
62
63 private:
64 NXC_OBJECT_UPDATE * m_pUpdate;
65 };
66
67 //{{AFX_INSERT_LOCATION}}
68 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
69
70 #endif // !defined(AFX_NODEPROPSGENERAL_H__AB0C9F79_7DD3_4B52_988E_32E4D06D59A9__INCLUDED_)