www.pudn.com > aes_encrypt.rar > MainFrm.h


// MainFrm.h : interface of the CMainFrame class 
// 
///////////////////////////////////////////////////////////////////////////// 
#include "main.h" 
#include "MyDlg.h" 
#include "MyDlg1.h" 
////////////////// 
#if !defined(AFX_MAINFRM_H__BBA720D0_7917_46D9_9C01_DA74AF9629A5__INCLUDED_) 
#define AFX_MAINFRM_H__BBA720D0_7917_46D9_9C01_DA74AF9629A5__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
 
class CMainFrame : public CFrameWnd 
{ 
	 
protected: // create from serialization only 
	CMainFrame(); 
	DECLARE_DYNCREATE(CMainFrame) 
 
// Attributes 
public: 
	 
// Operations 
public: 
CMyDlg Dlg; 
CMyDlg1 Dlg1; 
CString m_str,szContent,szContent2; 
rijndael rijd1; 
char table[64]; 
unsigned char ming_wen[17],mi_wen[17],orig_key[17]; 
long file_length,after_file_length; 
long before_residual,after_residual,file_word; 
bool m_Aes,m_Unaes; 
int find(int); 
void AES(CString); 
void UNAES(CString); 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CMainFrame) 
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs); 
	//}}AFX_VIRTUAL 
 
// Implementation 
public: 
	virtual ~CMainFrame(); 
#ifdef _DEBUG 
	virtual void AssertValid() const; 
	virtual void Dump(CDumpContext& dc) const; 
#endif 
 
protected:  // control bar embedded members 
	CStatusBar  m_wndStatusBar; 
	CToolBar    m_wndToolBar; 
 
// Generated message map functions 
protected: 
	//{{AFX_MSG(CMainFrame) 
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); 
	afx_msg void OnAes(); 
	afx_msg void OnUpdateAes(CCmdUI* pCmdUI); 
	afx_msg void OnUnaes(); 
	afx_msg void OnUpdateUnaes(CCmdUI* pCmdUI); 
	afx_msg void OnClear(); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
///////////////////////////////////////////////////////////////////////////// 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_MAINFRM_H__BBA720D0_7917_46D9_9C01_DA74AF9629A5__INCLUDED_)