httpfilters/cookie/ManagerInc/CookieClientDataArray.h
branchRCL_3
changeset 9 9015645363c8
parent 7 2611c08ee28e
equal deleted inserted replaced
8:73e95e652591 9:9015645363c8
    24 public:
    24 public:
    25     
    25     
    26     /* Constructor 
    26     /* Constructor 
    27      * 
    27      * 
    28      */
    28      */
    29     static CCookieClientDataArray* GetInstance();
    29 
    30     
    30      static CCookieClientDataArray* New();
    31     /* Reference Count method
    31 
    32      * 
    32 	/* Initialization
    33      */
    33      *
    34     inline void Ref(){++iRefCount;}
    34 	 */
    35     
    35 	void Init();
    36     /*Dereference count method and will delete the CCookieClientDataArray object once the iRefCount is zero
    36          
    37      * 
       
    38      */
       
    39     void DeRef();
       
    40     
       
    41     /* Destructor
       
    42      * 
       
    43      */
       
    44     ~CCookieClientDataArray();
    37     ~CCookieClientDataArray();
    45     
    38     
    46     /* Constructor
    39     /* Constructor
    47      * 
    40      * 
    48      */
    41      */
   102      */
    95      */
   103     TInt DestroyClientData(const TUint32 aAppUid);
    96     TInt DestroyClientData(const TUint32 aAppUid);
   104 protected:
    97 protected:
   105     
    98     
   106 private:
    99 private:
       
   100 
   107     /* Constructor
   101     /* Constructor
   108      * 
   102      * 
   109      */
   103      */
   110     CCookieClientDataArray(const CCookieClientDataArray&);
   104     CCookieClientDataArray(const CCookieClientDataArray&);
   111     
   105     
   116 public:
   110 public:
   117     
   111     
   118 protected:
   112 protected:
   119     
   113     
   120 private:
   114 private:
   121     TInt iRefCount;
       
   122     RPointerArray<CCookieClientData>* iCookieClientData;
   115     RPointerArray<CCookieClientData>* iCookieClientData;
   123     };
   116     };
   124 
   117 
   125 
   118 
   126 #endif /* COOKIECLIENTDATAARRAY_H_ */
   119 #endif /* COOKIECLIENTDATAARRAY_H_ */