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: This static utility class handles all contacts & phbk |
|
15 * services related common functions for UI modules. |
|
16 * |
|
17 */ |
|
18 |
|
19 #ifndef MSGCONTACTSUTIL_H_ |
|
20 #define MSGCONTACTSUTIL_H_ |
|
21 |
|
22 #ifdef BUILD_MSGUI_UTILS_DLL |
|
23 #define MSGUI_UTILS_DLL_EXPORT Q_DECL_EXPORT |
|
24 #else |
|
25 #define MSGUI_UTILS_DLL_EXPORT Q_DECL_IMPORT |
|
26 #endif |
|
27 |
|
28 /** |
|
29 * static utility class to handle contacts related common functionality |
|
30 * for UI modules |
|
31 */ |
|
32 class MSGUI_UTILS_DLL_EXPORT MsgContactsUtil |
|
33 { |
|
34 |
|
35 public: |
|
36 static bool launchVCardViewer(const QString& filepath); |
|
37 |
|
38 private: |
|
39 static QString copyVCardToTemp(const QString& filepath); |
|
40 static void deleteVCardFromTemp(const QString& filepath); |
|
41 }; |
|
42 |
|
43 #endif /* MSGCONTACTSUTIL_H_ */ |