bluetoothmgmt/btmgr/eirclient/interface/eirclient.h
changeset 0 29b1cd4cb562
equal deleted inserted replaced
-1:000000000000 0:29b1cd4cb562
       
     1 // Copyright (c) 2007-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 // REirMan Client side header
       
    15 // Implements the Symbian OS EIR Management API REirMan
       
    16 // 
       
    17 //
       
    18 
       
    19 /**
       
    20  @file
       
    21  @internalComponent
       
    22 */
       
    23 
       
    24 #ifndef _EIRMAN_H
       
    25 #define _EIRMAN_H
       
    26 
       
    27 #include <e32std.h>
       
    28 #include <bluetooth/eirmanshared.h>
       
    29 
       
    30 NONSHARABLE_CLASS(REirMan) : public RSessionBase
       
    31 /**
       
    32 The REirMan class implements the Symbian OS EIR Management API REirMan
       
    33 */
       
    34 	{
       
    35 public:
       
    36 	REirMan();
       
    37 	void Connect(TRequestStatus& aStatus);
       
    38 	void SpaceAvailableNotification(TUint& aBytesAvailable, TRequestStatus& aStatus);
       
    39 	void CancelSpaceAvailableNotification();
       
    40 	void SetData(const TDesC8& aData, TEirDataMode aDataMode, TRequestStatus& aStatus); 
       
    41 	void RegisterTag(TEirTag aEirTag, TRequestStatus& aStatus);
       
    42 	void NewData(TInt aRequiredLength, TRequestStatus& aStatus);
       
    43 
       
    44 private:
       
    45 	TVersion Version() const;
       
    46 	TInt RegisterTag(TEirTag aEirTag);
       
    47 
       
    48 private:
       
    49 
       
    50 	TPckg<TUint32> iBytesAvailablePckg;
       
    51 	
       
    52 private:
       
    53 	// This data padding has been added to help prevent future binary compatibility breaks
       
    54 	// iPadding hasn't been zero'd because it is currently not used
       
    55 	TUint32 iPadding;
       
    56 	};
       
    57 
       
    58 #endif // _EIRMAN_H