wvuing/wvuieng/EngInc/MCAContentProcessor.h
changeset 0 094583676ce7
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/wvuing/wvuieng/EngInc/MCAContentProcessor.h	Thu Dec 17 08:41:52 2009 +0200
@@ -0,0 +1,73 @@
+/*
+* Copyright (c) 2005 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:  Interface for content processors
+*
+*/
+
+
+#ifndef __MCACONTENTPROCESSOR_H__
+#define __MCACONTENTPROCESSOR_H__
+
+//	FORWARD CLASS DECLERATIONS
+class MCAMessage;
+
+// CLASS DECLARATION
+
+/**
+ *  Interface for content processors
+ *
+ *  @lib CAEngine.dll
+ *  @since 3.0
+ */
+class MCAContentProcessor
+    {
+    public: // Interface
+
+        /**
+         * Request processing of content.
+         * @aMessage Message which to process.
+         * @aProcessState. This is updated during processing.
+         */
+        virtual void RequestProcessingL( MCAMessage& aMessage ) = 0;
+
+        /**
+         * Start processing of content.
+         * @aMessage Message which to process.
+         * Leaves with KErrInuUse, if another item is processed at the moment.
+         */
+        virtual void StartProcessingL( MCAMessage& aMessage ) = 0;
+
+        /**
+         * Request cancelling of processing.
+         * @aMessage To identify which message asks canceling
+         */
+        virtual void CancelProcessing( MCAMessage& aMessage ) = 0;
+
+        /**
+         * Request processing remove. If processing is already started. Cancels processing.
+         * @aMessage To identify which message asks canceling
+         */
+        virtual void RemoveProcessingL( MCAMessage& aMessage ) = 0;
+
+    protected: // For protection.
+
+        /**
+         * Destructor
+         */
+        virtual ~MCAContentProcessor() {}
+    };
+
+#endif      // __MCACONTENTPROCESSOR_H__
+
+// End of File