btrfs: Attempt to fix GCC2 build.
[haiku.git] / src / apps / webpositive / CookieWindow.h
blobfd0c74cd33f62099508b00c0d000ed9d5afbabb2
1 /*
2 * Copyright 2015 Haiku, Inc. All rights reserved.
3 * Distributed under the terms of the MIT License.
5 * Authors:
6 * Adrien Destugues
7 */
8 #ifndef COOKIE_WINDOW_H
9 #define COOKIE_WINDOW_H
12 #include <Window.h>
15 class BColumnListView;
16 class BNetworkCookieJar;
17 class BOutlineListView;
18 class BStringItem;
19 class BStringView;
20 class BString;
23 class CookieWindow : public BWindow {
24 public:
25 CookieWindow(BRect frame,
26 BNetworkCookieJar& jar);
27 virtual void MessageReceived(BMessage* message);
28 virtual void Show();
29 virtual bool QuitRequested();
31 private:
32 void _BuildDomainList();
33 BStringItem* _AddDomain(BString domain, bool fake);
34 void _ShowCookiesForDomain(BString domain);
35 void _DeleteCookies();
37 private:
38 BOutlineListView* fDomains;
39 BColumnListView* fCookies;
40 BStringView* fHeaderView;
42 BNetworkCookieJar& fCookieJar;
46 #endif // COOKIE_WINDOW_H