controlpanelui/src/cpplugins/volumeplugin/src/cpvolumeplugin.cpp
branchRCL_3
changeset 13 90fe62538f66
equal deleted inserted replaced
12:3fec62e6e7fc 13:90fe62538f66
       
     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 #include "cpvolumeplugin.h"
       
    19 #include "cpvolumegroupitemdata.h"
       
    20 #include <cpitemdatahelper.h>
       
    21 
       
    22 CpVolumePlugin::CpVolumePlugin()
       
    23 {
       
    24 }
       
    25 
       
    26 CpVolumePlugin::~CpVolumePlugin()
       
    27 {
       
    28 }
       
    29 
       
    30 QList<CpSettingFormItemData*> CpVolumePlugin::createSettingFormItemData(CpItemDataHelper &itemDataHelper) const
       
    31 {
       
    32     
       
    33     CpVolumeGroupItemData *volumeGroupItem = new CpVolumeGroupItemData(itemDataHelper);
       
    34 
       
    35     return QList<CpSettingFormItemData*>() << volumeGroupItem ;
       
    36 }
       
    37 
       
    38 Q_EXPORT_PLUGIN2(cpvolumeplugin, CpVolumePlugin);
       
    39 
       
    40