diff options
author | Ole Loots <ole@monochrom.net> | 2013-01-31 19:28:26 +0100 |
---|---|---|
committer | Ole Loots <ole@monochrom.net> | 2013-01-31 19:28:26 +0100 |
commit | 0703404654d2a40cacae2d94c6e0e22ca28b4acf (patch) | |
tree | bfdbe1e8952814f73a6b0e190ae0a77fd0cfc7bd /amiga/agclass/amigaguide_class.h | |
parent | 54f719aa960159c5b1978846223732c9669ca7fa (diff) | |
parent | 89856f55929907642013e45435b9d18cd1fafe36 (diff) | |
download | netsurf-0703404654d2a40cacae2d94c6e0e22ca28b4acf.tar.gz netsurf-0703404654d2a40cacae2d94c6e0e22ca28b4acf.tar.bz2 |
Merge branch 'master' into mono/removing-windom-dependencymono/removing-windom-dependency
Conflicts:
atari/toolbar.c
Diffstat (limited to 'amiga/agclass/amigaguide_class.h')
-rwxr-xr-x | amiga/agclass/amigaguide_class.h | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/amiga/agclass/amigaguide_class.h b/amiga/agclass/amigaguide_class.h new file mode 100755 index 000000000..f122f35f7 --- /dev/null +++ b/amiga/agclass/amigaguide_class.h @@ -0,0 +1,40 @@ +/* + * AmigaGuide Class + * + */ + +#ifndef AMIGAGUIDE_CLASS_H +#define AMIGAGUIDE_CLASS_H + +#include <exec/types.h> +#include <intuition/classes.h> + +#include <classes/window.h> + +#include <proto/exec.h> +#include <proto/intuition.h> +#include <proto/amigaguide.h> +#include <proto/utility.h> + + + +// tag definitions +#define AMIGAGUIDE_Dummy (TAG_USER+0x05000000) + +#define AMIGAGUIDE_Name (AMIGAGUIDE_Dummy + 1) // Name of the AmigaGuide database. +#define AMIGAGUIDE_Screen (AMIGAGUIDE_Dummy + 2) // Pointer of the screen to open on. +#define AMIGAGUIDE_PubScreen (AMIGAGUIDE_Dummy + 3) // Name of the public screen to open on. +#define AMIGAGUIDE_BaseName (AMIGAGUIDE_Dummy + 4) // Basename of the application that opens the help file. +#define AMIGAGUIDE_ContextArray (AMIGAGUIDE_Dummy + 5) // Context node array (must be NULL-terminated). +#define AMIGAGUIDE_ContextID (AMIGAGUIDE_Dummy + 6) // Index value of the node to display. + +// method definition +#define AGM_OPEN WM_OPEN +#define AGM_CLOSE WM_CLOSE + +// function prototypes +Class *initAGClass(void); +BOOL freeAGClass(Class *); + +#endif // AMIGAGUIDE_CLASS_H + |