equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2009 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: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef BTMSGVIEWER_H |
|
20 #define BTMSGVIEWER_H |
|
21 |
|
22 #include <xqserviceprovider.h> |
|
23 #include <hbview.h> |
|
24 #include <xqappmgr.h> |
|
25 |
|
26 #include "btmsgviewerutils.h" |
|
27 |
|
28 |
|
29 class BTMsgViewer : public XQServiceProvider |
|
30 { |
|
31 Q_OBJECT |
|
32 |
|
33 public: |
|
34 BTMsgViewer (QObject* parent=0 ); |
|
35 ~BTMsgViewer (); |
|
36 |
|
37 public slots: |
|
38 void displaymsg(int messageId); |
|
39 |
|
40 private: |
|
41 bool isError(int aError); |
|
42 QString copyVCardToTemp(const QString& filepath); |
|
43 void deleteVCardFromTemp(const QString& filepath); |
|
44 |
|
45 private: |
|
46 int mCurrentRequestIndex; |
|
47 }; |
|
48 |
|
49 #endif // BTMSGVIEWER_H |