controlpanel/controlpanel_plat/inc/cppluginplatinterface.h
author hgs
Fri, 25 Jun 2010 17:09:30 +0800
changeset 40 6465d5bb863a
parent 38 5a264aaf7677
permissions -rw-r--r--
201025
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
31
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
     1
/*
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
     2
* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
     3
* All rights reserved.
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
     4
* This component and the accompanying materials are made available
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
     5
* under the terms of "Eclipse Public License v1.0""
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
     6
* which accompanies this distribution, and is available
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
     7
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
     8
*
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
     9
* Initial Contributors:
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    10
* Nokia Corporation - initial contribution.
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    11
*
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    12
* Contributors:
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    13
*
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    14
* Description:  
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    15
*
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    16
*/
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    17
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    18
#ifndef CPPLUGINPLATINTERFACE_H
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    19
#define CPPLUGINPLATINTERFACE_H
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    20
36
hgs
parents: 31
diff changeset
    21
#include <QtPlugin>
31
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    22
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    23
/*!
38
5a264aaf7677 201019_01
hgs
parents: 37
diff changeset
    24
		\deprecated class CpPluginPlatInterface
31
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    25
    \class CpPluginPlatInterface
37
hgs
parents: 36
diff changeset
    26
    \brief The class is Deprecated! please use CpPluginInterface instead.
31
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    27
 */
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    28
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    29
class CpSettingFormItemData;
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    30
class CpItemDataHelper;
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    31
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    32
class CpPluginPlatInterface
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    33
{
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    34
public:
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    35
    /*!
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    36
     Destructor of CpPluginPlatInterface.
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    37
     */
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    38
    virtual ~CpPluginPlatInterface()
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    39
    {
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    40
    }
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    41
    
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    42
    /*!
38
5a264aaf7677 201019_01
hgs
parents: 37
diff changeset
    43
    \deprecated CpSettingFormItemData *createSettingFormItemData(CpItemDataHelper &itemDataHelper)
31
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    44
     Create a data form mode item, by which the control panel framework can build a data form model.
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    45
     */
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    46
    virtual CpSettingFormItemData *createSettingFormItemData(CpItemDataHelper &itemDataHelper) const = 0;
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    47
};
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    48
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    49
Q_DECLARE_INTERFACE(CpPluginPlatInterface, "com.nokia.plugin.controlpanel.platform.interface/1.0");
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    50
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    51
#endif /* CPPLUGINPLATINTERFACE_H */