phonesettings/cpphonesettingsplugins/telephonyplugin/src/cptelephonyplugin.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 
       
    18 #include <cpsettingformentryitemdataimpl.h>
       
    19 #include <cpitemdatahelper.h>
       
    20 #include "cptelephonyplugin.h"
       
    21 #include "cptelephonypluginview.h"
       
    22 #include "cppluginlogging.h"
       
    23 
       
    24 CpTelephonyPlugin::CpTelephonyPlugin() : QObject(0)
       
    25 {
       
    26     // Install plugin specific msg handler
       
    27     INSTALL_TRACE_MSG_HANDLER;  
       
    28 
       
    29     DPRINT; 
       
    30 }
       
    31 
       
    32 CpTelephonyPlugin::~CpTelephonyPlugin()
       
    33 {
       
    34     DPRINT; 
       
    35 
       
    36     // Uninstall plugin specific msg handler
       
    37     UNINSTALL_TRACE_MSG_HANDLER; 
       
    38 }
       
    39 
       
    40 CpSettingFormItemData *CpTelephonyPlugin::createSettingFormItemData(
       
    41     CpItemDataHelper &itemDataHelper) const
       
    42 {
       
    43     DPRINT;
       
    44     return new CpSettingFormEntryItemDataImpl<CpTelephonyPluginView>(
       
    45             itemDataHelper, hbTrId("Telephony"), hbTrId(""));
       
    46 }
       
    47 
       
    48 Q_EXPORT_PLUGIN2(cptelephonyplugin, CpTelephonyPlugin);
       
    49 
       
    50 
       
    51 // End of File.