graphicscomposition/openwfsupport/inc/streammap.h
branchRCL_3
changeset 19 bbf46f59e123
parent 0 5d03bc08d59c
child 20 25ffed67c7ef
--- a/graphicscomposition/openwfsupport/inc/streammap.h	Thu Aug 19 11:11:18 2010 +0300
+++ b/graphicscomposition/openwfsupport/inc/streammap.h	Tue Aug 31 16:31:06 2010 +0300
@@ -21,14 +21,12 @@
 #include <e32base.h>
 #include <e32std.h>			//for RFastLock
 #include <e32hashtab.h>		//for RHashMap
-#include <graphics/surfacemanager.h>
-
-#include <graphics/updateserverprovider.h>
 
 class CSurfaceStream;
 class TSurfaceId;
 class MSurfaceUpdateServerProvider;
 class CExtensionContainer;
+class RSurfaceManager;
 
 NONSHARABLE_CLASS(COpenWfcStreamMap): public CBase
 	{
@@ -40,16 +38,6 @@
 		 */
 		IMPORT_C static COpenWfcStreamMap& InstanceL();
 		/**
-		 * Expands the array to accommodate a specified number of key-value pairs.
-		 * If the hash map already has enough space for the specified number of elements, no
-		 * action is taken. Any elements already in the map are retained.
-		 * 
-		 * @param	aExpand	The number of key-value pairs for which space should be allocated.
-		 * @return	KErrNone if the operation completed aInternalVersion.
-		 * @return	KErrNoMemory if sufficient memory could not be allocated.
-		 */
-		IMPORT_C TInt Reserve(TInt aExpand);
-		/**
 		 * Look up a specified TSurfaceId key in the associative array and return a pointer to the
 		 * corresponding to a native stream. The reference counter of the native stream is incremented by one.
 		 * 
@@ -108,7 +96,7 @@
 		 * 
 		 * @return	A reference to the local SurfaceManager
 		 */
-		RSurfaceManager& SurfaceManager();
+        IMPORT_C RSurfaceManager& SurfaceManager();
 		
         /**
          * Returns a pointer to the main heap
@@ -158,14 +146,6 @@
 			};
 	private:
 		/**
-		 * Copy constructor
-		 */
-		COpenWfcStreamMap(const COpenWfcStreamMap&);
-		/**
-		 * Assignment operator
-		 */
-		COpenWfcStreamMap& operator= (const COpenWfcStreamMap&);
-		/**
 		 * Symbian constructor used with two stage construction pattern
 		 */
 		void ConstructL();
@@ -198,7 +178,7 @@
 		/**
 		 * Surface manager
 		 */
-		RSurfaceManager iSurfaceManager;
+		RSurfaceManager* iSurfaceManager;
 
 		RHeap *iMainHeap; //< --This points to main thread's heap--