1 #ifndef LIBRARIES_MIAMIPANEL_H
2 #define LIBRARIES_MIAMIPANEL_H
5 ** $VER: lib.h 1.1 (21.01.2006)
7 ** miamipanel.library interface structures and defintions.
11 /*****************************************************************************/
14 #include <exec/types.h>
17 /*****************************************************************************/
19 ** Callback types definitions
22 typedef long (MiamiPanelCallBackType
)(long code
,long count
,va_list args
);
24 /*****************************************************************************/
31 MIAMIPANELV_CallBack_Code_UnitOnline
= 112,
32 MIAMIPANELV_CallBack_Code_UnitOffline
= 113,
34 MIAMIPANELV_CallBack_Code_ShowMainGUI
= 56,
35 MIAMIPANELV_CallBack_Code_HideMainGUI
= 19,
36 MIAMIPANELV_CallBack_Code_ClosePanel
= 110,
37 MIAMIPANELV_CallBack_Code_QuitMiami
= 123,
39 MIAMIPANELV_CallBack_Code_Localize
= 27,
42 /*****************************************************************************/
49 MIAMIPANELV_AddInterface_State_GoingOnline
= 1<<8,
50 MIAMIPANELV_AddInterface_State_GoingOffline
= 1<<9,
51 MIAMIPANELV_AddInterface_State_Suspending
= 1<<10,
52 MIAMIPANELV_AddInterface_State_Offline
= 1<<0,
53 MIAMIPANELV_AddInterface_State_Online
= 1<<1,
54 MIAMIPANELV_AddInterface_State_Suspended
= 1<<2,
57 /*****************************************************************************/
59 ** Flags defining the appearance of the control panel
64 MIAMIPANELV_Init_Flags_ShowSpeed
= 1<<0,
65 MIAMIPANELV_Init_Flags_ShowDataTransferRate
= 1<<1,
66 MIAMIPANELV_Init_Flags_ShowUpTime
= 1<<2,
67 MIAMIPANELV_Init_Flags_ShowTotal
= 1<<3,
68 MIAMIPANELV_Init_Flags_ShowStatusButton
= 1<<4,
69 MIAMIPANELV_Init_Flags_Control
= 1<<5,
72 /*****************************************************************************/
79 MIAMIPANELV_String_Status_GoingOnline
= 5000, /* ">On" */
80 MIAMIPANELV_String_Status_GoingOffline
= 5001, /* ">Of" */
81 MIAMIPANELV_String_Status_Suspending
= 5002, /* ">Su" */
82 MIAMIPANELV_String_Status_Online
= 5003, /* "Onl" */
83 MIAMIPANELV_String_Status_Offline
= 5004, /* "Off" */
84 MIAMIPANELV_String_Status_Suspended
= 5005, /* "Sus" */
86 MIAMIPANELV_String_Button_Show
= 5006, /* "Show" */
87 MIAMIPANELV_String_Button_Hide
= 5007, /* "Hide" */
88 MIAMIPANELV_String_Button_Quit
= 5008, /* "Quit" */
89 MIAMIPANELV_String_Button_Online
= 5009, /* "Onl" */
90 MIAMIPANELV_String_Button_Offline
= 5010, /* "Off" */
93 /*****************************************************************************/
95 #endif /* LIBRARIES_MIAMIPANEL_H */