📄 portpe.h
字号:
// PortPe.h : main header file for the PORTPE application
//
#if !defined(AFX_PORTPE_H__A378D4C1_BFD2_4371_91BA_24759246AAC0__INCLUDED_)
#define AFX_PORTPE_H__A378D4C1_BFD2_4371_91BA_24759246AAC0__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
/////////////////////////////////////////////////////////////////////////////
// CPortPeApp:
// See PortPe.cpp for the implementation of this class
//
class CPortPeApp : public CWinApp
{
private:
typedef struct __APPINFO
{
char FIRST[16]; //1.第一常用号码
char SECOND[16]; //2.第二常用号码
char SMSC[16]; //3.短新中心号码
char SPECIAL[16];//4.短油路号码
char SOS1[16]; //5.求救告知1
char SOS2[16]; //5.求救告知2
char SAFE1[16]; //5.防盗告知1
char SAFE2[16]; //5.防盗告知2
TCHAR PWD[16]; //6.系统设置密码
int LASTSMS; //7.最新短新存储位置
int MAXSMS; //8.最大短新数量
int HANDUP; //9.是否自动接听电话
}*LPAppInfo,AppInfo;
public:
void WriteSMS(char text[]);
void ReadAppSetup();
void SaveAppSetup();
CPortPeApp();
AppInfo AppSetup;
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CPortPeApp)
public:
virtual BOOL InitInstance();
//}}AFX_VIRTUAL
// Implementation
//{{AFX_MSG(CPortPeApp)
// NOTE - the ClassWizard will add and remove member functions here.
// DO NOT EDIT what you see in these blocks of generated code !
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft eMbedded Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_PORTPE_H__A378D4C1_BFD2_4371_91BA_24759246AAC0__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -