grub2: bring back build of aros-side grub2 tools
[AROS.git] / rom / hidds / hidd / include / config.h
blobfd6456e6533941c9fbd5b7c0abf8d3102d7417a8
1 #ifndef HIDD_CONFIG_H
2 #define HIDD_CONFIG_H
4 /*
5 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
6 $Id$
8 Desc: Configuration Plugin Definitions.
9 Lang: english
12 #ifndef EXEC_TYPES_H
13 #include <exec/types.h>
14 #endif
15 #ifndef UTILITY_TAGITEM_H
16 #include <utility/tagitem.h>
17 #endif
18 #ifndef INTUITION_CLASSUSR_H
19 #include <intuition/classusr.h>
20 #endif
22 /* ---------------------------------------------------------------------
23 HIDD Configuration Plugin
24 --------------------------------------------------------------------- */
25 #define HIDDA_CPBase (HIDDA_Base + 0x01000)
26 #define HIDDA_HasOwnGUI (HIDDA_CPBase + 1) /* --G-- BOOL */
27 #define HIDDA_ShowGUI (HIDDA_CPBase + 2) /* ISG-- BOOL */
28 #define HIDDA_UseScreen (HIDDA_CPBase + 3) /* ISG-- struct Screen * */
29 #define HIDDA_AppMsgPort (HIDDA_CPBase + 4) /* ISG-- struct MsgPort * */
31 /* Methods */
32 #define HIDDM_ConfigBase (HIDDM_Base + 0x100)
33 #define HIDDM_QueryConfig (HIDDM_ConfigBase + 1) /* ULONG M (???) */
34 #define HIDDM_FreeConfig (HIDDM_ConfigBase + 2) /* ULONG M ( hmFreeData *) */
35 #define HIDDM_QueryModeList (HIDDM_ConfigBase + 3) /* ULONG M (???) */
36 #define HIDDM_FreeModeList (HIDDM_ConfigBase + 4) /* ULONG M ( hmFreeData *) */
37 #define HIDDM_Apply (HIDDM_ConfigBase + 5) /* ULONG M (???) */
38 #define HIDDM_ValueToString (HIDDM_ConfigBase + 6) /* ULONG M ( hmValueToString *) */
39 #define HIDDM_StringToValue (HIDDM_ConfigBase + 7) /* ULONG M ( hmStringToValue *) */
40 #define HIDDM_GetTagName (HIDDM_ConfigBase + 8) /* ULONG M ( hmValueToString *) */
42 struct hmFreeData
44 STACKED ULONG Method;
45 STACKED struct TagItem *AttrList;
48 struct hmValueToString
50 STACKED ULONG Method;
51 STACKED Tag tag;
52 STACKED IPTR value; /* NULL for HIDDM_GetTagName */
55 struct hmStringToValue
57 STACKED ULONG Method;
58 STACKED Tag tag;
59 STACKED STRPTR string;
62 #endif /* HIDD_CONFIG_H */