controlpanelui/src/cpplugins/personalizationplugin/src/cppersonalizationplugin.h
branchRCL_3
changeset 35 5f281e37a2f5
parent 34 90fe62538f66
child 46 ed95320285d0
equal deleted inserted replaced
34:90fe62538f66 35:5f281e37a2f5
     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 CPPERSONALIZATIONPLUGIN_H
       
    19 #define CPPERSONALIZATIONPLUGIN_H
       
    20 
       
    21 #include <qobject.h>
       
    22 #include <cpplugininterface.h>
       
    23 #include <cplauncherinterface.h>
       
    24 
       
    25 class CpBaseSettingView;
       
    26 class QVariant;
       
    27 
       
    28 class CpPersonalizationPlugin 
       
    29         : public QObject,
       
    30           public CpPluginInterface,
       
    31           public CpLauncherInterface
       
    32 {
       
    33     Q_OBJECT
       
    34     Q_INTERFACES(CpPluginInterface)
       
    35     Q_INTERFACES(CpLauncherInterface)
       
    36 public:
       
    37     CpPersonalizationPlugin();
       
    38     virtual ~CpPersonalizationPlugin();
       
    39     virtual QList<CpSettingFormItemData*> createSettingFormItemData(CpItemDataHelper &itemDataHelper) const;
       
    40     virtual CpBaseSettingView *createSettingView(const QVariant &hint) const;
       
    41 };
       
    42 
       
    43 #endif /* CPPERSONALIZATIONPLUGIN_H */
       
    44 
       
    45