controlpanel/controlpanel_plat/inc/cppluginplatinterface.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Thu, 27 May 2010 13:08:28 +0300
changeset 26 5fd52a2e21b0
parent 23 7e4c5a2ff1a2
permissions -rw-r--r--
Revision: 201019 Kit: 2010121

/*
* 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 CPPLUGINPLATINTERFACE_H
#define CPPLUGINPLATINTERFACE_H

#include <QtPlugin>

/*!
		\deprecated class CpPluginPlatInterface
    \class CpPluginPlatInterface
    \brief The class is Deprecated! please use CpPluginInterface instead.
 */

class CpSettingFormItemData;
class CpItemDataHelper;

class CpPluginPlatInterface
{
public:
    /*!
     Destructor of CpPluginPlatInterface.
     */
    virtual ~CpPluginPlatInterface()
    {
    }
    
    /*!
    \deprecated CpSettingFormItemData *createSettingFormItemData(CpItemDataHelper &itemDataHelper)
     Create a data form mode item, by which the control panel framework can build a data form model.
     */
    virtual CpSettingFormItemData *createSettingFormItemData(CpItemDataHelper &itemDataHelper) const = 0;
};

Q_DECLARE_INTERFACE(CpPluginPlatInterface, "com.nokia.plugin.controlpanel.platform.interface/1.0");

#endif /* CPPLUGINPLATINTERFACE_H */