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