accessoryservices/remotecontrolfw/server/src/session.cpp
branchRCL_3
changeset 56 1ddbe54d0645
parent 0 4e1aa6a622a0
child 60 ccb4f6b3db21
--- a/accessoryservices/remotecontrolfw/server/src/session.cpp	Thu Jul 15 20:05:35 2010 +0300
+++ b/accessoryservices/remotecontrolfw/server/src/session.cpp	Thu Aug 19 11:09:10 2010 +0300
@@ -1,4 +1,4 @@
-// Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
+// Copyright (c) 2004-2010 Nokia Corporation and/or its subsidiary(-ies).
 // All rights reserved.
 // This component and the accompanying materials are made available
 // under the terms of "Eclipse Public License v1.0"
@@ -1794,6 +1794,13 @@
 	return err;
 	}
 
+TBool CRemConSession::ClientAvailable() const
+	{
+	// Client is available as soon as it has registered the APIs
+	// it is interested in.
+	return !!iInterestedAPIs;
+	}
+
 CRemConInterfaceDetails* CRemConSession::FindInterfaceByUid(TUid aUid) const
 	{
 	LOG_FUNC