diff -r 63be7eb3fc78 -r f28ada11abbf wlanutilities/wlansniffer/wlansnifferkeepalive/inc/wsfkeepaliveconnmondisc.h --- a/wlanutilities/wlansniffer/wlansnifferkeepalive/inc/wsfkeepaliveconnmondisc.h Tue Aug 31 16:18:40 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,91 +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: - * Connection Monitor disconnect interface implementation. - */ - -#ifndef WSFKEEPALIVECONNMONDISC_H -#define WSFKEEPALIVECONNMONDISC_H - -// System includes - -#include - -// User includes - -// Forward declarations - -class RConnectionMonitor; - -// External data types - -// Global function prototypes - -// Constants - -// Class declaration - -/** - * Connection Monitor disconnect interface implementation. - * - * This class uses the Connection Monitor interface to disconnect - * connections regardless of the amount of users for the connection. - */ -class CWsfKeepaliveConnMonDisc : public CBase - { - // Friend classes: - -public: - - // Data types - - /** Constructors */ - - /** - * Two-phased constructor. - * - * @return New object allocated from heap - */ - static CWsfKeepaliveConnMonDisc* NewL(); - - /**> Destructor */ - virtual ~CWsfKeepaliveConnMonDisc(); - -public: - - /** - * Disconnects the given connection regardless of the amount of - * users for the connection. - * - * @param aConnectionId ID of the connection to disconnect - */ - void Disconnect( TUint aConnectionId ); - -protected: - -private: - - CWsfKeepaliveConnMonDisc(); - - void ConstructL(); - -private: // Data - - /** - * Handle to Connection Monitor Server - */ - RConnectionMonitor iMonitor; - }; - -#endif // WSFKEEPALIVECONNMONDISC_H