Main Page | Class List | File List | Class Members | File Members

CConfigDialog Class Reference

#include <ConfigDialog.h>

List of all members.

Public Types

enum  { IDD = IDD_CONFIGURE_DIALOG }

Public Member Functions

 CConfigDialog (CWnd *pParent=NULL)
virtual ~CConfigDialog ()
void loadListsFromReg (void)
void saveListsToReg (void)
afx_msg void OnSave ()
afx_msg void OnChangeSearch ()
afx_msg void OnChangeMultimap ()
afx_msg void OnChangeMapMode ()
afx_msg void OnAddContext ()
afx_msg void OnMoveContextUp ()
afx_msg void OnMoveContextDown ()
afx_msg void OnAddAdmin ()
afx_msg void OnAddNewUser ()
afx_msg void OnRemoveContext ()
afx_msg void OnRemoveAdmin ()
afx_msg void OnRemoveUser ()
void swapItem (CListBox *, int, int)
afx_msg void OnLbnSelchangeContextlist2 ()
afx_msg void OnBnClickedHelp ()

Public Attributes

CString m_version
CString m_server
CString m_ldapPrePend
CString m_ldapAppend
CString m_ldapAdminUsername
CString m_ldapAdminPassword
BOOL m_useSSL
CString m_port
CString m_ldapFilter
CString m_ldapGroupAttr
BOOL m_searchMode
BOOL m_multiMap
BOOL m_mapMode
CListBox m_ContextList
CString m_newContext
CListBox m_AdminList
CString m_NewAdmin
CListBox m_UserList
CString m_newUser
bool hasLoaded
CEdit c_ldapAppend
CEdit c_newcontext
CButton c_usessl

Protected Member Functions

virtual void DoDataExchange (CDataExchange *pDX)

Protected Attributes

CEdit c_ldapPrePend


Member Enumeration Documentation

anonymous enum
 

Enumeration values:
IDD 

Definition at line 43 of file ConfigDialog.h.


Constructor & Destructor Documentation

CConfigDialog::CConfigDialog CWnd *  pParent = NULL  ) 
 

Definition at line 43 of file ConfigDialog.cpp.

References hasLoaded, LDAPAUTHVERSION, m_ldapAdminPassword, m_ldapAdminUsername, m_ldapAppend, m_ldapFilter, m_ldapGroupAttr, m_ldapPrePend, m_mapMode, m_multiMap, m_port, m_searchMode, m_server, m_useSSL, and regReadString().

CConfigDialog::~CConfigDialog  )  [virtual]
 

Definition at line 114 of file ConfigDialog.cpp.


Member Function Documentation

void CConfigDialog::DoDataExchange CDataExchange *  pDX  )  [protected, virtual]
 

Definition at line 119 of file ConfigDialog.cpp.

References c_ldapAppend, c_ldapPrePend, c_newcontext, c_usessl, hasLoaded, IDC_ADMINPASSWORD, IDC_ADMINUSERNAME, IDC_CONTEXTLIST, IDC_CONTEXTLIST2, IDC_CONTEXTLIST3, IDC_LDAPAPPEND, IDC_LDAPFILTER, IDC_LDAPGROUPATTR, IDC_LDAPPREPEND, IDC_LDAPSERVER, IDC_MAP, IDC_MULTIMAP, IDC_NEWCONTEXT, IDC_NEWCONTEXT2, IDC_NEWCONTEXT3, IDC_PORT, IDC_SEARCH, IDC_USESSL, IDC_VERSION, loadListsFromReg(), m_AdminList, m_ContextList, m_ldapAdminPassword, m_ldapAdminUsername, m_ldapAppend, m_ldapFilter, m_ldapGroupAttr, m_ldapPrePend, m_mapMode, m_multiMap, m_NewAdmin, m_newContext, m_newUser, m_port, m_searchMode, m_server, m_UserList, m_useSSL, and m_version.

void CConfigDialog::loadListsFromReg void   ) 
 

Definition at line 375 of file ConfigDialog.cpp.

References m_AdminList, m_ContextList, m_UserList, and regReadString().

Referenced by DoDataExchange().

void CConfigDialog::OnAddAdmin  ) 
 

Definition at line 335 of file ConfigDialog.cpp.

References m_AdminList, and m_NewAdmin.

void CConfigDialog::OnAddContext  ) 
 

Definition at line 306 of file ConfigDialog.cpp.

References m_ContextList, and m_newContext.

void CConfigDialog::OnAddNewUser  ) 
 

Definition at line 345 of file ConfigDialog.cpp.

References m_newUser, and m_UserList.

void CConfigDialog::OnBnClickedHelp  ) 
 

Definition at line 504 of file ConfigDialog.cpp.

void CConfigDialog::OnChangeMapMode  ) 
 

Definition at line 286 of file ConfigDialog.cpp.

References c_ldapAppend, c_newcontext, m_ContextList, m_mapMode, m_multiMap, and m_searchMode.

void CConfigDialog::OnChangeMultimap  ) 
 

Definition at line 266 of file ConfigDialog.cpp.

References c_ldapAppend, c_newcontext, m_ContextList, m_mapMode, m_multiMap, and m_searchMode.

void CConfigDialog::OnChangeSearch  ) 
 

Definition at line 243 of file ConfigDialog.cpp.

References c_ldapAppend, c_newcontext, m_ContextList, m_mapMode, m_multiMap, and m_searchMode.

void CConfigDialog::OnLbnSelchangeContextlist2  ) 
 

Definition at line 499 of file ConfigDialog.cpp.

void CConfigDialog::OnMoveContextDown  ) 
 

Definition at line 325 of file ConfigDialog.cpp.

References m_ContextList, and swapItem().

void CConfigDialog::OnMoveContextUp  ) 
 

Definition at line 315 of file ConfigDialog.cpp.

References m_ContextList, and swapItem().

void CConfigDialog::OnRemoveAdmin  ) 
 

Definition at line 361 of file ConfigDialog.cpp.

References m_AdminList.

void CConfigDialog::OnRemoveContext  ) 
 

Definition at line 354 of file ConfigDialog.cpp.

References m_ContextList.

void CConfigDialog::OnRemoveUser  ) 
 

Definition at line 368 of file ConfigDialog.cpp.

References m_UserList.

void CConfigDialog::OnSave  ) 
 

Definition at line 176 of file ConfigDialog.cpp.

References m_ldapAdminPassword, m_ldapAdminUsername, m_ldapAppend, m_ldapFilter, m_ldapGroupAttr, m_ldapPrePend, m_mapMode, m_multiMap, m_port, m_searchMode, m_server, m_useSSL, regDelValue(), regWriteString(), and saveListsToReg().

void CConfigDialog::saveListsToReg void   ) 
 

Definition at line 418 of file ConfigDialog.cpp.

References m_AdminList, m_ContextList, m_UserList, regDelValue(), regReadString(), and regWriteString().

Referenced by OnSave().

void CConfigDialog::swapItem CListBox *  ,
int  ,
int 
 

Definition at line 488 of file ConfigDialog.cpp.

Referenced by OnMoveContextDown(), and OnMoveContextUp().


Member Data Documentation

CEdit CConfigDialog::c_ldapAppend
 

Definition at line 92 of file ConfigDialog.h.

Referenced by DoDataExchange(), OnChangeMapMode(), OnChangeMultimap(), and OnChangeSearch().

CEdit CConfigDialog::c_ldapPrePend [protected]
 

Definition at line 90 of file ConfigDialog.h.

Referenced by DoDataExchange().

CEdit CConfigDialog::c_newcontext
 

Definition at line 93 of file ConfigDialog.h.

Referenced by DoDataExchange(), OnChangeMapMode(), OnChangeMultimap(), and OnChangeSearch().

CButton CConfigDialog::c_usessl
 

Definition at line 94 of file ConfigDialog.h.

Referenced by DoDataExchange().

bool CConfigDialog::hasLoaded
 

Definition at line 83 of file ConfigDialog.h.

Referenced by CConfigDialog(), and DoDataExchange().

CListBox CConfigDialog::m_AdminList
 

Definition at line 73 of file ConfigDialog.h.

Referenced by DoDataExchange(), loadListsFromReg(), OnAddAdmin(), OnRemoveAdmin(), and saveListsToReg().

CListBox CConfigDialog::m_ContextList
 

Definition at line 68 of file ConfigDialog.h.

Referenced by DoDataExchange(), loadListsFromReg(), OnAddContext(), OnChangeMapMode(), OnChangeMultimap(), OnChangeSearch(), OnMoveContextDown(), OnMoveContextUp(), OnRemoveContext(), and saveListsToReg().

CString CConfigDialog::m_ldapAdminPassword
 

Definition at line 57 of file ConfigDialog.h.

Referenced by CConfigDialog(), DoDataExchange(), and OnSave().

CString CConfigDialog::m_ldapAdminUsername
 

Definition at line 56 of file ConfigDialog.h.

Referenced by CConfigDialog(), DoDataExchange(), and OnSave().

CString CConfigDialog::m_ldapAppend
 

Definition at line 55 of file ConfigDialog.h.

Referenced by CConfigDialog(), DoDataExchange(), and OnSave().

CString CConfigDialog::m_ldapFilter
 

Definition at line 60 of file ConfigDialog.h.

Referenced by CConfigDialog(), DoDataExchange(), and OnSave().

CString CConfigDialog::m_ldapGroupAttr
 

Definition at line 61 of file ConfigDialog.h.

Referenced by CConfigDialog(), DoDataExchange(), and OnSave().

CString CConfigDialog::m_ldapPrePend
 

Definition at line 54 of file ConfigDialog.h.

Referenced by CConfigDialog(), DoDataExchange(), and OnSave().

BOOL CConfigDialog::m_mapMode
 

Definition at line 66 of file ConfigDialog.h.

Referenced by CConfigDialog(), DoDataExchange(), OnChangeMapMode(), OnChangeMultimap(), OnChangeSearch(), and OnSave().

BOOL CConfigDialog::m_multiMap
 

Definition at line 64 of file ConfigDialog.h.

Referenced by CConfigDialog(), DoDataExchange(), OnChangeMapMode(), OnChangeMultimap(), OnChangeSearch(), and OnSave().

CString CConfigDialog::m_NewAdmin
 

Definition at line 74 of file ConfigDialog.h.

Referenced by DoDataExchange(), and OnAddAdmin().

CString CConfigDialog::m_newContext
 

Definition at line 69 of file ConfigDialog.h.

Referenced by DoDataExchange(), and OnAddContext().

CString CConfigDialog::m_newUser
 

Definition at line 77 of file ConfigDialog.h.

Referenced by DoDataExchange(), and OnAddNewUser().

CString CConfigDialog::m_port
 

Definition at line 59 of file ConfigDialog.h.

Referenced by CConfigDialog(), DoDataExchange(), and OnSave().

BOOL CConfigDialog::m_searchMode
 

Definition at line 62 of file ConfigDialog.h.

Referenced by CConfigDialog(), DoDataExchange(), OnChangeMapMode(), OnChangeMultimap(), OnChangeSearch(), and OnSave().

CString CConfigDialog::m_server
 

Definition at line 53 of file ConfigDialog.h.

Referenced by CConfigDialog(), DoDataExchange(), and OnSave().

CListBox CConfigDialog::m_UserList
 

Definition at line 76 of file ConfigDialog.h.

Referenced by DoDataExchange(), loadListsFromReg(), OnAddNewUser(), OnRemoveUser(), and saveListsToReg().

BOOL CConfigDialog::m_useSSL
 

Definition at line 58 of file ConfigDialog.h.

Referenced by CConfigDialog(), DoDataExchange(), and OnSave().

CString CConfigDialog::m_version
 

Definition at line 51 of file ConfigDialog.h.

Referenced by DoDataExchange().


The documentation for this class was generated from the following files:
Generated on Fri Feb 20 12:03:47 2004 for ldapauth plugin for pGina by doxygen 1.3.5