Crypt Library Demo 1.00
|
00001 /* This file is part of Crypt Library Demo application developed by Mihai MOGA. 00002 00003 Image Converter is free software: you can redistribute it and/or modify it 00004 under the terms of the GNU General Public License as published by the Open 00005 Source Initiative, either version 3 of the License, or any later version. 00006 00007 Image Converter is distributed in the hope that it will be useful, but 00008 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 00009 or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. 00010 00011 You should have received a copy of the GNU General Public License along with 00012 Crypt Library Demo. If not, see <http://www.opensource.org/licenses/gpl-3.0.html>*/ 00013 00014 // CryptLibraryDemoDlg.h : header file 00015 // 00016 00017 #pragma once 00018 #include "afxwin.h" 00019 00021 // CCryptLibraryDemoDlg dialog 00023 00024 class CCryptLibraryDemoDlg : public CDialog 00025 { 00026 // Construction 00027 public: 00028 CCryptLibraryDemoDlg(CWnd* pParent = NULL); // standard constructor 00029 00030 // Dialog Data 00031 enum { IDD = IDD_CRYPTLIBRARYDEMO_DIALOG }; 00032 00033 protected: 00034 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support 00035 00036 // Implementation 00037 public: 00038 // Generated message map functions 00039 virtual BOOL OnInitDialog(); 00040 afx_msg void OnSysCommand(UINT nID, LPARAM lParam); 00041 afx_msg void OnPaint(); 00042 afx_msg HCURSOR OnQueryDragIcon(); 00043 public: 00044 afx_msg void OnBnClickedSelect(); 00045 afx_msg void OnBnClickedCompute(); 00046 afx_msg void OnBnClickedInputfile(); 00047 afx_msg void OnBnClickedOutputfile(); 00048 afx_msg void OnBnClickedEncrypt(); 00049 afx_msg void OnBnClickedDecrypt(); 00050 00051 protected: 00052 HICON m_hIcon; 00053 CButton m_btnCompute; 00054 CButton m_btnEncrypt; 00055 CButton m_btnDecrypt; 00056 CEdit m_editFilename; 00057 CEdit m_editChecksum; 00058 CEdit m_editInputName; 00059 CEdit m_editOutputName; 00060 CString m_strFilename; 00061 CString m_strChecksum; 00062 CString m_strInputName; 00063 CString m_strOutputName; 00064 00065 DECLARE_MESSAGE_MAP() 00066 };