homescreenapp/stateplugins/hsapplibrarystateplugin/inc/hsmainwindow.h
changeset 62 341166945d65
parent 51 4785f57bf3d4
child 63 52b0f64eeb51
child 77 4b195f3bea29
--- a/homescreenapp/stateplugins/hsapplibrarystateplugin/inc/hsmainwindow.h	Thu Jun 24 13:11:40 2010 +0100
+++ b/homescreenapp/stateplugins/hsapplibrarystateplugin/inc/hsmainwindow.h	Fri Jun 25 19:19:22 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