--- /dev/null
+/////////////////////////////////////////\r
+// SimpleApp.h\r
+\r
+#ifndef SIMPLEAPP_H\r
+#define SIMPLEAPP_H\r
+\r
+#include "View.h"\r
+\r
+\r
+// Declaration of the CSimpleRibbonApp class\r
+class CSimpleRibbonApp : public CWinApp\r
+{\r
+public:\r
+ CSimpleRibbonApp();\r
+ virtual ~CSimpleRibbonApp();\r
+ virtual BOOL InitInstance();\r
+ CView& GetView() { return m_View; }\r
+\r
+private:\r
+ CView m_View;\r
+};\r
+\r
+\r
+// returns a reference to the CSimpleRibbonApp object\r
+inline CSimpleRibbonApp& GetSimpleApp() { return *((CSimpleRibbonApp*)GetApp()); }\r
+\r
+\r
+#endif\r