diff options
Diffstat (limited to 'desktop/hotlist.h')
-rw-r--r-- | desktop/hotlist.h | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/desktop/hotlist.h b/desktop/hotlist.h index c77ac92d2..571f4de97 100644 --- a/desktop/hotlist.h +++ b/desktop/hotlist.h @@ -40,10 +40,16 @@ struct rect; * be called before URLs can be added to the hotlist, and before the * hotlist can be queried to ask if URLs are present in the hotlist. * - * \param path The path to hotlist file to load + * In read-only mode the hotlist can be modified, but changes will not + * persist over sessions. + * + * \param load_path The path to load hotlist from. + * \param save_path The path to save hotlist to, or NULL for read-only mode. * \return NSERROR_OK on success, appropriate error otherwise */ -nserror hotlist_init(const char *path); +nserror hotlist_init( + const char *load_path, + const char *save_path); /** * Initialise the hotlist manager. @@ -67,7 +73,6 @@ nserror hotlist_manager_init(struct core_window_callback_table *cw_t, * allowing destruction of a GUI hotlist window, without finalising the * hotlist module. * - * \param path The path to save hotlist to * \return NSERROR_OK on success, appropriate error otherwise */ nserror hotlist_manager_fini(void); @@ -79,10 +84,9 @@ nserror hotlist_manager_fini(void); * internal data. After calling this if hotlist is required again, * hotlist_init must be called. * - * \param path The path to save hotlist to * \return NSERROR_OK on success, appropriate error otherwise */ -nserror hotlist_fini(const char *path); +nserror hotlist_fini(void); /** * Add an entry to the hotlist for given URL. |