controlpanel/controlpanel_plat/inc/cppluginlauncher.h
author hgs
Fri, 16 Apr 2010 11:40:46 +0800
changeset 36 48848d132687
parent 32 20bd089f4aaa
child 37 940f6b67827d
permissions -rw-r--r--
201015

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

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

#endif /* CPPLUGINLAUNCHER_H */