NetSurf
Functions
hotlist.h File Reference
#include "utils/nsurl.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.

Functions

nserror ami_hotlist_present (void)
 Open the hotlist viewer. More...
 
void ami_hotlist_close (void)
 Close the hotlist viewer normally this shouldn't be used; only exists for ARexx use. More...
 
nserror ami_hotlist_scan (void *userdata, int first_item, const char *folder, bool(*cb_add_item)(void *userdata, int level, int item, const char *title, nsurl *url, bool folder))
 Scan the hotlist. More...
 

Function Documentation

◆ ami_hotlist_close()

void ami_hotlist_close ( void  )

Close the hotlist viewer normally this shouldn't be used; only exists for ARexx use.

Definition at line 603 of file hotlist.c.

References ami_hotlist_destroy(), and hotlist_window.

Referenced by RXHOOKF().

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

◆ ami_hotlist_present()

nserror ami_hotlist_present ( void  )

Open the hotlist viewer.

Definition at line 547 of file hotlist.c.

References ami_corewindow_init(), ami_hotlist_create_window(), ami_hotlist_destroy(), ami_hotlist_drag_end(), ami_hotlist_draw(), ami_hotlist_icon_drop(), ami_hotlist_key(), ami_hotlist_mouse(), ami_utf8_easy(), ami_utf8_free(), ami_corewindow::close, ami_hotlist_window::core, ami_corewindow::drag_end, ami_corewindow::draw, ami_corewindow::event, GID_CW_WIN, hotlist_manager_init(), hotlist_window, ami_corewindow::icon_drop, ami_corewindow::key, messages_get(), ami_corewindow::mouse, NSERROR_NOMEM, NSERROR_OK, NSLOG, ami_corewindow::objects, and ami_corewindow::wintitle.

Referenced by HOOKF(), and RXHOOKF().

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

◆ ami_hotlist_scan()

nserror ami_hotlist_scan ( void *  userdata,
int  first_item,
const char *  folder,
bool(*)(void *userdata, int level, int item, const char *title, nsurl *url, bool folder)  cb_add_item 
)

Scan the hotlist.

Definition at line 151 of file hotlist.c.

References ami_hotlist_address_cb(), ami_hotlist_folder_enter_cb(), ami_hotlist_folder_leave_cb(), ami_hotlist_ctx::cb, ami_hotlist_ctx::folder, ami_hotlist_ctx::found, hotlist_add_folder(), hotlist_iterate(), ami_hotlist_ctx::in_menu, ami_hotlist_ctx::item, ami_hotlist_ctx::level, NSERROR_OK, and ami_hotlist_ctx::userdata.

Referenced by ami_gui_hotlist_scan(), and ami_menu_scan().

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