// Greg Stitt, Ann Gordon-Ross // vahidDlg.h : header file // #if !defined(AFX_VAHIDDLG_H__9D11BD46_4769_11D3_98D4_811A5268F185__INCLUDED_) #define AFX_VAHIDDLG_H__9D11BD46_4769_11D3_98D4_811A5268F185__INCLUDED_ #if _MSC_VER >= 1000 #pragma once #endif // _MSC_VER >= 1000 #include "special.h" ///////////////////////////////////////////////////////////////////////////// // CAboutDlg dialog used for App About class CAboutDlg : public CDialog { public: CAboutDlg(); // Dialog Data //{{AFX_DATA(CAboutDlg) enum { IDD = IDD_ABOUTBOX }; //}}AFX_DATA // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CAboutDlg) protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL // Implementation protected: //{{AFX_MSG(CAboutDlg) //}}AFX_MSG DECLARE_MESSAGE_MAP() }; ///////////////////////////////////////////////////////////////////////////// // CVahidDlg dialog class CVahidDlg : public CDialog { private: static const char s_profileHeading[]; static const char s_ComPort[]; static const char s_Path[]; //static const char s_RotateSpeed[]; // static const char s_SendType[]; static const char s_SendTime[]; static const char s_Month[]; static const char s_Day[]; public: int m_nSends; int m_nComPort; int m_nSendTime; // int m_nSendType; int m_nOldDay, m_nOldMonth; BOOL m_bSending; CString m_oldtext[NUM_ROOMS][NUM_TIMES]; CString m_strPath; // Construction public: CVahidDlg(CWnd* pParent = NULL); // standard constructor // Dialog Data //{{AFX_DATA(CVahidDlg) enum { IDD = IDD_VAHID_DIALOG }; CStatic m_lblError; CButton m_SendButton; //}}AFX_DATA // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CVahidDlg) public: virtual BOOL PreTranslateMessage(MSG* pMsg); protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL // Implementation protected: HICON m_hIcon; HACCEL m_hAccel; BOOL m_bTimerEvent; void ResetFile(CString file); afx_msg LRESULT OnStopSend(WPARAM wParam, LPARAM lParam); afx_msg void OnMainSettings(); afx_msg void OnFontChange(); //afx_msg void OnRotation(); afx_msg void OnMenuExit(); afx_msg void OnComPort(); afx_msg void OnAbout(); afx_msg void OnShowWindow( BOOL bShow, UINT nStatus ); // Generated message map functions //{{AFX_MSG(CVahidDlg) virtual BOOL OnInitDialog(); afx_msg void OnSysCommand(UINT nID, LPARAM lParam); afx_msg void OnPaint(); afx_msg HCURSOR OnQueryDragIcon(); virtual void OnOK(); virtual void OnCancel(); afx_msg void OnSend(); afx_msg void OnDestroy(); afx_msg void OnTimer(UINT nIDEvent); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; //{{AFX_INSERT_LOCATION}} // Microsoft Developer Studio will insert additional declarations immediately before the previous line. #endif // !defined(AFX_VAHIDDLG_H__9D11BD46_4769_11D3_98D4_811A5268F185__INCLUDED_)