UserInfo.h

Go to the documentation of this file.
00001 /***********************************************************************
00002 *
00003 * KRYPTOS - Educational software for teaching cryptography
00004 * For more information, see http://www.kryptosproject.org/
00005 * Submissions may be sent to kryptos@gmu.edu (see web site for details)
00006 * 
00007 * 
00008 * Copyright (c) 2002-2004 George Mason University
00009 * 
00010 * Permission is hereby granted, free of charge, to any person obtaining
00011 * a copy of this software and associated documentation files (the
00012 * "Software"), to deal in the Software without restriction, including
00013 * without limitation the rights to use, copy, modify, merge, publish,
00014 * distribute, sublicense, and/or sell copies of the Software, and to
00015 * permit persons to whom the Software is furnished to do so, subject
00016 * to the following conditions:
00017 *
00018 * The above copyright notice and this permission notice shall be
00019 * included in all copies or substantial portions of the Software.
00020 *
00021 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
00022 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
00023 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
00024 * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
00025 * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
00026 * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
00027 * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
00028 *
00029 ***********************************************************************/
00030 #if !defined(AFX_USERINFO_H__438CB1AA_2F58_4672_9204_938DC6F5264D__INCLUDED_)
00031 #define AFX_USERINFO_H__438CB1AA_2F58_4672_9204_938DC6F5264D__INCLUDED_
00032 
00033 #include "UserAry.h"    // Added by ClassView
00034 #if _MSC_VER > 1000
00035 #pragma once
00036 #endif // _MSC_VER > 1000
00037 // UserInfo.h : header file
00038 //
00039 
00041 // CUserInfo dialog
00042 
00043 class CUserInfo : public CPropertyPage
00044 {
00045         DECLARE_DYNCREATE(CUserInfo)
00046 
00047 // Construction
00048 public:
00049         BOOL OnDelete1(int x);
00050         bool dirty;
00051         int length;
00052         CString szFilter;
00053         void LoadList();
00054         CUserAry users;
00055         CString m_filename;
00056         CUserInfo();
00057         ~CUserInfo();
00058 
00059 // Dialog Data
00060         //{{AFX_DATA(CUserInfo)
00061         enum { IDD = IDD_DIALOG2 };
00062         CListCtrl       m_list;
00063         CString m_file;
00064         CString m_name;
00065         //}}AFX_DATA
00066 
00067 
00068 // Overrides
00069         // ClassWizard generate virtual function overrides
00070         //{{AFX_VIRTUAL(CUserInfo)
00071         public:
00072         virtual void OnOK();
00073         virtual BOOL OnSetActive();
00074         virtual BOOL OnKillActive();
00075         protected:
00076         virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
00077         //}}AFX_VIRTUAL
00078 
00079 // Implementation
00080 protected:
00081         // Generated message map functions
00082         //{{AFX_MSG(CUserInfo)
00083         virtual BOOL OnInitDialog();
00084         afx_msg void OnAdd();
00085         afx_msg void OnDestroy();
00086         afx_msg void OnOpenDialog();
00087         afx_msg void OnDelete();
00088         //}}AFX_MSG
00089         DECLARE_MESSAGE_MAP()
00090 
00091 };
00092 
00093 //{{AFX_INSERT_LOCATION}}
00094 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
00095 
00096 #endif // !defined(AFX_USERINFO_H__438CB1AA_2F58_4672_9204_938DC6F5264D__INCLUDED_)

Generated on Sun Dec 17 14:54:15 2006 for Kryptos by  doxygen 1.5.1-p1