equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: Message Application service interface used for interfacing between |
|
15 * QT highway and other applications |
|
16 * |
|
17 */ |
|
18 |
|
19 #ifndef __MSG_URIHANDLERINTERFACE_H__ |
|
20 #define __MSG_URIHANDLERINTERFACE_H__ |
|
21 |
|
22 #include <xqserviceprovider.h> |
|
23 #include <QVariant> |
|
24 #include <convergedmessage.h> |
|
25 |
|
26 class MsgServiceViewManager; |
|
27 |
|
28 class MsgUriHandlerInterface : public XQServiceProvider |
|
29 { |
|
30 Q_OBJECT |
|
31 |
|
32 public: |
|
33 /* |
|
34 * Constructor |
|
35 */ |
|
36 MsgUriHandlerInterface(MsgServiceViewManager* viewManager, QObject* parent=0); |
|
37 |
|
38 /* |
|
39 * Destructor |
|
40 */ |
|
41 ~MsgUriHandlerInterface(); |
|
42 |
|
43 public slots: |
|
44 |
|
45 bool view(const QString& uri); |
|
46 |
|
47 private: |
|
48 |
|
49 void normalizeQueryItems(QUrl &url); |
|
50 |
|
51 void addRecipients(ConvergedMessage &message, const QString &recipientsList); |
|
52 |
|
53 private: |
|
54 |
|
55 MsgServiceViewManager* viewManager; |
|
56 |
|
57 }; |
|
58 |
|
59 #endif /* __MSG_URIHANDLERINTERFACE_H__ */ |