connectionmonitoring/connmon/connectionmonitor/inc/ConnMonBearerWLAN.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Fri, 16 Apr 2010 15:21:37 +0300
changeset 18 fcbbe021d614
parent 0 5a93021fdf25
permissions -rw-r--r--
Revision: 201011 Kit: 201015

/*
* Copyright (c) 2006-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:  Declaration for bearer WLAN.
*
*/

#ifndef CONNMONBEARERWLAN_H
#define CONNMONBEARERWLAN_H

#include "ConnMonBearer.h"

 /**
 * TConnMonBearerWLAN
 * Class declaration for WLAN bearer
 */
class TConnMonBearerWLAN : public TConnMonBearer
    {
public:
    /**
     * Constructor.
     * @param aConnMonIAP Link to IAP services
     */
    TConnMonBearerWLAN( CConnMonIAP* aConnMonIAP, CConnMonCommsDatCache* aCommsDatCache );

public:
    /**
     * Is the bearer available
     * @param aAvailable ETrue if bearer is available
     * @return errorcode
     */
    TInt GetAvailability( TBool& aAvailable ) const;

    /**
     * Bearer ID getter
     *
     * @return bearer ID
     */
    TUint BearerId() const;

    /**
     * Invariant - validates bearer
     *
     * @return ETrue if bearer is valid (internal state is correct)
     */
    TBool Valid() const;

    /**
     * Sets available IAPs of this type as available in CommsDat cache
     */
    void FlagAvailableIaps() const;
    };

#endif // CONNMONBEARERWLAN_H

// End-of-file