coreapplicationuis/Rfs/Plugins/cprfsplugin/src/cprfsplugin.cpp
changeset 21 c4cbaa4fb734
child 51 50b444048a8d
child 56 11a052f4b02e
equal deleted inserted replaced
0:2e3d3ce01487 21:c4cbaa4fb734
       
     1 /*
       
     2  * Copyright (c) 2010 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:  Creates the plug-in to the control panel.Creates a setting form 
       
    15  * item data, by which the control panel framework can build a setting form model 
       
    16  *
       
    17  */
       
    18 #include "cprfsplugin.h"
       
    19 #include "cprfsview.h"
       
    20 #include <cpsettingformentryitemdataimpl.h>
       
    21 #include <cpitemdatahelper.h>
       
    22 
       
    23 CpRfsPlugin::CpRfsPlugin()
       
    24     {
       
    25     }
       
    26 
       
    27 CpRfsPlugin::~CpRfsPlugin()
       
    28     {
       
    29     }
       
    30 CpSettingFormItemData *CpRfsPlugin::createSettingFormItemData(CpItemDataHelper &itemDataHelper) const
       
    31     {
       
    32     return new CpSettingFormEntryItemDataImpl<CpRfsView>(itemDataHelper,tr("Restore Factory Settings"));
       
    33     }
       
    34 
       
    35 Q_EXPORT_PLUGIN2(cprfsplugin, CpRfsPlugin);