// [!output APP_HEADER] : PROJECT_NAME 应用程序的主头文件 // #pragma once #ifndef __AFXWIN_H__ #error "在包含此文件之前包含“stdafx.h”以生成 PCH 文件" #endif [!if STANDARDSHELL_UI_MODEL] #ifdef STANDARDSHELL_UI_MODEL #include "resource.h" #endif [!endif] [!if POCKETPC2003_UI_MODEL] #ifdef POCKETPC2003_UI_MODEL #include "resourceppc.h" #endif [!endif] [!if SMARTPHONE2003_UI_MODEL] #ifdef SMARTPHONE2003_UI_MODEL #include "resourcesp.h" #endif [!endif] [!if AYGSHELL_UI_MODEL] #ifdef AYGSHELL_UI_MODEL #include "resourceayg.h" #endif [!endif] // [!output APP_CLASS]: // 有关此类的实现,请参阅 [!output APP_IMPL] // class [!output APP_CLASS] : public [!output APP_BASE_CLASS] { public: [!if HELPSTYLE_WINHELP] [!output APP_CLASS](LPCTSTR lpszHelpName); [!else] [!output APP_CLASS](); [!endif] // 重写 public: virtual BOOL InitInstance(); // 实现 DECLARE_MESSAGE_MAP() }; extern [!output APP_CLASS] theApp;