Documented GVF_SAVE_VAR alongside other flags, and removed a query/doubt
[AROS.git] / rom / usb / poseidon / popo.gui.h
blob90bf2d365d0ac865a6532d3b3730c0b8b2905ad8
1 #ifndef POPOGUI_H
2 #define POPOGUI_H POPOGUI_H
4 struct PoPoData
6 BOOL nix;
7 };
9 struct PsdPoPoGadgets
11 struct Node pog_Node; /* Linkage */
12 struct PsdDevice *pog_Device; /* Linkage to the device used */
13 ULONG *pog_GroupObj; /* Group object to link */
14 ULONG *pog_BodyObj; /* Text body */
15 ULONG *pog_GadgetObj[4]; /* gadgets */
16 struct timeval pog_TimeoutTime; /* time at which the thing destroys itself */
17 BOOL pog_ShowMe; /* popup window? */
18 BOOL pog_WaitBinding; /* wait for class scan finished before popping up */
21 struct PsdPoPoSound
23 struct Node pps_Node; /* Linkage */
24 ULONG *pps_DTHandle; /* Handle to DataType object */
27 void pPoPoGUITaskCleanup(struct PsdBase *ps);
28 void pEventHandler(struct PsdBase *ps);
29 void pFreePoPoGadgets(struct PsdBase *ps, struct PsdPoPoGadgets *pog);
30 struct PsdPoPoGadgets * pAllocPoPoGadgets(struct PsdBase *ps, STRPTR body, STRPTR *gad);
31 STRPTR pBindingsString(struct PsdBase *ps, struct PsdDevice *pd);
32 ULONG pCheckConfigurable(struct PsdBase *ps, struct PsdDevice *pd);
33 struct PsdPoPoSound * pPoPoLoadSound(struct PsdBase *ps, STRPTR name);
34 BOOL pPoPoPlaySound(struct PsdBase *ps, STRPTR name);
35 void pPoPoFreeSound(struct PsdBase *ps, struct PsdPoPoSound *pps);
37 #define PPF_HasBinding 0x0001
38 #define PPF_HasClassGUI 0x0010
39 #define PPF_HasClsConfig 0x0020
40 #define PPF_HasBindingGUI 0x0100
41 #define PPF_HasBindConfig 0x0200
43 #define TAGBASE_PoPo (TAG_USER | 29<<16)
44 #define MUIM_PoPo_RemInfo (TAGBASE_PoPo | 0x0010)
45 #define MUIM_PoPo_ConfigureClass (TAGBASE_PoPo | 0x0011)
46 #define MUIM_PoPo_ConfigureBinding (TAGBASE_PoPo | 0x0012)
47 #define MUIM_PoPo_ShutUp (TAGBASE_PoPo | 0x0013)
48 #define MUIM_PoPo_DisablePort (TAGBASE_PoPo | 0x0014)
49 #define MUIM_PoPo_PowerCyclePort (TAGBASE_PoPo | 0x0015)
50 #define MUIM_PoPo_Sticky (TAGBASE_PoPo | 0x0020)
51 #define MUIM_PoPo_SavePrefs (TAGBASE_PoPo | 0x0021)
52 #define MUIM_PoPo_About (TAGBASE_PoPo | 0x0030)
53 #define MUIM_PoPo_OpenTrident (TAGBASE_PoPo | 0x0031)
55 AROS_UFP3(IPTR, PoPoDispatcher,
56 AROS_UFPA(struct IClass *, cl, A0),
57 AROS_UFPA(Object *, obj, A2),
58 AROS_UFPA(Msg, msg, A1));
60 #endif // POPOGUI_H