phonesettings/cpphonesettingsplugins/cpnetworkplugin/src/cpnetworkplugin.h
changeset 37 ba76fc04e6c2
child 45 6b911d05207e
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 
       
    18 #ifndef CPNETWORKPLUGIN_H
       
    19 #define CPNETWORKPLUGIN_H
       
    20 
       
    21 #include <qobject.h>
       
    22 #include <cpplugininterface.h>
       
    23 #include "cpphonelocalisation.h"
       
    24 
       
    25 
       
    26 class CpNetworkPlugin : public QObject, public CpPluginInterface
       
    27 {
       
    28     Q_OBJECT
       
    29     Q_INTERFACES(CpPluginInterface)
       
    30     
       
    31 public:
       
    32     
       
    33     CpNetworkPlugin();
       
    34     
       
    35     ~CpNetworkPlugin();
       
    36     
       
    37     /**
       
    38      * From CpPluginInterface
       
    39      * @see CpPluginInterface.
       
    40      */
       
    41     QList<CpSettingFormItemData*> createSettingFormItemData(
       
    42         CpItemDataHelper &itemDataHelper) const;
       
    43 
       
    44 private:
       
    45     
       
    46     QScopedPointer<CpPhoneLocalisation> m_localisation; 
       
    47 };
       
    48 
       
    49 #endif  // CPNETWORKPLUGIN_H