-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathMyComm.h
66 lines (48 loc) · 1.61 KB
/
MyComm.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
// MyComm.h : main header file for the MYCOMM application
//
#if !defined(AFX_MYCOMM_H__2773D06E_03EF_40DD_A120_69FCB7ED9933__INCLUDED_)
#define AFX_MYCOMM_H__2773D06E_03EF_40DD_A120_69FCB7ED9933__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#ifndef __AFXWIN_H__
#error include 'stdafx.h' before including this file for PCH
#endif
#include "resource.h" // main symbols
enum SendKeyStyle {SKNONE=0,SKENTER,SKSHIFTENTER};
enum StatusBarStyle{SBSINFO=0,SBSTX,SBSRX,SBSCOMM,SBSSENDKEY};
enum CheckDataStyle{CDSSUM=0,CDSCRC};
enum Language { LACHINA = 0, LACHINAS ,LAENGLISH};
/////////////////////////////////////////////////////////////////////////////
// CMyCommApp:
// See MyComm.cpp for the implementation of this class
//
class CMyCommApp : public CWinApp
{
public:
CMyCommApp();
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMyCommApp)
public:
virtual BOOL InitInstance();
virtual int ExitInstance();
//}}AFX_VIRTUAL
// Implementation
//{{AFX_MSG(CMyCommApp)
afx_msg void OnAppAbout();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
public:
SendKeyStyle m_SendkeyType;
CString m_ScriptHelp;
CString m_AppDir;
CString m_AppVersion;
CString m_downfileexefilename;
public:
void DoSetStautsBarText(UINT index,CString Value);
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MYCOMM_H__2773D06E_03EF_40DD_A120_69FCB7ED9933__INCLUDED_)