messagingapp/msgservices/msgserviceapp/inc/msgserviceviewmanager.h
changeset 70 a15d9966050f
parent 52 12db4185673b
child 72 6f657153cbc5
--- a/messagingapp/msgservices/msgserviceapp/inc/msgserviceviewmanager.h	Thu Sep 02 20:23:03 2010 +0300
+++ b/messagingapp/msgservices/msgserviceapp/inc/msgserviceviewmanager.h	Fri Sep 17 08:28:39 2010 +0300
@@ -22,6 +22,7 @@
 #include <QObject>
 #include <QVariant>
 #include <HbEffect>
+#include <convergedmessage.h>
 
 class QGraphicsItem;
 class QGraphicsPixmapItem;
@@ -83,13 +84,25 @@
      * @param data data to be sent.
      */
     void send(QVariant data);
-
+	
+    /**
+     * Send message.
+     */
+    void send(ConvergedMessage message);
+	
     /**
      * Opens the viewer to view the message.
      * @param msgId message id of the message.
      */
     void view(int msgId);
 
+    /**
+     * Handles the HW key events.
+     * @param key key type.
+     * @return true if key event handled else false.
+     */
+    bool handleKeyEvent(int key);
+
 private:
     /*
      * Switch to unieditor.