accessoryservices/remotecontrolfw/client/coreapi/public/remconcoreapicontrollerobserver.h
changeset 0 4e1aa6a622a0
child 21 ccb4f6b3db21
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/accessoryservices/remotecontrolfw/client/coreapi/public/remconcoreapicontrollerobserver.h	Tue Feb 02 00:53:00 2010 +0200
@@ -0,0 +1,47 @@
+// Copyright (c) 2004-2009 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"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+/**
+ @file
+ @publishedAll
+ @released
+*/
+
+#ifndef REMCONCOREAPICONTROLLEROBSERVER_H
+#define REMCONCOREAPICONTROLLEROBSERVER_H
+
+#include <e32base.h>
+#include <remconcoreapi.h>
+
+/**
+Clients must implement this interface in order to instantiate objects of type 
+CRemConCoreApiController. This interface passes incoming responses from RemCon 
+to the client. 
+In order to minimise the number of virtual functions the client has to 
+implement, there's just one non-pure function which delivers all responses.
+*/
+class MRemConCoreApiControllerObserver
+	{
+public:
+	/** 
+	A response has been received. 
+	@param aOperationId The operation ID. The response is to a previous 
+	command of this type.
+	@param The response error.
+	*/
+	virtual void MrccacoResponse(TRemConCoreApiOperationId aOperationId, TInt aError);
+	};
+
+#endif // REMCONCOREAPICONTROLLEROBSERVER_H