www.pudn.com > Rijndael算法VC使用实例.rar > RijndView.h


// RijndView.h : interface of the CRijndView class 
// 
///////////////////////////////////////////////////////////////////////////// 
 
#if !defined(AFX_RIJNDVIEW_H__41680927_4CDA_4ADB_913B_5F09FCF31DB6__INCLUDED_) 
#define AFX_RIJNDVIEW_H__41680927_4CDA_4ADB_913B_5F09FCF31DB6__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
 
 
class CRijndView : public CFormView 
{ 
protected: // create from serialization only 
	CRijndView(); 
	DECLARE_DYNCREATE(CRijndView) 
 
public: 
	//{{AFX_DATA(CRijndView) 
	enum { IDD = IDD_RIJND_FORM }; 
	CString	m_miyao; 
	//}}AFX_DATA 
 
// Attributes 
public: 
	CRijndDoc* GetDocument(); 
	unsigned char *k_bit;/*key*/ 
	CString m_jiami; 
	int N; 
	int length; 
	int i; 
	unsigned char *var; 
	CString name; 
 
// Operations 
public: 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CRijndView) 
	public: 
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs); 
	protected: 
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support 
	virtual void OnInitialUpdate(); // called first time after construct 
	virtual BOOL OnPreparePrinting(CPrintInfo* pInfo); 
	virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo); 
	virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo); 
	virtual void OnPrint(CDC* pDC, CPrintInfo* pInfo); 
	//}}AFX_VIRTUAL 
 
// Implementation 
public: 
	virtual ~CRijndView(); 
#ifdef _DEBUG 
	virtual void AssertValid() const; 
	virtual void Dump(CDumpContext& dc) const; 
#endif 
 
protected: 
 
// Generated message map functions 
protected: 
	//{{AFX_MSG(CRijndView) 
	afx_msg void OnEncryption(); 
	afx_msg void OnUncryption(); 
	afx_msg void OnEncryptionSelect(); 
	afx_msg void OnUncryptionSelect(); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
#ifndef _DEBUG  // debug version in RijndView.cpp 
inline CRijndDoc* CRijndView::GetDocument() 
   { return (CRijndDoc*)m_pDocument; } 
#endif 
 
///////////////////////////////////////////////////////////////////////////// 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_RIJNDVIEW_H__41680927_4CDA_4ADB_913B_5F09FCF31DB6__INCLUDED_)