2008-10-12 01:59:22 +04:00
|
|
|
/*
|
2010-10-05 23:14:46 +04:00
|
|
|
* Copyright 2008, 2009 Chris Young <chris@unsatisfactorysoftware.co.uk>
|
2008-10-12 01:59:22 +04:00
|
|
|
*
|
|
|
|
* This file is part of NetSurf, http://www.netsurf-browser.org/
|
|
|
|
*
|
|
|
|
* NetSurf is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; version 2 of the License.
|
|
|
|
*
|
|
|
|
* NetSurf is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <proto/exec.h>
|
2014-10-16 12:55:01 +04:00
|
|
|
|
2013-09-03 01:41:04 +04:00
|
|
|
#include "desktop/cookie_manager.h"
|
2016-05-30 14:07:16 +03:00
|
|
|
#include "netsurf/mouse.h"
|
2016-05-30 13:01:40 +03:00
|
|
|
#include "netsurf/window.h"
|
2014-10-16 12:55:01 +04:00
|
|
|
|
|
|
|
#include "amiga/cookies.h"
|
2010-10-05 23:14:46 +04:00
|
|
|
#include "amiga/tree.h"
|
2008-10-12 01:59:22 +04:00
|
|
|
|
2016-06-02 02:44:20 +03:00
|
|
|
struct treeview_window *cookies_window;
|
|
|
|
|
2008-10-12 01:59:22 +04:00
|
|
|
void ami_cookies_initialise(void)
|
|
|
|
{
|
2013-09-02 17:33:53 +04:00
|
|
|
cookies_window = ami_tree_create(TREE_COOKIES, NULL);
|
2008-10-12 01:59:22 +04:00
|
|
|
|
2010-10-05 23:14:46 +04:00
|
|
|
if(!cookies_window) return;
|
2008-10-12 01:59:22 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
void ami_cookies_free()
|
|
|
|
{
|
2010-10-05 23:14:46 +04:00
|
|
|
ami_tree_destroy(cookies_window);
|
|
|
|
cookies_window = NULL;
|
2008-10-12 01:59:22 +04:00
|
|
|
}
|