diff -r 63be7eb3fc78 -r f28ada11abbf hotspotfw/hsbrowser/inc/hsbrowserhssrvnotifs.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/hotspotfw/hsbrowser/inc/hsbrowserhssrvnotifs.h Wed Sep 01 12:20:32 2010 +0100 @@ -0,0 +1,90 @@ +/* +* Copyright (c) 2007 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: Implements notifications interface from Hotspot server in order +* to receive wlan connection closed notification. +* +*/ + + + +#ifndef HSBROWSERHSSRVNOTIFS_H +#define HSBROWSERHSSRVNOTIFS_H + +// INCLUDES +#include +#include +#include "hsssrvnotifications.h" +#include +#include + +// FORWARD DECLARATION +class CHsBrowserContainer; + +// CLASS DECLARATION +/** +* CHsBrowserHsSrvNotifs class. +* Class implements notifications interface for Hotspot server in order +* to receive wlan connection closed notification. +*/ +class CHsBrowserHsSrvNotifs : public CBase, public MWlanMgmtNotifications + { + + public: // Constructors and destructor + + /** + * Two-phased constructor. + * + * @param aContainer Pointer to container of browser application + */ + static CHsBrowserHsSrvNotifs* NewL( CHsBrowserContainer* aContainer ); + + /** + * Destructor. + */ + ~CHsBrowserHsSrvNotifs(); + + public: // from MWlanMgmtNotifications + + /** + * Connection state has changed . + */ + virtual void ConnectionStateChanged( TWlanConnectionMode aNewState ); + + + private: + + /** + * C++ default constructor. + * + * @param aContainer Pointer to container of browser application. + */ + CHsBrowserHsSrvNotifs( CHsBrowserContainer* aContainer ); + + /** + * By default Symbian 2nd phase constructor is private. + */ + void ConstructL(); + + private: + + /** + * Container of hotspot browser application. + */ + CHsBrowserContainer* iContainer; + }; + +#endif // HSBROWSERHSSRVNOTIFS_H + +// End of File +