homescreensrv_plat/ai_utilities_api/inc/aicpscommandbuffer.h
branchRCL_3
changeset 14 15e4dd19031c
child 16 b276298d5729
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/homescreensrv_plat/ai_utilities_api/inc/aicpscommandbuffer.h	Wed Mar 31 22:04:35 2010 +0300
@@ -0,0 +1,63 @@
+/*
+* Copyright (c) 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"
+* 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:  Cps command buffer interface
+*
+*/
+
+
+#ifndef M_CAICPSCOMMANDBUFFER_H
+#define M_CAICPSCOMMANDBUFFER_H
+
+// System includes
+#include <e32base.h>
+
+// User includes
+
+// Forward declarations
+class CLiwDefaultMap;
+
+/**
+ * AI Cps command buffer interface
+ *
+ * @lib aifw  
+ * @since S60 v5.2
+ */
+class MAiCpsCommandBuffer
+    {
+public:
+    // new functions
+    
+	/**
+    * Adds command to command buffer queue
+    *
+    * @since S60 5.2
+    * @param aPluginId plugin id.
+    * @param aType type of the cps registry.
+    * @param aFilter filter values.
+    * @param aAction action trigger.
+    */
+    virtual void AddCommand( const TDesC& aPluginId,
+            const TDesC& aType, CLiwDefaultMap* aFilter,
+            const TDesC8& aAction) = 0;
+    
+protected:
+    // destructor
+
+    ~MAiCpsCommandBuffer() { }
+    };
+
+#endif // M_CAICPSCOMMANDBUFFER_H
+
+// End of file
+