controlpanel/controlpanel_plat/inc/cppluginlauncher.h
changeset 55 4c15d9aa2384
parent 47 dbe66a66f6a9
child 62 531951b2e59a
equal deleted inserted replaced
47:dbe66a66f6a9 55:4c15d9aa2384
     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"
       
    25 #include <QVariant>
       
    26 
       
    27 class QString;
       
    28 class CpBaseSettingView;
       
    29 
       
    30 class CP_EXPORT CpPluginLauncher
       
    31 {
       
    32 public:
       
    33 	/*  OLD Interface - Deprecated! */
       
    34     static bool launchCpPluginView(const QString &pluginFile,int index = 0);
       
    35     
       
    36     /*  */
       
    37 	static CpBaseSettingView* launchSettingView(const QString &pluginFile,const QVariant &hint = QVariant());
       
    38 };
       
    39 
       
    40 #endif /* CPPLUGINLAUNCHER_H */