locationsystemui/locationsysui/possettings/possettingsengine/inc/possettingspluginsloader.h
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:Declaration of the Positioning Settings PLugins loader |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef PosSettingsPluginsLoader_H |
|
19 #define PosSettingsPluginsLoader_H |
|
20 |
|
21 #include "possettingsadvinterface.h" |
|
22 |
|
23 #include <QObject> |
|
24 #include <e32cmn.h> |
|
25 |
|
26 class PosSettingsPluginsLoader |
|
27 { |
|
28 |
|
29 public: |
|
30 /** |
|
31 * Constructor |
|
32 */ |
|
33 PosSettingsPluginsLoader(); |
|
34 /** |
|
35 * Destructor |
|
36 */ |
|
37 ~PosSettingsPluginsLoader(); |
|
38 /* |
|
39 * Detects & loads the plugins that implement the |
|
40 * PosSettingsAdvInterface class |
|
41 */ |
|
42 QList<PosSettingsAdvInterface*> loadPlugins(); |
|
43 private: |
|
44 /** |
|
45 * Reads the cenrep key value to obtain the default order in which |
|
46 * the positioning settings plugins need to be loaded. |
|
47 */ |
|
48 void ParseCenRepKey(); |
|
49 |
|
50 private: |
|
51 /** |
|
52 * Contains list of plugin's dll name in the order in which it |
|
53 * is supposed to be displayed in the advanced view |
|
54 */ |
|
55 QList<QString> mDllNameList; |
|
56 |
|
57 |
|
58 }; |
|
59 |
|
60 #endif //PosSettingsPluginsLoader_H |