NetSurf
Data Structures | Macros | Functions | Variables
hotlist.h File Reference
#include <stdbool.h>
#include "atari/gemtk/gemtk.h"
#include "atari/treeview.h"
Include dependency graph for hotlist.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  atari_hotlist
 

Macros

#define PATH_MAX   1024
 

Functions

void atari_hotlist_init (void)
 
void atari_hotlist_open (void)
 
void atari_hotlist_close (void)
 
void atari_hotlist_destroy (void)
 
void atari_hotlist_add_page (const char *url, const char *title)
 
void atari_hotlist_redraw (void)
 

Variables

struct atari_hotlist hl
 

Macro Definition Documentation

◆ PATH_MAX

#define PATH_MAX   1024

Definition at line 28 of file hotlist.h.

Function Documentation

◆ atari_hotlist_add_page()

void atari_hotlist_add_page ( const char *  url,
const char *  title 
)

Definition at line 290 of file hotlist.c.

References atari_hotlist_open(), hl, hotlist_add_entry(), hotlist_has_url(), NSERROR_OK, NSLOG, nsurl_create(), nsurl_unref(), and atari_hotlist::tv.

Referenced by handle_event(), and menu_add_bookmark().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ atari_hotlist_close()

void atari_hotlist_close ( void  )

Definition at line 260 of file hotlist.c.

References atari_treeview_close(), hl, and atari_hotlist::tv.

Referenced by atari_hotlist_destroy(), and handle_event().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ atari_hotlist_destroy()

void atari_hotlist_destroy ( void  )

Definition at line 265 of file hotlist.c.

References atari_hotlist_close(), atari_treeview_delete(), atari_treeview_is_open(), hl, atari_hotlist::init, NSLOG, atari_hotlist::tv, and atari_hotlist::window.

Referenced by gui_quit().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ atari_hotlist_init()

void atari_hotlist_init ( void  )

Definition at line 192 of file hotlist.c.

References atari_find_resource(), atari_hotlist_treeview_callbacks, atari_treeview_create(), ATARI_TREEVIEW_WIDGETS, desk_area, hl, hotlist_init(), atari_hotlist::init, messages_get(), NSLOG, nsoption_charp, atari_hotlist::path, PATH_MAX, tree_hotlist_path, atari_hotlist::tv, and atari_hotlist::window.

Referenced by gui_init().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ atari_hotlist_open()

void atari_hotlist_open ( void  )

Definition at line 239 of file hotlist.c.

References atari_treeview_is_open(), atari_treeview_open(), desk_area, hl, atari_hotlist::init, atari_hotlist::tv, and atari_hotlist::window.

Referenced by atari_hotlist_add_page(), and menu_bookmarks().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ atari_hotlist_redraw()

void atari_hotlist_redraw ( void  )

Definition at line 283 of file hotlist.c.

References atari_treeview_redraw(), hl, and atari_hotlist::tv.

Here is the call graph for this function:

Variable Documentation

◆ hl

struct atari_hotlist hl
extern