31
|
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 class is for loading and display a plugin's view.
|
|
15 |
* This class may dropped, suggest not using it. If you
|
|
16 |
* want to use it, pls inform us, or check the wiki
|
|
17 |
* http://s60wiki.nokia.com/S60Wiki/Team_S60_China_SW/Qt_Control_Panel/FAQ
|
|
18 |
*
|
|
19 |
*/
|
|
20 |
|
|
21 |
#ifndef CPPLUGINLAUNCHER_H
|
|
22 |
#define CPPLUGINLAUNCHER_H
|
|
23 |
|
|
24 |
#include "cpglobal.h"
|
36
|
25 |
#include <QVariant>
|
31
|
26 |
|
|
27 |
class QString;
|
37
|
28 |
class CpBaseSettingView;
|
31
|
29 |
|
|
30 |
class CP_EXPORT CpPluginLauncher
|
|
31 |
{
|
|
32 |
public:
|
37
|
33 |
/* OLD Interface - Deprecated! */
|
32
|
34 |
static bool launchCpPluginView(const QString &pluginFile,int index = 0);
|
36
|
35 |
|
37
|
36 |
/* */
|
|
37 |
static CpBaseSettingView* launchSettingView(const QString &pluginFile,const QVariant &hint = QVariant());
|
31
|
38 |
};
|
|
39 |
|
|
40 |
#endif /* CPPLUGINLAUNCHER_H */
|