4 #include <intuition/intuition.h>
5 #include <libraries/codesets.h>
6 #include <workbench/workbench.h>
17 struct MinNode MinNode
;
20 struct DosLibrary
*g_DOSBase
;
21 struct UtilityBase
*g_UtilityBase
;/* Utility library for miscellaneous tasks */
22 struct IntuitionBase
*g_IntuitionBase
;
23 struct IconBase
*g_IconBase
;
24 struct WorkbenchBase
*g_WorkbenchBase
;
25 struct Library
*g_CodesetsBase
;
27 /* these two ones are needed to create new volume nodes */
28 struct ACDRBase
*acdrbase
; /* Base of the AROS handler */
29 struct ACDRDeviceInfo
*device
; /* device info for the handler */
32 CDROM_OBJ
*g_top_level_obj
;
36 PROC
*DosProc
; /* Our Process */
37 DEVNODE
*DosNode
; /* Our DOS node.. created by DOS for us */
39 struct DosPacket
*g_death_packet
; /* ACTION_DIE packet is held here until just before exit */
41 struct DeviceList
*DevList
;/* Device List structure for our volume node */
42 struct MsgPort
*g_timer_mp
; /* timer message port */
43 struct timerequest
*g_timer_io
; /* timer i/o request */
45 int g_changeint_signumber
;
46 ULONG g_changeint_sigbit
;
47 int g_scan_interval
; /* Time between successive diskchange checks */
48 int g_scan_time
; /* Countdown for diskchange */
49 int g_time
; /* Current time */
51 char g_device
[80]; /* SCSI device name */
52 short g_unit
; /* SCSI unit */
54 int g_inhibited
; /* Number of active INHIBIT(TRUE) packets */
58 WORD g_use_rock_ridge
; /* Use Rock Ridge flag 'R' */
59 WORD g_use_joliet
; /* Use Joliet flag 'J' */
60 WORD g_maybe_map_to_lowercase
; /* Conditional map to lower case flag 'ML' */
61 WORD g_map_to_lowercase
; /* Map to lower case flag 'L' */
62 int g_std_buffers
; /* Number of buffers for standard SCSI access */
63 int g_file_buffers
; /* Number of buffers for contiguous reads */
64 t_bool g_show_version_numbers
; /* Show version numbers */
65 t_bool g_disk_inserted
; /* Is a disk inserted? */
66 char g_play_cdda_command
[80]; /* Command invoked if appicon is activated */
67 UBYTE playing
; /* CD-DA play status */
70 int g_ignore_blocklength
; /* should be FALSE */
73 char g_data_fork_extension
[17]; /* should be initialized with zeros */
74 char g_resource_fork_extension
[17];/* dito */
75 t_bool g_convert_hfs_filenames
; /* should be FALSE */
76 t_bool g_convert_hfs_spaces
; /* dito */
80 struct MsgPort
*g_app_port
;
81 struct AppIcon
*g_app_icon
;
83 int g_retry_show_cdda_icon
; /* should be FALSE */
84 struct DiskObject
*g_user_disk_object
; /* should be NULL */
86 t_bool g_hfs_first
; /* should be FALSE */
88 struct Image g_disk_object_image
;
89 UBYTE
*g_tool_types
[1]; /* should be initialized with NULL */
90 struct DiskObject g_disk_object
;
91 LONG g_xpos
; /* NO_ICON_POSITION */
92 LONG g_ypos
; /* NO_ICON_POSITION */
94 t_lock_node
*g_lock_list
;
95 t_vol_reg_node
*g_volume_list
;
96 struct Task
*PrefsProc
;
98 /* codepage translation */
99 struct codeset
*uniCodeset
;
103 #if !defined(NDEBUG) || defined(DEBUG_SECTORS)
105 PORT
*Dbport
; /* owned by the debug process */
111 #define DOSBase (global->g_DOSBase)
112 #define UtilityBase (global->g_UtilityBase)
113 #define IntuitionBase (global->g_IntuitionBase)
114 #define IconBase (global->g_IconBase)
115 #define WorkbenchBase (global->g_WorkbenchBase)
116 #define CodesetsBase (global->g_CodesetsBase)
118 #endif /* GLOBALS_H */