--- /dev/null
+//////////////////////////////////////////////////\r
+// ExplorerApp.h\r
+// Declaration of the CExplorerApp class\r
+\r
+#ifndef EXPLORERAPP_H\r
+#define EXPLORERAPP_H\r
+\r
+\r
+#include "Mainfrm.h"\r
+\r
+\r
+class CExplorerApp : public CWinApp\r
+{\r
+public:\r
+ CExplorerApp();\r
+ virtual ~CExplorerApp();\r
+ virtual BOOL InitInstance();\r
+ CMainFrame& GetMainFrame() { return m_Frame; }\r
+\r
+private:\r
+ CMainFrame m_Frame;\r
+};\r
+\r
+// returns a reference to the CExplorerApp object\r
+inline CExplorerApp& GetExplorerApp() { return *((CExplorerApp*)GetApp()); }\r
+\r
+\r
+#endif //EXPLORERAPP_H\r
+\r