diff -r 238255e8b033 -r 84d9eb65b26f messagingapp/msgui/msgapp/inc/msgserviceinterface.h --- a/messagingapp/msgui/msgapp/inc/msgserviceinterface.h Fri Apr 16 14:56:15 2010 +0300 +++ b/messagingapp/msgui/msgapp/inc/msgserviceinterface.h Mon May 03 12:29:07 2010 +0300 @@ -40,12 +40,11 @@ /** * Constructor */ - ContactDetail():contactId(-1),firstName(QString()), - lastName(QString()){}; + ContactDetail():contactId(-1),displayName(QString()){}; + public: int contactId; - QString firstName; - QString lastName; + QString displayName; QStringList addressList; }; @@ -82,11 +81,22 @@ */ void send(QVariant data); + /** + * Opens the viewer to view the message. + * @param msgId message id of the message. + */ + void view(int msgId); + /** * depricated api. will be removed in future. */ void openConversationView(QString number, QString name); - + + /** + * send called with prepopulated message body. + */ + void send(const QString phoneNumber, const QString alias, const QString bodyText); + signals: private: