equal
deleted
inserted
replaced
1 // Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). |
1 // Copyright (c) 2008-2010 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); |
91 MIncomingCommandHandler& InternalCommandHandler(); |
92 MIncomingCommandHandler& InternalCommandHandler(); |
92 |
93 |
93 // Interface to command handler |
94 // Interface to command handler |
94 void AddObserverL(MPlayerChangeObserver& aObserver); |
95 void AddObserverL(MPlayerChangeObserver& aObserver); |
95 void RemoveObserver(MPlayerChangeObserver& aObserver); |
96 void RemoveObserver(MPlayerChangeObserver& aObserver); |
104 |
105 |
105 // from MPlayStatusObserver |
106 // from MPlayStatusObserver |
106 void MpsoPlayStatusChanged(TRemConClientId aId, MPlayerEventsObserver::TPlaybackStatus aPlaybackStatus); |
107 void MpsoPlayStatusChanged(TRemConClientId aId, MPlayerEventsObserver::TPlaybackStatus aPlaybackStatus); |
107 void MpsoError(TRemConClientId aId); |
108 void MpsoError(TRemConClientId aId); |
108 |
109 |
109 |
110 // Helper function for ClientAvailable and TargetFeaturesUpdated |
|
111 TInt SetItemDetails(TAvrcpMediaPlayerItem& aItem, TPlayerType aPlayerType, TPlayerSubType aPlayerSubType, const TDesC8& aName); |
|
112 void UpdateSdpRecord(const TAvrcpMediaPlayerItem& aItem); |
|
113 |
110 //--------------------------------------------------------- |
114 //--------------------------------------------------------- |
111 // Bulk thread only functions |
115 // Bulk thread only functions |
112 //--------------------------------------------------------- |
116 //--------------------------------------------------------- |
113 public: |
117 public: |
114 // Interface to bearer/remcon |
118 // Interface to bearer/remcon |