bluetoothappprofiles/avrcp/remconbeareravrcp/inc/avrcpplayerinfomanager.h
branchRCL_3
changeset 56 9386f31cc85b
parent 55 613943a21004
equal deleted inserted replaced
55:613943a21004 56:9386f31cc85b
     1 // Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     3 // This component and the accompanying materials are made available
     4 // under the terms of "Eclipse Public License v1.0"
     4 // under the terms of "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
    86 	void ClientAvailable(const TRemConClientId& aId, TPlayerType aClientType, TPlayerSubType aClientSubType, const TDesC8& aName);
    86 	void ClientAvailable(const TRemConClientId& aId, TPlayerType aClientType, TPlayerSubType aClientSubType, const TDesC8& aName);
    87 	void ClientNotAvailable(const TRemConClientId& aId);
    87 	void ClientNotAvailable(const TRemConClientId& aId);
    88 	void ClientStatus(TBool aControllerPresent, TBool aTargetPresent);	
    88 	void ClientStatus(TBool aControllerPresent, TBool aTargetPresent);	
    89 	TInt SetLocalAddressedClient(const TRemConClientId& aId);
    89 	TInt SetLocalAddressedClient(const TRemConClientId& aId);
    90 	void ControllerFeaturesUpdatedL(RArray<TUid>& aSupportedInterfaces);
    90 	void ControllerFeaturesUpdatedL(RArray<TUid>& aSupportedInterfaces);
    91 	void TargetFeaturesUpdated(const TRemConClientId& aId, TPlayerType aPlayerType, TPlayerSubType aPlayerSubType, const TDesC8& aName);
       
    92 	MIncomingCommandHandler& InternalCommandHandler();
    91 	MIncomingCommandHandler& InternalCommandHandler();
    93 
    92 
    94 	// Interface to command handler
    93 	// Interface to command handler
    95 	void AddObserverL(MPlayerChangeObserver& aObserver);
    94 	void AddObserverL(MPlayerChangeObserver& aObserver);
    96 	void RemoveObserver(MPlayerChangeObserver& aObserver);
    95 	void RemoveObserver(MPlayerChangeObserver& aObserver);
   105 	
   104 	
   106 	// from MPlayStatusObserver
   105 	// from MPlayStatusObserver
   107 	void MpsoPlayStatusChanged(TRemConClientId aId, MPlayerEventsObserver::TPlaybackStatus aPlaybackStatus);
   106 	void MpsoPlayStatusChanged(TRemConClientId aId, MPlayerEventsObserver::TPlaybackStatus aPlaybackStatus);
   108 	void MpsoError(TRemConClientId aId);
   107 	void MpsoError(TRemConClientId aId);
   109 
   108 
   110 	// Helper function for ClientAvailable and TargetFeaturesUpdated
   109 
   111 	TInt SetItemDetails(TAvrcpMediaPlayerItem& aItem, TPlayerType aPlayerType, TPlayerSubType aPlayerSubType, const TDesC8& aName);
       
   112 	void UpdateSdpRecord(const TAvrcpMediaPlayerItem& aItem);
       
   113 	
       
   114 //---------------------------------------------------------
   110 //---------------------------------------------------------
   115 // Bulk thread only functions
   111 // Bulk thread only functions
   116 //---------------------------------------------------------
   112 //---------------------------------------------------------
   117 public:	
   113 public:	
   118 	// Interface to bearer/remcon
   114 	// Interface to bearer/remcon