--- /dev/null
+/////////////////////////////////////////\r
+// RibbonApp.h\r
+\r
+#ifndef RIBBONAPP_H\r
+#define RIBBONAPP_H\r
+\r
+#include "MainFrm.h"\r
+\r
+\r
+// Declaration of the CRibbonFrameApp class\r
+class CRibbonFrameApp : public CWinApp\r
+{\r
+public:\r
+ CRibbonFrameApp();\r
+ virtual ~CRibbonFrameApp();\r
+ virtual BOOL InitInstance();\r
+ CMainFrame& GetFrame() { return m_Frame; }\r
+\r
+private:\r
+ CMainFrame m_Frame;\r
+};\r
+\r
+\r
+// returns a reference to the CRibbonFrameApp object\r
+inline CRibbonFrameApp& GetSimpleApp() { return *((CRibbonFrameApp*)GetApp()); }\r
+\r
+\r
+#endif\r