equal
deleted
inserted
replaced
28 |
28 |
29 // FORWARD DECLARATIONS |
29 // FORWARD DECLARATIONS |
30 |
30 |
31 class RHTTPHeaders; |
31 class RHTTPHeaders; |
32 class TUriC8; |
32 class TUriC8; |
33 |
33 class TDesC8; |
34 // CONSTANTS |
34 // CONSTANTS |
35 |
35 |
36 // Attribute prefix : we have to pack cookies when either passing them over |
36 // Attribute prefix : we have to pack cookies when either passing them over |
37 // client-server boundaries or writing them into a file. When this happens we |
37 // client-server boundaries or writing them into a file. When this happens we |
38 // put each attribute of a cookie in the destination buffer as follows : |
38 // put each attribute of a cookie in the destination buffer as follows : |
238 |
238 |
239 /** |
239 /** |
240 * Copy from an already existing one. |
240 * Copy from an already existing one. |
241 * @param aCopyFrom The already existing CCookie object |
241 * @param aCopyFrom The already existing CCookie object |
242 */ |
242 */ |
243 void CopyFromL( const CCookie& aCopyFrom ); |
243 void CopyFromL( const CCookie& aCopyFrom, const TDesC8& aDomain, const TDesC8& aPath, const TDesC8& aPort ); |
244 |
244 |
245 /** |
245 /** |
246 * Returns this cookie's StringPool. |
246 * Returns this cookie's StringPool. |
247 */ |
247 */ |
248 RStringPool StringPool(); |
248 RStringPool StringPool(); |
265 /** |
265 /** |
266 * Returns whether the cookie's Version attribute is known or not. |
266 * Returns whether the cookie's Version attribute is known or not. |
267 * @return TBool indicating the cookies's Version attribute's notoriety. |
267 * @return TBool indicating the cookies's Version attribute's notoriety. |
268 */ |
268 */ |
269 TBool IsUnknownVersion() const; |
269 TBool IsUnknownVersion() const; |
270 static CCookie* CloneL( const CCookie& aCopy ); |
270 static CCookie* CloneL( const CCookie& aCopy,const TDesC8& aDomain, const TDesC8& aPath, const TDesC8& aPort); |
271 |
271 |
272 private : // class for internal use |
272 private : // class for internal use |
273 /** |
273 /** |
274 * Determines if the cookie had expired in case of Netscape style |
274 * Determines if the cookie had expired in case of Netscape style |
275 * Method may leave with |
275 * Method may leave with |