webengine/osswebengine/WebCore/platform/network/symbian/CookieHandler.h
branchRCL_3
changeset 40 8bfb9186a8b8
parent 0 dd21522fd290
child 47 e1bea15f9a39
--- a/webengine/osswebengine/WebCore/platform/network/symbian/CookieHandler.h	Tue Apr 27 17:46:17 2010 +0300
+++ b/webengine/osswebengine/WebCore/platform/network/symbian/CookieHandler.h	Tue May 11 17:13:44 2010 +0300
@@ -21,6 +21,7 @@
 
 // System includes
 #include <e32base.h>
+#include <stringpool.h> 
 
 // CONSTANTS
 
@@ -33,7 +34,7 @@
 // FUNCTION PROTOTYPES
 
 // FORWARD DECLARATIONS
-class RStringPool;
+//class RStringPool;
 class CCookie;
 class RStringF;
 class RCookieManager;
@@ -67,7 +68,7 @@
         * Creates a new object.
         * @return The constructed session.
         */
-        static CookieHandler* init();
+        static CookieHandler* init(RStringPool aStringPool);
 
         /**
         * adds cookie ,
@@ -87,12 +88,13 @@
         * Destructor.
         */
         virtual ~CookieHandler();
+        void destroy();
 
     private :    // constructors
         /**
         * Constructor.
         */
-        CookieHandler( );
+        CookieHandler( RStringPool aStringPool);
 
         /**
         * ConstructL.
@@ -161,8 +163,9 @@
         */
         void parseCookieFieldsL( const TPtrC& aCookieString,
                                  CookieRecord& aCookieRecord) const;
+                                 
     private :    // data members
-        RStringPool* m_stringPool ;// <<has
+        RStringPool m_stringPool ;// <<has
         RPointerArray<CCookie> m_getCookies;// <<has
         RCookieManager* m_cookieManager; // NOTE: should not use pointers to r-class, but RCookieManager
                     // class doesn't provide a default constructor, too bad :(