phoneengine/networkhandlingstarter/inc/networkhandlingstarter.h
branchRCL_3
changeset 24 41a7f70b3818
equal deleted inserted replaced
23:40a3f856b14d 24:41a7f70b3818
       
     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 #ifndef NETWORKHANDLINGSTARTER_H
       
    18 #define NETWORKHANDLINGSTARTER_H
       
    19 
       
    20 #include <xqserviceprovider.h>
       
    21 
       
    22 #ifdef BUILD_NETWORKHANDLINGSTARTER
       
    23 #define NETWORKHANDLINGSTARTER_EXPORT Q_DECL_EXPORT
       
    24 #else
       
    25 #define NETWORKHANDLINGSTARTER_EXPORT Q_DECL_IMPORT
       
    26 #endif
       
    27 
       
    28 class NetworkHandlingStarterPrivate;
       
    29 
       
    30 /*!
       
    31     \class NetworkStatusObserver
       
    32  */
       
    33 class NETWORKHANDLINGSTARTER_EXPORT NetworkHandlingStarter
       
    34     : public XQServiceProvider
       
    35 {
       
    36     Q_OBJECT
       
    37     
       
    38 public:
       
    39     
       
    40     NetworkHandlingStarter(QObject *parent = 0);
       
    41     
       
    42     ~NetworkHandlingStarter();
       
    43     
       
    44 public slots:
       
    45     /*!
       
    46         \fn start()
       
    47         
       
    48         This method start networkhandling. It is intended to be used via Qt Highway.
       
    49         
       
    50         Usage example:
       
    51         XQServiceRequest snd("com.nokia.services.networkhandling","start()");
       
    52     */
       
    53     void start();
       
    54     
       
    55 private:
       
    56     
       
    57     NetworkHandlingStarterPrivate* m_privateImpl;
       
    58     
       
    59 };
       
    60 
       
    61 #endif // NETWORKHANDLINGSTARTER_H