// [!output APP_HEADER] : [!output PROJECT_NAME] アプリケーションのメイン ヘッダー ファイル // #pragma once #ifndef __AFXWIN_H__ #error "PCH に対してこのファイルをインクルードする前に 'stdafx.h' をインクルードしてください" #endif #include "resource.h" // メイン シンボル // [!output APP_CLASS]: // このクラスの実装については、[!output APP_IMPL] を参照してください。 // class [!output APP_CLASS] : public [!output APP_BASE_CLASS] { public: [!output APP_CLASS](); [!if APP_TYPE_MTLD] [!if !DOCVIEW] CArray m_aryFrames; [!else] protected: CMultiDocTemplate* m_pDocTemplate; [!endif] public: [!endif] // オーバーライド public: virtual BOOL InitInstance(); [!if APP_TYPE_MDI] [!if !DOCVIEW] virtual int ExitInstance(); [!endif] [!endif] // 実装 [!if FULL_SERVER || MINI_SERVER || CONTAINER_SERVER || AUTOMATION] COleTemplateServer m_server; // ドキュメントを作成するためのサーバー オブジェクト [!endif] [!if !DOCVIEW] [!if !APP_TYPE_SDI] protected: HMENU m_hMDIMenu; HACCEL m_hMDIAccel; [!endif] public: [!endif] afx_msg void OnAppAbout(); [!if !DOCVIEW] [!if APP_TYPE_MDI] afx_msg void OnFileNew(); [!endif] [!endif] [!if APP_TYPE_MTLD] afx_msg void OnFileNewFrame(); [!if DOCVIEW] afx_msg void OnFileNew(); [!endif] [!endif] DECLARE_MESSAGE_MAP() }; extern [!output APP_CLASS] theApp;