accessoryservices/remotecontrolfw/targetselectorplugin/public/remcontargetselectorplugininterface.h
branchRCL_3
changeset 10 66ecddbca914
parent 0 4e1aa6a622a0
equal deleted inserted replaced
9:21e939dd208a 10:66ecddbca914
   338 	*/
   338 	*/
   339 	virtual void SetRemoteAddressedClient(const TUid& aBearerUid, 
   339 	virtual void SetRemoteAddressedClient(const TUid& aBearerUid, 
   340 			const TClientInfo& aClient) = 0;
   340 			const TClientInfo& aClient) = 0;
   341 	};
   341 	};
   342 
   342 
       
   343 /**
       
   344 The UID of this version of the Target Selector Plugin interface.
       
   345 */
       
   346 const TInt KRemConTargetSelectorInterface5 = 0x2002e6e1;
       
   347 
       
   348 class MRemConTargetSelectorPluginInterfaceV5
       
   349 	{
       
   350 public:
       
   351 	/** Called by RemCon when a new target client has connected.
       
   352 	 
       
   353 	 @aClientInfo The information about the new client.
       
   354 	 */
       
   355 	virtual void TargetClientAvailable(const TClientInfo& aClientInfo) = 0;
       
   356 	
       
   357 	/** Called by RemCon when a target client has disconnected. 
       
   358 	 
       
   359 	 @aClientInfo The information about the client that has disconnected.
       
   360 	 */
       
   361 	virtual void TargetClientUnavailable(const TClientInfo& aClientInfo) = 0;
       
   362 	
       
   363 	/** Called by RemCon when a bearer wishes to begin being informed when
       
   364 	the locally addressed player changes.  Once this function has been called
       
   365 	the TSP should inform RemCon via SetLocalAddressedPlayer each time the
       
   366 	player to which incoming commands from aBearer would be routed changes.
       
   367 	This might occur for example if a new application is launched, or if the
       
   368 	foreground application changes, depending on what the TSP's rules are
       
   369 	for deciding the target of the incoming message.  These updates should
       
   370 	occur until UnregisterLocalAddressedClientObserver is called.
       
   371 	
       
   372 	@param aBearerUid The bearer that wishes to be informed of updates
       
   373 	*/
       
   374 	virtual TInt RegisterLocalAddressedClientObserver(const TUid& aBearerUid) = 0;
       
   375 
       
   376 	/** Called by RemCon when a bearer wishes to stop being informed of 
       
   377 	changes to the local addresse client.
       
   378 	
       
   379 	@param aBearerUid The bearer that no longer wishes to be informed of updates
       
   380 	*/
       
   381 	virtual TInt UnregisterLocalAddressedClientObserver(const TUid& aBearerUid) = 0;
       
   382 	};
       
   383 
   343 
   384 
   344 #endif // TARGETSELECTORPLUGININTERFACE_H
   385 #endif // TARGETSELECTORPLUGININTERFACE_H