phoneengine/networkhandlingstarter/inc/networkhandlingstarter.h
author Shabe Razvi <shaber@symbian.org>
Wed, 15 Sep 2010 17:56:16 +0100
changeset 75 949d9e5675bf
parent 27 2f8f8080a020
permissions -rw-r--r--
Make CPEClientServices destructor more resilient (Bug 3706)

/*
 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
 * All rights reserved.
 * This component and the accompanying materials are made available
 * under the terms of "Eclipse Public License v1.0"
 * which accompanies this distribution, and is available
 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
 *
 * Initial Contributors:
 * Nokia Corporation - initial contribution.
 *
 * Contributors:
 *
 * Description:  
 *
 */
#ifndef NETWORKHANDLINGSTARTER_H
#define NETWORKHANDLINGSTARTER_H

#include <xqserviceprovider.h>

#ifdef BUILD_NETWORKHANDLINGSTARTER
#define NETWORKHANDLINGSTARTER_EXPORT Q_DECL_EXPORT
#else
#define NETWORKHANDLINGSTARTER_EXPORT Q_DECL_IMPORT
#endif

class NetworkHandlingStarterPrivate;

/*!
    \class NetworkStatusObserver
 */
class NETWORKHANDLINGSTARTER_EXPORT NetworkHandlingStarter
    : public XQServiceProvider
{
    Q_OBJECT
    
public:
    
    NetworkHandlingStarter(QObject *parent = 0);
    
    ~NetworkHandlingStarter();
    
public slots:
    /*!
        \fn start()
        
        This method start networkhandling. It is intended to be used via Qt Highway.
        
        Usage example:
        XQServiceRequest snd("com.nokia.services.networkhandling","start()");
    */
    void start();
    
private:
    
    NetworkHandlingStarterPrivate* m_privateImpl;
    
};

#endif // NETWORKHANDLINGSTARTER_H