#pragma once #ifndef __AFXWIN_H__ #error PCH¿¡¼­ ÀÌ ÆÄÀÏÀ» Æ÷ÇÔÇϱâ Àü¿¡ 'stdafx.h'¸¦ Æ÷ÇÔÇϽʽÿÀ. #endif #include "Resource.h" /// ¾îÇø®ÄÉÀÌ¼Ç class cMapEditorApp : public CWinApp { public: cMapEditorApp(); public: virtual BOOL InitInstance(); const cString& GetBaseDir() const; private: /// ¹ÂÅØ½º °Ë»ç bool CheckMutex(); BOOL OnIdle( LONG count ); public: afx_msg void OnAppAbout(); DECLARE_MESSAGE_MAP() private: /// ±â¹Ý µð·ºÅ丮 cString mBaseDir; }; inline const cString& cMapEditorApp::GetBaseDir() const { return mBaseDir; } extern cMapEditorApp theApp;