// [!output APP_HEADER] : file di intestazione principale per l'applicazione [!output PROJECT_NAME] // #pragma once #ifndef __AFXWIN_H__ #error "includere 'stdafx.h' prima di includere questo file per PCH" #endif #include "resource.h" // simboli principali // [!output APP_CLASS]: // Vedere [!output APP_IMPL] per l'implementazione di questa classe // 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] // Override public: virtual BOOL InitInstance(); [!if APP_TYPE_MDI] [!if !DOCVIEW] virtual int ExitInstance(); [!endif] [!endif] // Implementazione [!if FULL_SERVER || MINI_SERVER || CONTAINER_SERVER || AUTOMATION] COleTemplateServer m_server; // Oggetto server per la creazione del documento [!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;