www.pudn.com > endecipher.rar > Dlg_Lfsr.h


#if !defined(AFX_DLG_LFSR_H__050E20EE_8AA1_49C3_BEBB_E712F004DE52__INCLUDED_) 
#define AFX_DLG_LFSR_H__050E20EE_8AA1_49C3_BEBB_E712F004DE52__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
// Dlg_Lfsr.h : header file 
// 
#include "FileOperator.h" 
 
///////////////////////////////////////////////////////////////////////////// 
// CDlg_Lfsr dialog 
 
class CDlg_Lfsr : public CDialog 
{ 
// Construction 
public: 
	CDlg_Lfsr(CWnd* pParent = NULL);   // standard constructor 
 
	char * Encipher(CString a); 
	char * Decipher(CString a); 
 
// Dialog Data 
	//{{AFX_DATA(CDlg_Lfsr) 
	enum { IDD = IDD_DIALOG_LFSR }; 
	CComboBoxEx	m_s; 
	CEdit	m_pfp; 
	CEdit	m_cs; 
	CStatic	m_sp; 
	CStatic	m_sc; 
	CStatic	m_fc; 
	CStatic	m_fp; 
	CButton	m_string; 
	CButton	m_file; 
	CEdit	m_ps; 
	CEdit	m_cfp; 
	CButton	m_openpf; 
	CButton	m_opencf; 
	int		m_t; 
	CString	m_cfpath; 
	CString	m_pfpath; 
	CFileOperator file; 
	CString	m_initial; 
	CString	m_feedback; 
	int		m_size; 
	CString	m_ifo1; 
	CString	m_ifo2; 
	CString	m_pstring; 
	CString	m_cstring; 
	//}}AFX_DATA 
 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CDlg_Lfsr) 
	protected: 
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support 
	virtual BOOL OnInitDialog(); 
	//}}AFX_VIRTUAL 
 
// Implementation 
protected: 
 
	// Generated message map functions 
	//{{AFX_MSG(CDlg_Lfsr) 
	afx_msg void OnRadioS(); 
	afx_msg void OnRadioF(); 
	afx_msg void OnBUTTONOpenP(); 
	afx_msg void OnBUTTONOpenC(); 
	afx_msg bool OnSetButton(); 
	afx_msg void OnSelchangeSizeComboboxex(); 
	afx_msg void OnBUTTONEncipher(); 
	afx_msg void OnBUTTONDecipher(); 
	  
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_DLG_LFSR_H__050E20EE_8AA1_49C3_BEBB_E712F004DE52__INCLUDED_)