// [!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;