revert between 56095 -> 55830 in arch
[AROS.git] / workbench / network / common / include / libraries / miamipanel.h
blob2d12777f03bce8951efde75b952ae334545392c1
1 #ifndef LIBRARIES_MIAMIPANEL_H
2 #define LIBRARIES_MIAMIPANEL_H
4 /*
5 ** $VER: lib.h 1.1 (21.01.2006)
6 **
7 ** miamipanel.library interface structures and defintions.
8 **
9 */
11 /*****************************************************************************/
13 #ifndef EXEC_TYPES_H
14 #include <exec/types.h>
15 #endif
17 /*****************************************************************************/
19 ** Callback types definitions
22 typedef long (MiamiPanelCallBackType)(long code,long count,va_list args);
24 /*****************************************************************************/
26 ** Commands codes
29 enum
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 /*****************************************************************************/
44 ** Interface states
47 enum
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
62 enum
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 /*****************************************************************************/
74 ** String codes
77 enum
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 */