ECSys.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_ECSYS_H__9D6A5412_719F_41FB_BBF0_C5FD87D4153E__INCLUDED_)
00031 #define AFX_ECSYS_H__9D6A5412_719F_41FB_BBF0_C5FD87D4153E__INCLUDED_
00032 
00033 #if _MSC_VER > 1000
00034 #pragma once
00035 #endif // _MSC_VER > 1000
00036 // ECSys.h : header file
00037 //
00038 
00040 // CECSys dialog
00041 
00042 class CECSys : public CPropertyPage
00043 {
00044         DECLARE_DYNCREATE(CECSys)
00045 
00046 // Construction
00047 public:
00048         CString m_Curve;
00049         void LoadSysParameters(CString *Debug, int type);
00050         void UpdateSystemParameters(CString *Debug);
00051         void ClearCurves();
00052         int m_EC_Curve;
00053         int m_EC_Type;
00054         void LoadRecommendedECP();
00055         void LoadRecommendedEC2N();
00056         CECSys();
00057         ~CECSys();
00058 
00059 // Dialog Data
00060         //{{AFX_DATA(CECSys)
00061         enum { IDD = IDD_DIALOG5 };
00062         CComboBox       m_cbo;
00063         CString m_Debug;
00064         //}}AFX_DATA
00065 
00066 
00067 // Overrides
00068         // ClassWizard generate virtual function overrides
00069         //{{AFX_VIRTUAL(CECSys)
00070         protected:
00071         virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
00072         //}}AFX_VIRTUAL
00073 
00074 // Implementation
00075 protected:
00076         // Generated message map functions
00077         //{{AFX_MSG(CECSys)
00078         virtual BOOL OnInitDialog();
00079         afx_msg void OnSelchangeCombo1();
00080         afx_msg void OnSelchangeCombo2();
00081         //}}AFX_MSG
00082         DECLARE_MESSAGE_MAP()
00083 
00084 };
00085 
00086 //{{AFX_INSERT_LOCATION}}
00087 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
00088 
00089 #endif // !defined(AFX_ECSYS_H__9D6A5412_719F_41FB_BBF0_C5FD87D4153E__INCLUDED_)

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