diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2013-01-24 20:00:09 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2013-01-24 20:00:09 +0000 |
commit | 18091ec1a9ab94db511ff0c01e590e1a8aa533f9 (patch) | |
tree | cd285791cb0988a03341b84682a275aa279282fd /amiga/help.h | |
parent | db71ffc8eae9a857e92310f5aba665adb058ff4c (diff) | |
download | netsurf-18091ec1a9ab94db511ff0c01e590e1a8aa533f9.tar.gz netsurf-18091ec1a9ab94db511ff0c01e590e1a8aa533f9.tar.bz2 |
Add basic context-sensitive help.
Diffstat (limited to 'amiga/help.h')
-rwxr-xr-x | amiga/help.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/amiga/help.h b/amiga/help.h new file mode 100755 index 000000000..4baa2a0e2 --- /dev/null +++ b/amiga/help.h @@ -0,0 +1,36 @@ +/* + * Copyright 2013 Chris Young <chris@unsatisfactorysoftware.co.uk> + * + * This file is part of NetSurf, http://www.netsurf-browser.org/ + * + * NetSurf is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; version 2 of the License. + * + * NetSurf is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + +#ifndef AMIGA_HELP_H +#define AMIGA_HELP_H +#include <exec/types.h> + +/* This enum needs to match context_array in help.c */ +enum { + AMI_HELP_MAIN, + AMI_HELP_GUI, + AMI_HELP_PREFS, +}; + +struct Screen; + +void ami_help_init(struct Screen *screen); +void ami_help_open(ULONG node); +void ami_help_free(void); +void ami_help_new_screen(struct Screen *screen); +#endif |