NetSurf
frontends
amiga
hotlist.h
Go to the documentation of this file.
1
/*
2
* Copyright 2017 Chris Young <chris@unsatisfactorysoftware.co.uk>
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 AMIGA_HOTLIST_H
20
#define AMIGA_HOTLIST_H
21
22
#include "
utils/nsurl.h
"
23
24
/** Open the hotlist viewer */
25
nserror
ami_hotlist_present
(
void
);
26
27
/** Close the hotlist viewer
28
* normally this shouldn't be used; only exists for ARexx use
29
*/
30
void
ami_hotlist_close
(
void
);
31
32
/** Scan the hotlist */
33
nserror
ami_hotlist_scan
(
void
*userdata,
int
first_item,
const
char
*folder,
34
bool
(*cb_add_item)(
void
*userdata,
int
level,
int
item,
const
char
*title,
nsurl
*url,
bool
folder));
35
#endif
36
nserror
nserror
Enumeration of error codes.
Definition:
errors.h:29
ami_hotlist_scan
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.
Definition:
hotlist.c:151
ami_hotlist_close
void ami_hotlist_close(void)
Close the hotlist viewer normally this shouldn't be used; only exists for ARexx use.
Definition:
hotlist.c:603
ami_hotlist_present
nserror ami_hotlist_present(void)
Open the hotlist viewer.
Definition:
hotlist.c:547
nsurl.h
NetSurf URL handling (interface).
nsurl
struct nsurl nsurl
NetSurf URL object.
Definition:
nsurl.h:31
Generated on Fri Nov 15 2024 15:34:03 for NetSurf by
1.9.4