NetSurf
hotlist.h
Go to the documentation of this file.
1/*
2 * Copyright 2013 Ole Loots <ole@monochrom.net>
3 *
4 * This file is part of NetSurf, http://www.netsurf-browser.org/
5 *
6 * NetSurf is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; version 2 of the License.
9 *
10 * NetSurf is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */
18
19#ifndef NS_ATARI_HOTLIST_H
20#define NS_ATARI_HOTLIST_H
21
22#include <stdbool.h>
23
24#include "atari/gemtk/gemtk.h"
25#include "atari/treeview.h"
26
27#ifndef PATH_MAX
28#define PATH_MAX 1024
29#endif
30
31/* The hotlist window, toolbar and treeview data. */
32
34 GUIWIN * window;
35 //ATARI_TREEVIEW_PTR tv;/*< The hotlist treeview handle. */
36 struct core_window *tv;
37 bool init;
39};
40
41extern struct atari_hotlist hl;
42
43void atari_hotlist_init( void );
44void atari_hotlist_open( void );
45void atari_hotlist_close( void );
46void atari_hotlist_destroy( void );
47void atari_hotlist_add_page( const char * url, const char * title );
48void atari_hotlist_redraw( void );
49
50
51#endif
struct atari_hotlist hl
Definition: hotlist.c:47
void atari_hotlist_close(void)
Definition: hotlist.c:258
void atari_hotlist_open(void)
Definition: hotlist.c:237
void atari_hotlist_add_page(const char *url, const char *title)
Definition: hotlist.c:288
void atari_hotlist_destroy(void)
Definition: hotlist.c:263
#define PATH_MAX
Definition: hotlist.h:28
void atari_hotlist_init(void)
Definition: hotlist.c:190
void atari_hotlist_redraw(void)
Definition: hotlist.c:281
GUIWIN * window
Definition: hotlist.h:34
bool init
Definition: hotlist.h:37
struct core_window * tv
Definition: hotlist.h:36
char path[PATH_MAX]
Definition: hotlist.h:38