diff -r 63be7eb3fc78 -r f28ada11abbf wlanutilities/wlanlogin/wlanloginapp/inc/wlanloginservice.h --- a/wlanutilities/wlanlogin/wlanloginapp/inc/wlanloginservice.h Tue Aug 31 16:18:40 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,71 +0,0 @@ -/* -* Copyright (c) 2010 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: -* Wlan login QtHighway Service. -*/ - -#ifndef WLANLOGINSERVICE_H -#define WLANLOGINSERVICE_H - -// System includes -#include -#include -// User includes - -// Forward declarations - -// External data types - -// Constants - -// Class declaration -class WlanLoginService: public XQServiceProvider -{ - Q_OBJECT - -public: - // Data types - - /*! - Enumeration for WLAN Login application service request return values - */ - enum WlanLoginStatus { - WlanLoginStatusNone = 0, //!< No status - WlanLoginStatusCancel, //!< User cancel - WlanLoginStatusNext, //!< Proceed to next phase - WlanLoginStatusConnectionDropped, //!< WLAN connection dropped during login - WlanLoginStatusFailed //!< Login process failed - }; - - explicit WlanLoginService(QObject *parent = 0); - ~WlanLoginService(); - -signals: - - void startLogin(int iapId, int netId, QUrl url); - void stopLogin(); - -public slots: - - void start(int iapId, int netId, QUrl url); - void stop(); - void completeServiceRequest(int status); - -private: - - QVariant mReturnValue; //!< Return value deliverd to back to entry - int mAsyncRequestIndex; //!< Service request ID -}; - -#endif //WLANLOGINSERVICE_H