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