--- /dev/null
+//////////////////////////////////////////////////\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