bluetoothcommsprofiles/btpan/bnep/MPanDeviceOwner.h
changeset 0 29b1cd4cb562
equal deleted inserted replaced
-1:000000000000 0:29b1cd4cb562
       
     1 // Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 /**
       
    17  @file
       
    18  @internalComponent
       
    19 */
       
    20 
       
    21 #ifndef __MPANDEVICEOWNER_H
       
    22 #define __MPANDEVICEOWNER_H 
       
    23 
       
    24 #include <bttypes.h>
       
    25 #include "pancommon.h"
       
    26 
       
    27 class MPanDevice;
       
    28 class RBnepFrame;
       
    29 
       
    30 class MPanDeviceOwner : public MBnepConnectionManager  
       
    31     {
       
    32     /**
       
    33        Upcall interface from MPanDevice.
       
    34        Concrete implementation is generally only by the bridge, but can
       
    35        be used for testing purposes.
       
    36     */
       
    37 
       
    38 public:
       
    39     virtual TInt AttachDevice (MPanDevice& aDevice) = 0;
       
    40     virtual const TBTDevAddr& DefaultAddress () const = 0;
       
    41     virtual void LinkGoingDown (MPanDevice& aDevice) = 0;
       
    42 	virtual void RemoteDeviceReady() = 0;
       
    43 	virtual TInt Process (RBnepFrame& aPacket, const TBTDevAddr& aSourceIfAddr) = 0;
       
    44     virtual void StopLinks () = 0;
       
    45     virtual void DataCountUpdated() = 0;
       
    46     };
       
    47 
       
    48 
       
    49 #endif