X-Git-Url: https://gitweb.stoutner.com/?a=blobdiff_plain;f=src%2Fdatabases%2FCookiesDatabase.h;fp=src%2Fdatabases%2FCookiesDatabase.h;h=76e788ca63572bc8dadb721ba12826666b46b944;hb=adf448e4cca7b96f6db9fc2048e9a64fa24a9bba;hp=6fcae894242a2433b7d4c520748891ab891cedb2;hpb=b105f2cce889a132faa9d7a5cdc8505b75965321;p=PrivacyBrowserPC.git diff --git a/src/databases/CookiesDatabase.h b/src/databases/CookiesDatabase.h index 6fcae89..76e788c 100644 --- a/src/databases/CookiesDatabase.h +++ b/src/databases/CookiesDatabase.h @@ -33,9 +33,11 @@ public: // The public functions. static void addDatabase(); static void addCookie(const QNetworkCookie &cookie); + static int cookieCount(); static void deleteAllCookies(); static void deleteCookie(const QNetworkCookie &cookie); static QList* getCookies(); + static QNetworkCookie* getCookieById(const int &id); static bool isDurable(const QNetworkCookie &cookie); static bool isUpdate(const QNetworkCookie &cookie); static void updateCookie(const QNetworkCookie &cookie);