--- a/homescreenapp/stateplugins/hsapplibrarystateplugin/inc/hsmainwindow.h Wed Jun 23 18:03:36 2010 +0300
+++ b/homescreenapp/stateplugins/hsapplibrarystateplugin/inc/hsmainwindow.h Tue Jul 06 14:06:53 2010 +0300
@@ -18,15 +18,33 @@
#ifndef HS_MAIN_WINDOW_H
#define HS_MAIN_WINDOW_H
+#include <QObject>
+#include <QPixmap>
+
class HsMenuView;
-class HsMainWindow
+class HsMainWindow: public QObject
{
-
+ Q_OBJECT
+
public:
HsMainWindow();
virtual ~HsMainWindow();
virtual void setCurrentView(const HsMenuView &menuView);
+ virtual QPixmap grabScreenshot();
+
+ public slots:
+ virtual void saveActivity();
+
+ signals:
+ void viewIsReady();
+
+ private:
+ /*
+ * not owned
+ *
+ */
+ QObject* mActivityClient;
};
#endif // HS_MAIN_WINDOW_H