controlpanel/controlpanel_plat/inc/cppluginplatinterface.h
changeset 68 13e71d907dc3
parent 40 6465d5bb863a
equal deleted inserted replaced
40:6465d5bb863a 68:13e71d907dc3
     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:  
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef CPPLUGINPLATINTERFACE_H
       
    19 #define CPPLUGINPLATINTERFACE_H
       
    20 
       
    21 #include <QtPlugin>
       
    22 
       
    23 /*!
       
    24 		\deprecated class CpPluginPlatInterface
       
    25     \class CpPluginPlatInterface
       
    26     \brief The class is Deprecated! please use CpPluginInterface instead.
       
    27  */
       
    28 
       
    29 class CpSettingFormItemData;
       
    30 class CpItemDataHelper;
       
    31 
       
    32 class CpPluginPlatInterface
       
    33 {
       
    34 public:
       
    35     /*!
       
    36      Destructor of CpPluginPlatInterface.
       
    37      */
       
    38     virtual ~CpPluginPlatInterface()
       
    39     {
       
    40     }
       
    41     
       
    42     /*!
       
    43     \deprecated CpSettingFormItemData *createSettingFormItemData(CpItemDataHelper &itemDataHelper)
       
    44      Create a data form mode item, by which the control panel framework can build a data form model.
       
    45      */
       
    46     virtual CpSettingFormItemData *createSettingFormItemData(CpItemDataHelper &itemDataHelper) const = 0;
       
    47 };
       
    48 
       
    49 Q_DECLARE_INTERFACE(CpPluginPlatInterface, "com.nokia.plugin.controlpanel.platform.interface/1.0");
       
    50 
       
    51 #endif /* CPPLUGINPLATINTERFACE_H */