accessoryservices/remotecontrolfw/bearerplugin/public/remconbearerobserver.h
branchRCL_3
changeset 10 66ecddbca914
parent 0 4e1aa6a622a0
equal deleted inserted replaced
9:21e939dd208a 10:66ecddbca914
   268 	@param aBearerUid The Uid of this bearer
   268 	@param aBearerUid The Uid of this bearer
   269 	@param aId The client to which this bearer will route addressed commands.
   269 	@param aId The client to which this bearer will route addressed commands.
   270 	*/
   270 	*/
   271 	IMPORT_C void SetRemoteAddressedClient(const TUid& aBearerUid, const TRemConClientId& aId);
   271 	IMPORT_C void SetRemoteAddressedClient(const TUid& aBearerUid, const TRemConClientId& aId);
   272 	
   272 	
       
   273 	/**
       
   274 	Called by the bearer to indicate it would like to be informed when the 
       
   275 	locally addressed client changes.
       
   276 	*/
       
   277 	IMPORT_C TInt RegisterLocalAddressedClientObserver(const TUid& aBearerUid);
       
   278 	
       
   279 	/**
       
   280 	Called by the bearer to indicate it would no longer like to be informed when 
       
   281 	the locally addressed client changes.
       
   282 	*/
       
   283 	IMPORT_C TInt UnregisterLocalAddressedClientObserver(const TUid& aBearerUid);
       
   284 	
   273 private:
   285 private:
   274 	/** 
   286 	/** 
   275 	@see NewResponse.
   287 	@see NewResponse.
   276 	*/
   288 	*/
   277 	virtual TInt MrcboDoNewResponse(const TRemConAddress& aAddr) = 0;	
   289 	virtual TInt MrcboDoNewResponse(const TRemConAddress& aAddr) = 0;	
   364 
   376 
   365 	/**
   377 	/**
   366 	@see SetRemoteAddressedClient
   378 	@see SetRemoteAddressedClient
   367 	*/
   379 	*/
   368 	virtual void MrcboDoSetRemoteAddressedClient(const TUid& aBearerUid, const TRemConClientId& aId) = 0;
   380 	virtual void MrcboDoSetRemoteAddressedClient(const TUid& aBearerUid, const TRemConClientId& aId) = 0;
       
   381 	
       
   382 	/**
       
   383 	@see RegisterLocalAddressedClientObserver
       
   384 	*/
       
   385 	virtual TInt MrcboDoRegisterLocalAddressedClientObserver(const TUid& aBearerUid) = 0;
       
   386 	
       
   387 	/**
       
   388 	@see UnregisterLocalAddressedClientObserver
       
   389 	*/
       
   390 	virtual TInt MrcboDoUnregisterLocalAddressedClientObserver(const TUid& aBearerUid) = 0;
   369 	};
   391 	};
   370 
   392 
   371 #endif // REMCONBEAREROBSERVER_H
   393 #endif // REMCONBEAREROBSERVER_H