phonesettings/cpphonesettingsplugins/divertplugin/src/cpdivertplugin.cpp
changeset 21 92ab7f8d0eab
child 22 6bb1b21d2484
equal deleted inserted replaced
4:c84cf270c54f 21:92ab7f8d0eab
       
     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     
       
    30     DPRINT;
       
    31 }
       
    32 
       
    33 /*!
       
    34     Destructor of CpDivertPlugin.
       
    35  */
       
    36 CpDivertPlugin::~CpDivertPlugin()
       
    37 {
       
    38     DPRINT;
       
    39 
       
    40     // Uninstall plugin specific msg handler
       
    41     UNINSTALL_TRACE_MSG_HANDLER;
       
    42 }
       
    43 
       
    44 /*!
       
    45     CpDivertPlugin::createSettingFormItemData.
       
    46  */
       
    47 CpSettingFormItemData *CpDivertPlugin::createSettingFormItemData(
       
    48         CpItemDataHelper &itemDataHelper) const
       
    49 {
       
    50     DPRINT;
       
    51     return new CpDivertPluginGroup(itemDataHelper);
       
    52 }
       
    53 
       
    54 Q_EXPORT_PLUGIN2(cpdivertplugin, CpDivertPlugin);