controlpanel/controlpanel_plat/inc/cppluginloader.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Mon, 03 May 2010 12:46:45 +0300
changeset 21 851e19007849
parent 18 e3554c9069b6
child 23 7e4c5a2ff1a2
permissions -rw-r--r--
Revision: 201015 Kit: 201018

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

#ifndef CPPLUGINLOADER_H
#define CPPLUGINLOADER_H

#include <cpglobal.h>
#include <QList>

class QString;
class CpPluginInterface;
class CpLauncherInterface;
class CpPluginPlatInterface;

class CP_EXPORT CpPluginLoader
{
public:
    /* OLD INTERFACES* DPRECATED!!! */
    static CpPluginInterface     *loadCpPlugin(const QString &pluginFile);
    /* OLD INTERFACES* DPRECATED!!! */
    static CpPluginPlatInterface *loadPlatCpPlugin(const QString &pluginFile);
    
    /*NEW INTERFACES*/
    static CpPluginInterface     *loadCpPluginInterface(const QString &pluginFile);
    static CpLauncherInterface   *loadCpLauncherInterface(const QString &pluginFile);
};

#endif /* CPPLUGINLOADER_H */