messagingapp/msgservices/msgserviceapp/inc/msgserviceviewmanager.h
changeset 70 a15d9966050f
parent 52 12db4185673b
child 72 6f657153cbc5
equal deleted inserted replaced
61:8ba0afbb4637 70:a15d9966050f
    20 #define MSGSERVICEVIEWMANAGER_H_
    20 #define MSGSERVICEVIEWMANAGER_H_
    21 
    21 
    22 #include <QObject>
    22 #include <QObject>
    23 #include <QVariant>
    23 #include <QVariant>
    24 #include <HbEffect>
    24 #include <HbEffect>
       
    25 #include <convergedmessage.h>
    25 
    26 
    26 class QGraphicsItem;
    27 class QGraphicsItem;
    27 class QGraphicsPixmapItem;
    28 class QGraphicsPixmapItem;
    28 class HbMainWindow;
    29 class HbMainWindow;
    29 class MsgUnifiedEditorView;
    30 class MsgUnifiedEditorView;
    81     /**
    82     /**
    82      * Send message.
    83      * Send message.
    83      * @param data data to be sent.
    84      * @param data data to be sent.
    84      */
    85      */
    85     void send(QVariant data);
    86     void send(QVariant data);
    86 
    87 	
       
    88     /**
       
    89      * Send message.
       
    90      */
       
    91     void send(ConvergedMessage message);
       
    92 	
    87     /**
    93     /**
    88      * Opens the viewer to view the message.
    94      * Opens the viewer to view the message.
    89      * @param msgId message id of the message.
    95      * @param msgId message id of the message.
    90      */
    96      */
    91     void view(int msgId);
    97     void view(int msgId);
       
    98 
       
    99     /**
       
   100      * Handles the HW key events.
       
   101      * @param key key type.
       
   102      * @return true if key event handled else false.
       
   103      */
       
   104     bool handleKeyEvent(int key);
    92 
   105 
    93 private:
   106 private:
    94     /*
   107     /*
    95      * Switch to unieditor.
   108      * Switch to unieditor.
    96      * @param editorData editor data.
   109      * @param editorData editor data.