Commit before breaking everything
[matches/honours.git] / research / transmission_spectroscopy / TOF / Win32++ / samples / Performance / src / PerfApp.h
diff --git a/research/transmission_spectroscopy/TOF/Win32++/samples/Performance/src/PerfApp.h b/research/transmission_spectroscopy/TOF/Win32++/samples/Performance/src/PerfApp.h
new file mode 100644 (file)
index 0000000..ef6e7ab
--- /dev/null
@@ -0,0 +1,30 @@
+//////////////////////////////////////////////////\r
+// PerfApp.h\r
+//  Declaration of the CPerformanceApp class\r
+\r
+#ifndef PERFAPP_H\r
+#define PERFAPP_H\r
+\r
+\r
+#include "MainWnd.h"\r
+\r
+\r
+class CPerformanceApp : public CWinApp\r
+{\r
+public:\r
+       CPerformanceApp();\r
+       virtual ~CPerformanceApp();\r
+       virtual BOOL InitInstance();\r
+       CMainWindow& GetMainWnd() {return m_MainWnd;}\r
+\r
+private:\r
+       CMainWindow m_MainWnd;  \r
+};\r
+\r
+\r
+// returns a reference to the CPerformanceApp object\r
+inline CPerformanceApp& GetPerfApp() { return *((CPerformanceApp*)GetApp()); }\r
+\r
+\r
+#endif  //PERFAPP_H\r
+\r

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