diff options
author | Vincent Sanders <vince@kyllikki.org> | 2016-05-05 22:28:51 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2016-05-15 13:44:34 +0100 |
commit | d21447d096a320a08b3efb2b8768fad0dcdcfd64 (patch) | |
tree | 1a83814b7c9e94b2f13c473261f23dd3a17dee64 /frontends/amiga/agclass/amigaguide_class.h | |
parent | 2cbb337756d9af5bda4d594964d446439f602551 (diff) | |
download | netsurf-d21447d096a320a08b3efb2b8768fad0dcdcfd64.tar.gz netsurf-d21447d096a320a08b3efb2b8768fad0dcdcfd64.tar.bz2 |
move frontends into sub directory
Diffstat (limited to 'frontends/amiga/agclass/amigaguide_class.h')
-rwxr-xr-x | frontends/amiga/agclass/amigaguide_class.h | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/frontends/amiga/agclass/amigaguide_class.h b/frontends/amiga/agclass/amigaguide_class.h new file mode 100755 index 000000000..ee7e55e60 --- /dev/null +++ b/frontends/amiga/agclass/amigaguide_class.h @@ -0,0 +1,43 @@ +/* + * 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. +#define AMIGAGUIDE_Signal (AMIGAGUIDE_Dummy + 7) // Signal mask to wait on + +// method definition +#define AGM_Dummy AMIGAGUIDE_Dummy + 100 +#define AGM_OPEN AGM_Dummy + 1 +#define AGM_CLOSE AGM_Dummy + 2 +#define AGM_PROCESS AGM_Dummy + 3 + +// function prototypes +Class *initAGClass(void); +BOOL freeAGClass(Class *); + +#endif // AMIGAGUIDE_CLASS_H + |