controlpanel/controlpanel_plat/inc/cppluginlauncher.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Fri, 14 May 2010 16:07:47 +0300
changeset 23 7e4c5a2ff1a2
parent 21 851e19007849
child 56 d9e9413f30c9
permissions -rw-r--r--
Revision: 201017 Kit: 201019

/*
* 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 */