phonesettings/cpphonesettingsplugins/divertplugin/src/cpdivertplugin.cpp
changeset 37 ba76fc04e6c2
child 51 f39ed5e045e0
equal deleted inserted replaced
36:2eacb6118286 37:ba76fc04e6c2
       
     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 #include <cpsettingformentryitemdataimpl.h>
       
    18 #include "cpdivertplugin.h"
       
    19 #include "cpdivertplugingroup.h"
       
    20 #include "cppluginlogging.h"
       
    21 
       
    22 /*!
       
    23     Constructor of CpDivertPlugin.
       
    24  */
       
    25 CpDivertPlugin::CpDivertPlugin()
       
    26 {
       
    27     // Install plugin specific msg handler
       
    28     INSTALL_TRACE_MSG_HANDLER;
       
    29     DPRINT;
       
    30 }
       
    31 
       
    32 /*!
       
    33     Destructor of CpDivertPlugin.
       
    34  */
       
    35 CpDivertPlugin::~CpDivertPlugin()
       
    36 {
       
    37     DPRINT;
       
    38 
       
    39     // Uninstall plugin specific msg handler
       
    40     UNINSTALL_TRACE_MSG_HANDLER;
       
    41 }
       
    42 
       
    43 /*!
       
    44     CpDivertPlugin::createSettingFormItemData.
       
    45  */
       
    46 QList<CpSettingFormItemData*> CpDivertPlugin::createSettingFormItemData(
       
    47         CpItemDataHelper &itemDataHelper) const
       
    48 {
       
    49     DPRINT;
       
    50     QList<CpSettingFormItemData*> ret;
       
    51     ret.append(new CpDivertPluginGroup(itemDataHelper));
       
    52     return ret;
       
    53 }
       
    54 
       
    55 Q_EXPORT_PLUGIN2(cpdivertplugin, CpDivertPlugin);