--- /dev/null
+//////////////////////////////////////////////////\r
+// PictureApp.h\r
+\r
+#ifndef PICTUREAPP_H\r
+#define PICTUREAPP_H\r
+\r
+\r
+#include "Mainfrm.h"\r
+\r
+\r
+// Declaration of the CPictureApp class\r
+class CPictureApp : public CWinApp\r
+{\r
+public:\r
+ CPictureApp();\r
+ virtual ~CPictureApp();\r
+ virtual BOOL InitInstance();\r
+ CMainFrame& GetMainFrame() { return m_Frame; }\r
+\r
+private:\r
+ CMainFrame m_Frame;\r
+};\r
+\r
+\r
+// returns a reference to the CPictureApp object\r
+inline CPictureApp& GetPicApp() { return *((CPictureApp*)GetApp()); }\r
+\r
+\r
+#endif // define PICTUREAPP_H\r
+\r