controlpanel/controlpanel_plat/inc/cppluginlauncher.h
author hgs
Tue, 25 May 2010 04:13:06 +0800
changeset 38 5a264aaf7677
parent 37 940f6b67827d
child 52 58cebe0861a8
permissions -rw-r--r--
201019_01

/*
* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0""
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:  This class is for loading and display a plugin's view.
*								This class may dropped, suggest not using it. If you 
*								want to use it, pls inform us, or check the wiki 
*								http://s60wiki.nokia.com/S60Wiki/Team_S60_China_SW/Qt_Control_Panel/FAQ
*
*/

#ifndef CPPLUGINLAUNCHER_H
#define CPPLUGINLAUNCHER_H

#include "cpglobal.h"
#include <QVariant>

class QString;
class CpBaseSettingView;

class CP_EXPORT CpPluginLauncher
{
public:
	/*  OLD Interface - Deprecated! */
    static bool launchCpPluginView(const QString &pluginFile,int index = 0);
    
    /*  */
	static CpBaseSettingView* launchSettingView(const QString &pluginFile,const QVariant &hint = QVariant());
};

#endif /* CPPLUGINLAUNCHER_H */