Commit before breaking everything
[matches/honours.git] / research / transmission_spectroscopy / TOF / Win32++ / samples / DirectX / src / DXApp.h
diff --git a/research/transmission_spectroscopy/TOF/Win32++/samples/DirectX/src/DXApp.h b/research/transmission_spectroscopy/TOF/Win32++/samples/DirectX/src/DXApp.h
new file mode 100644 (file)
index 0000000..ddaeb67
--- /dev/null
@@ -0,0 +1,27 @@
+//////////////////////////////////////////////////\r
+// DXApp.h\r
+//  Declaration of the CDXApp class\r
+\r
+#ifndef DXAPP_H\r
+#define DXAPP_H\r
+\r
+#include "MainFrm.h"\r
+\r
+\r
+class CDXApp : public CWinApp\r
+{\r
+public:\r
+    CDXApp();\r
+    virtual ~CDXApp() {}\r
+       virtual BOOL InitInstance();\r
+\r
+private:\r
+    CMainFrame m_Frame;\r
+};\r
+\r
+\r
+// returns a reference to the CDXApp object\r
+inline CDXApp& GetDXApp() { return *((CDXApp*)GetApp()); }\r
+\r
+\r
+#endif\r

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