// [!output APP_HEADER] : PROJECT_NAME 應用程式的主要標頭檔 // #pragma once #ifndef __AFXWIN_H__ #error "對 PCH 包含此檔案前先包含 'stdafx.h'" #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;