equal
deleted
inserted
replaced
38 { |
38 { |
39 public: |
39 public: |
40 /** |
40 /** |
41 * Constructor |
41 * Constructor |
42 */ |
42 */ |
43 ContactDetail():contactId(-1),firstName(QString()), |
43 ContactDetail():contactId(-1),displayName(QString()){}; |
44 lastName(QString()){}; |
44 |
45 public: |
45 public: |
46 int contactId; |
46 int contactId; |
47 QString firstName; |
47 QString displayName; |
48 QString lastName; |
|
49 QStringList addressList; |
48 QStringList addressList; |
50 }; |
49 }; |
51 |
50 |
52 class MsgViewManager; |
51 class MsgViewManager; |
53 class MsgServiceInterface : public XQServiceProvider |
52 class MsgServiceInterface : public XQServiceProvider |
80 /** |
79 /** |
81 * called from send UI. |
80 * called from send UI. |
82 */ |
81 */ |
83 void send(QVariant data); |
82 void send(QVariant data); |
84 |
83 |
|
84 /** |
|
85 * Opens the viewer to view the message. |
|
86 * @param msgId message id of the message. |
|
87 */ |
|
88 void view(int msgId); |
|
89 |
85 /** |
90 /** |
86 * depricated api. will be removed in future. |
91 * depricated api. will be removed in future. |
87 */ |
92 */ |
88 void openConversationView(QString number, QString name); |
93 void openConversationView(QString number, QString name); |
89 |
94 |
|
95 /** |
|
96 * send called with prepopulated message body. |
|
97 */ |
|
98 void send(const QString phoneNumber, const QString alias, const QString bodyText); |
|
99 |
90 signals: |
100 signals: |
91 |
101 |
92 private: |
102 private: |
93 //TODO: to be deprecated |
103 //TODO: to be deprecated |
94 bool resolveContact(const ConvergedMessageAddress &address, |
104 bool resolveContact(const ConvergedMessageAddress &address, |