#include <BCCookieManager.h>

Public Member Functions | |
| BCCookieManager () | |
| ~BCCookieManager () | |
| int | add (const WebCore::String &host, const BTCookie &cookie) |
| Add a cookie for a host in map. | |
| bool | respectsSecurityStandards (const KURL &url, BTCookie &cookie) |
| bool | thisMapExists (String mapName) |
| HashMap < WebCore::String, BTCookieMap * > | getMapListForHost (const WebCore::String &host, bool onlyOneMap=false) const |
| Ask for the cookie map related to host. | |
| void | observe (const String &, const String &) |
| Link cookie manager to an observer. | |
| void | saveCookiesToFile () |
| Save all the cookies in a file for backup We use a text file for this. | |
| void | getCookiesFromFile () |
| Load all the cookies from a file Expired cookies and previous session cookies are left behind. | |
Public Attributes | |
| IMPLEMENT_BICOOKIEJAR | |
It owns a cookie map for each host which owns cookies.
| BCCookieManager::BCCookieManager | ( | ) |
| BCCookieManager::~BCCookieManager | ( | ) |
| int BCCookieManager::add | ( | const WebCore::String & | host, | |
| const BTCookie & | cookie | |||
| ) |
Add a cookie for a host in map.
| in) | the owner host | |
| in) | the cookie to add |
| bool BCCookieManager::respectsSecurityStandards | ( | const KURL & | url, | |
| BTCookie & | cookie | |||
| ) |
| bool BCCookieManager::thisMapExists | ( | String | mapName | ) |
| HashMap<WebCore::String, BTCookieMap*> BCCookieManager::getMapListForHost | ( | const WebCore::String & | host, | |
| bool | onlyOneMap = false | |||
| ) | const |
Ask for the cookie map related to host.
| in) | the host concerned |
0 if there's no cookie for host
| void BCCookieManager::observe | ( | const String & | topic, | |
| const String & | data | |||
| ) |
Link cookie manager to an observer.
| in) | the topic to register | |
| in) | the cookie |
| void BCCookieManager::saveCookiesToFile | ( | ) |
Save all the cookies in a file for backup We use a text file for this.
| void BCCookieManager::getCookiesFromFile | ( | ) |
Load all the cookies from a file Expired cookies and previous session cookies are left behind.