controlpanel/controlpanel_plat/inc/cppluginlauncher.h
author hgs
Fri, 14 May 2010 13:29:47 +0800
changeset 37 940f6b67827d
parent 36 48848d132687
child 52 58cebe0861a8
permissions -rw-r--r--
201019
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
31
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
     1
/*
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
     2
* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
     3
* All rights reserved.
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
     4
* This component and the accompanying materials are made available
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
     5
* under the terms of "Eclipse Public License v1.0""
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
     6
* which accompanies this distribution, and is available
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
     7
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
     8
*
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
     9
* Initial Contributors:
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    10
* Nokia Corporation - initial contribution.
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    11
*
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    12
* Contributors:
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    13
*
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    14
* Description:  This class is for loading and display a plugin's view.
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    15
*								This class may dropped, suggest not using it. If you 
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    16
*								want to use it, pls inform us, or check the wiki 
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    17
*								http://s60wiki.nokia.com/S60Wiki/Team_S60_China_SW/Qt_Control_Panel/FAQ
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    18
*
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    19
*/
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    20
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    21
#ifndef CPPLUGINLAUNCHER_H
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    22
#define CPPLUGINLAUNCHER_H
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    23
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    24
#include "cpglobal.h"
36
hgs
parents: 32
diff changeset
    25
#include <QVariant>
31
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    26
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    27
class QString;
37
hgs
parents: 36
diff changeset
    28
class CpBaseSettingView;
31
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    29
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    30
class CP_EXPORT CpPluginLauncher
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    31
{
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    32
public:
37
hgs
parents: 36
diff changeset
    33
	/*  OLD Interface - Deprecated! */
32
hgs
parents: 31
diff changeset
    34
    static bool launchCpPluginView(const QString &pluginFile,int index = 0);
36
hgs
parents: 32
diff changeset
    35
    
37
hgs
parents: 36
diff changeset
    36
    /*  */
hgs
parents: 36
diff changeset
    37
	static CpBaseSettingView* launchSettingView(const QString &pluginFile,const QVariant &hint = QVariant());
31
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    38
};
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    39
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    40
#endif /* CPPLUGINLAUNCHER_H */