Commit before breaking everything
[matches/honours.git] / research / transmission_spectroscopy / TOF / Win32++ / samples / Themes / src / ThemesApp.h
diff --git a/research/transmission_spectroscopy/TOF/Win32++/samples/Themes/src/ThemesApp.h b/research/transmission_spectroscopy/TOF/Win32++/samples/Themes/src/ThemesApp.h
new file mode 100644 (file)
index 0000000..b11cd92
--- /dev/null
@@ -0,0 +1,29 @@
+//////////////////////////////////////////////////\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

UCC git Repository :: git.ucc.asn.au