// MainFrm.h : CMainFrame Ŭ·¡½ºÀÇ ÀÎÅÍÆäÀ̽º // #pragma once #include "MainSplit.h" #include "LogSplit.h" #include "StateSplit.h" class CFileLogView; class CMainFrame : public CFrameWnd { protected: // serialization¿¡¼­¸¸ ¸¸µé¾îÁý´Ï´Ù. CMainFrame(); DECLARE_DYNCREATE(CMainFrame) // Ư¼ºÀÔ´Ï´Ù. public: // ÀÛ¾÷ÀÔ´Ï´Ù. public: // ÀçÁ¤ÀÇÀÔ´Ï´Ù. public: virtual BOOL PreCreateWindow(CREATESTRUCT& cs); // ±¸ÇöÀÔ´Ï´Ù. public: virtual ~CMainFrame(); #ifdef _DEBUG virtual void AssertValid() const; virtual void Dump(CDumpContext& dc) const; #endif protected: // ÄÁÆ®·Ñ ¸ðÀ½ÀÌ Æ÷ÇÔµÈ ¸â¹öÀÔ´Ï´Ù. CStatusBar m_wndStatusBar; CToolBar m_wndToolBar; // »ý¼ºµÈ ¸Þ½ÃÁö ¸Ê ÇÔ¼ö protected: DECLARE_MESSAGE_MAP() virtual BOOL OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext); afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); public: afx_msg void OnSize(UINT nType, int cx, int cy); afx_msg void OnSysCommand(UINT nID, LPARAM lParam); afx_msg void OnClose(); public: // command afx_msg void OnMenuPatchUrl(); afx_msg void OnMenuLog(); afx_msg void OnMenuExceptionReportToEMail(); afx_msg void OnMenuExceptionReportToClipboard(); afx_msg void OnMenuCommand(); afx_msg void OnMenuLoadConfig(); // view > server view afx_msg void OnMenuWorldView(); afx_msg void OnMenuLauncherView(); public: void BuildView(); void RefreshView(); void RefreshStateView(); public: CMainSplit& GetMainSplit() { return m_MainSplit; } CLogSplit& GetLogSplit() { return m_LogSplit; } CStateSplit& GetStateSplit() { return m_StateSplit; } private: CLogSplit m_LogSplit; CMainSplit m_MainSplit; CStateSplit m_StateSplit; CFileLogView* m_pFileLogView; };