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

ConfigUser.h

Go to the documentation of this file.
00001 /*
00002 pGina ldapAuth code - based upon skeleton code for pGina plugin development
00003 Copyright (C) 2002 Micah Cooper
00004 
00005 This program is free software; you can redistribute it and/or
00006 modify it under the terms of the GNU General Public License
00007 as published by the Free Software Foundation; either version 2
00008 of the License, or (at your option) any later version.
00009 
00010 This program is distributed in the hope that it will be useful,
00011 but WITHOUT ANY WARRANTY; without even the implied warranty of
00012 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00013 GNU General Public License for more details.
00014 
00015 You should have received a copy of the GNU General Public License
00016 along with this program; if not, write to the Free Software
00017 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
00018 
00019 Email: coopermj@muohio.edu
00020 Snail Mail:
00021         Micah Cooper
00022         212A Kreger Hall
00023         Miami University
00024         Oxford OH  45056
00025 */
00026 #pragma once
00027 
00028 #include "Resource.h"
00029 
00030 // CConfigUser dialog
00031 
00032 class CConfigUser : public CDialog
00033 {
00034         DECLARE_DYNAMIC(CConfigUser)
00035 
00036 public:
00037         CConfigUser(CWnd* pParent = NULL);   // standard constructor
00038         virtual ~CConfigUser();
00039         void loadListsFromReg(void); // load the lists from the registry
00040         void saveListsToReg(void); // save the lists to the registry
00041 
00042 // Dialog Data
00043         enum { IDD = IDD_USER_TAB };
00044 
00045 protected:
00046         virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
00047 
00048         DECLARE_MESSAGE_MAP()
00049 public:
00050         CListBox m_AdminList;
00051         CString m_NewAdmin;
00052         CListBox m_UserList;
00053         CString m_newUser;
00054         bool hasLoaded;
00055 
00056         afx_msg void OnOK();
00057         afx_msg void OnAddAdmin();
00058         afx_msg void OnRemoveAdmin();
00059         afx_msg void OnAddUser();
00060         afx_msg void OnRemoveUser();
00061         afx_msg void OnSave();
00062 };

Generated on Fri Feb 20 12:03:40 2004 for ldapauth plugin for pGina by doxygen 1.3.5