| 1 | n/a | """Suite Standard Suite: Common terms for most applications |
|---|
| 2 | n/a | Level 1, version 1 |
|---|
| 3 | n/a | |
|---|
| 4 | n/a | Generated from Macintosh HD:Hulpprogramma's:Disk Copy |
|---|
| 5 | n/a | AETE/AEUT resource version 1/0, language 0, script 0 |
|---|
| 6 | n/a | """ |
|---|
| 7 | n/a | |
|---|
| 8 | n/a | import aetools |
|---|
| 9 | n/a | import MacOS |
|---|
| 10 | n/a | |
|---|
| 11 | n/a | _code = 'Core' |
|---|
| 12 | n/a | |
|---|
| 13 | n/a | class Standard_Suite_Events: |
|---|
| 14 | n/a | |
|---|
| 15 | n/a | _argmap_save = { |
|---|
| 16 | n/a | '_in' : 'kfil', |
|---|
| 17 | n/a | 'using_format' : 'SvAs', |
|---|
| 18 | n/a | 'checksum_verification' : 'VChk', |
|---|
| 19 | n/a | 'signature_verification' : 'VSig', |
|---|
| 20 | n/a | 'image_signing' : 'SImg', |
|---|
| 21 | n/a | 'leave_image_mounted' : 'Moun', |
|---|
| 22 | n/a | 'percent_free_space' : 'Slop', |
|---|
| 23 | n/a | 'logical_blocks' : 'Blks', |
|---|
| 24 | n/a | 'zeroing' : 'Zero', |
|---|
| 25 | n/a | } |
|---|
| 26 | n/a | |
|---|
| 27 | n/a | def save(self, _object, _attributes={}, **_arguments): |
|---|
| 28 | n/a | """save: Save an object |
|---|
| 29 | n/a | Required argument: the source object |
|---|
| 30 | n/a | Keyword argument _in: the target object |
|---|
| 31 | n/a | Keyword argument using_format: the format for the target |
|---|
| 32 | n/a | Keyword argument checksum_verification: Should the checksum be verified before saving? |
|---|
| 33 | n/a | Keyword argument signature_verification: Should the DigiSign signature be verified before saving? |
|---|
| 34 | n/a | Keyword argument image_signing: Should the image be signed? |
|---|
| 35 | n/a | Keyword argument leave_image_mounted: Should the image be mounted after saving? |
|---|
| 36 | n/a | Keyword argument percent_free_space: percent free space to reserve (for image folder operation, 0-255%) |
|---|
| 37 | n/a | Keyword argument logical_blocks: number of logical blocks in the image (for image folder operation) |
|---|
| 38 | n/a | Keyword argument zeroing: Should all the blocks in the image be set to zeros? (for image folder operation) |
|---|
| 39 | n/a | Keyword argument _attributes: AppleEvent attribute dictionary |
|---|
| 40 | n/a | Returns: the result of the save operation |
|---|
| 41 | n/a | """ |
|---|
| 42 | n/a | _code = 'core' |
|---|
| 43 | n/a | _subcode = 'save' |
|---|
| 44 | n/a | |
|---|
| 45 | n/a | aetools.keysubst(_arguments, self._argmap_save) |
|---|
| 46 | n/a | _arguments['----'] = _object |
|---|
| 47 | n/a | |
|---|
| 48 | n/a | aetools.enumsubst(_arguments, 'kfil', _Enum_obj_) |
|---|
| 49 | n/a | aetools.enumsubst(_arguments, 'SvAs', _Enum_SvAs) |
|---|
| 50 | n/a | aetools.enumsubst(_arguments, 'VChk', _Enum_bool) |
|---|
| 51 | n/a | aetools.enumsubst(_arguments, 'VSig', _Enum_bool) |
|---|
| 52 | n/a | aetools.enumsubst(_arguments, 'SImg', _Enum_bool) |
|---|
| 53 | n/a | aetools.enumsubst(_arguments, 'Moun', _Enum_bool) |
|---|
| 54 | n/a | aetools.enumsubst(_arguments, 'Slop', _Enum_long) |
|---|
| 55 | n/a | aetools.enumsubst(_arguments, 'Blks', _Enum_long) |
|---|
| 56 | n/a | aetools.enumsubst(_arguments, 'Zero', _Enum_bool) |
|---|
| 57 | n/a | |
|---|
| 58 | n/a | _reply, _arguments, _attributes = self.send(_code, _subcode, |
|---|
| 59 | n/a | _arguments, _attributes) |
|---|
| 60 | n/a | if _arguments.has_key('errn'): |
|---|
| 61 | n/a | raise aetools.Error, aetools.decodeerror(_arguments) |
|---|
| 62 | n/a | # XXXX Optionally decode result |
|---|
| 63 | n/a | if _arguments.has_key('----'): |
|---|
| 64 | n/a | return _arguments['----'] |
|---|
| 65 | n/a | |
|---|
| 66 | n/a | def do_script(self, _object, _attributes={}, **_arguments): |
|---|
| 67 | n/a | """do script: Execute an attached script located in the folder "Scripts" |
|---|
| 68 | n/a | Required argument: the script to be executed |
|---|
| 69 | n/a | Keyword argument _attributes: AppleEvent attribute dictionary |
|---|
| 70 | n/a | """ |
|---|
| 71 | n/a | _code = 'core' |
|---|
| 72 | n/a | _subcode = 'dosc' |
|---|
| 73 | n/a | |
|---|
| 74 | n/a | if _arguments: raise TypeError, 'No optional args expected' |
|---|
| 75 | n/a | _arguments['----'] = _object |
|---|
| 76 | n/a | |
|---|
| 77 | n/a | |
|---|
| 78 | n/a | _reply, _arguments, _attributes = self.send(_code, _subcode, |
|---|
| 79 | n/a | _arguments, _attributes) |
|---|
| 80 | n/a | if _arguments.has_key('errn'): |
|---|
| 81 | n/a | raise aetools.Error, aetools.decodeerror(_arguments) |
|---|
| 82 | n/a | # XXXX Optionally decode result |
|---|
| 83 | n/a | if _arguments.has_key('----'): |
|---|
| 84 | n/a | return _arguments['----'] |
|---|
| 85 | n/a | |
|---|
| 86 | n/a | |
|---|
| 87 | n/a | class application(aetools.ComponentItem): |
|---|
| 88 | n/a | """application - The Disk Copy application """ |
|---|
| 89 | n/a | want = 'capp' |
|---|
| 90 | n/a | class version(aetools.NProperty): |
|---|
| 91 | n/a | """version - the version of this application """ |
|---|
| 92 | n/a | which = 'vers' |
|---|
| 93 | n/a | want = 'vers' |
|---|
| 94 | n/a | class name(aetools.NProperty): |
|---|
| 95 | n/a | """name - the name of this application """ |
|---|
| 96 | n/a | which = 'pnam' |
|---|
| 97 | n/a | want = 'TEXT' |
|---|
| 98 | n/a | class comment(aetools.NProperty): |
|---|
| 99 | n/a | """comment - the comment associated with the application """ |
|---|
| 100 | n/a | which = 'comt' |
|---|
| 101 | n/a | want = 'TEXT' |
|---|
| 102 | n/a | class driver_version(aetools.NProperty): |
|---|
| 103 | n/a | """driver version - the version of the disk image driver """ |
|---|
| 104 | n/a | which = 'dVer' |
|---|
| 105 | n/a | want = 'vers' |
|---|
| 106 | n/a | class nonejectable_mode(aetools.NProperty): |
|---|
| 107 | n/a | """nonejectable mode - Should mounted images be non-ejectable? """ |
|---|
| 108 | n/a | which = 'otto' |
|---|
| 109 | n/a | want = 'bool' |
|---|
| 110 | n/a | class save_log_file(aetools.NProperty): |
|---|
| 111 | n/a | """save log file - Should the log file be saved on disk? """ |
|---|
| 112 | n/a | which = 'PSaL' |
|---|
| 113 | n/a | want = 'bool' |
|---|
| 114 | n/a | class use_speech(aetools.NProperty): |
|---|
| 115 | n/a | """use speech - Should Disk Copy use spoken feedback? """ |
|---|
| 116 | n/a | which = 'PTlk' |
|---|
| 117 | n/a | want = 'bool' |
|---|
| 118 | n/a | class smart_Save_As(aetools.NProperty): |
|---|
| 119 | n/a | """smart Save As - Should the Save As... dialog box automatically go to the right folder? """ |
|---|
| 120 | n/a | which = 'PSSP' |
|---|
| 121 | n/a | want = 'bool' |
|---|
| 122 | n/a | class checksum_verification(aetools.NProperty): |
|---|
| 123 | n/a | """checksum verification - Should image checksums be verified? """ |
|---|
| 124 | n/a | which = 'PVeC' |
|---|
| 125 | n/a | want = 'bool' |
|---|
| 126 | n/a | class signature_verification(aetools.NProperty): |
|---|
| 127 | n/a | """signature verification - Should digital signatures be verified? """ |
|---|
| 128 | n/a | which = 'PVeS' |
|---|
| 129 | n/a | want = 'bool' |
|---|
| 130 | n/a | class exclude_DiskScripts(aetools.NProperty): |
|---|
| 131 | n/a | """exclude DiskScripts - Should images referenced in DiskScripts/DiskSets be excluded from verification? """ |
|---|
| 132 | n/a | which = 'PExD' |
|---|
| 133 | n/a | want = 'bool' |
|---|
| 134 | n/a | class exclude_remote_images(aetools.NProperty): |
|---|
| 135 | n/a | """exclude remote images - Should images that are located on network volumes be excluded from verification? """ |
|---|
| 136 | n/a | which = 'PExR' |
|---|
| 137 | n/a | want = 'bool' |
|---|
| 138 | n/a | class image_signing(aetools.NProperty): |
|---|
| 139 | n/a | """image signing - Should images be signed with a digital signature? """ |
|---|
| 140 | n/a | which = 'PSiI' |
|---|
| 141 | n/a | want = 'bool' |
|---|
| 142 | n/a | class leave_image_mounted(aetools.NProperty): |
|---|
| 143 | n/a | """leave image mounted - Should images be mounted after they are created? """ |
|---|
| 144 | n/a | which = 'PMoA' |
|---|
| 145 | n/a | want = 'bool' |
|---|
| 146 | n/a | class erase_confirmation(aetools.NProperty): |
|---|
| 147 | n/a | """erase confirmation - Should the user be required to confirm commands that erase disks? """ |
|---|
| 148 | n/a | which = 'PCoE' |
|---|
| 149 | n/a | want = 'bool' |
|---|
| 150 | n/a | class zeroing(aetools.NProperty): |
|---|
| 151 | n/a | """zeroing - Should all blocks of a new image be set to zero? """ |
|---|
| 152 | n/a | which = 'PZeB' |
|---|
| 153 | n/a | want = 'bool' |
|---|
| 154 | n/a | class default_create_size(aetools.NProperty): |
|---|
| 155 | n/a | """default create size - the default size for a new image, in blocks (512 bytes per block) """ |
|---|
| 156 | n/a | which = 'PDeS' |
|---|
| 157 | n/a | want = 'long' |
|---|
| 158 | n/a | class default_create_name(aetools.NProperty): |
|---|
| 159 | n/a | """default create name - the default volume name for a new image """ |
|---|
| 160 | n/a | which = 'PDeN' |
|---|
| 161 | n/a | want = 'TEXT' |
|---|
| 162 | n/a | class make_multiple_floppies(aetools.NProperty): |
|---|
| 163 | n/a | """make multiple floppies - Should the user be prompted to make multiple floppy disk images at a time? """ |
|---|
| 164 | n/a | which = 'PBuM' |
|---|
| 165 | n/a | want = 'bool' |
|---|
| 166 | n/a | class auto_image_upon_insert(aetools.NProperty): |
|---|
| 167 | n/a | """auto image upon insert - Should a newly-inserted disk automatically be processed into an image? """ |
|---|
| 168 | n/a | which = 'Paim' |
|---|
| 169 | n/a | want = 'bool' |
|---|
| 170 | n/a | class eject_after_auto_image(aetools.NProperty): |
|---|
| 171 | n/a | """eject after auto image - Should auto-imaged disks be ejected afterwards? """ |
|---|
| 172 | n/a | which = 'Pejc' |
|---|
| 173 | n/a | want = 'bool' |
|---|
| 174 | n/a | class auto_copy_upon_floppy_insert(aetools.NProperty): |
|---|
| 175 | n/a | """auto copy upon floppy insert - Instead of auto-imaging, should newly-inserted floppy disks be copied? """ |
|---|
| 176 | n/a | which = 'Pcpf' |
|---|
| 177 | n/a | want = 'bool' |
|---|
| 178 | n/a | class volume_suffix(aetools.NProperty): |
|---|
| 179 | n/a | """volume suffix - the default volume name suffix """ |
|---|
| 180 | n/a | which = 'PDiE' |
|---|
| 181 | n/a | want = 'TEXT' |
|---|
| 182 | n/a | class image_suffix(aetools.NProperty): |
|---|
| 183 | n/a | """image suffix - the default image name suffix """ |
|---|
| 184 | n/a | which = 'PImE' |
|---|
| 185 | n/a | want = 'TEXT' |
|---|
| 186 | n/a | class default_file_system(aetools.NProperty): |
|---|
| 187 | n/a | """default file system - the default file system type for new blank images """ |
|---|
| 188 | n/a | which = 'Pfsy' |
|---|
| 189 | n/a | want = 'Fsys' |
|---|
| 190 | n/a | class default_image_format(aetools.NProperty): |
|---|
| 191 | n/a | """default image format - the default image file format """ |
|---|
| 192 | n/a | which = 'Pdfm' |
|---|
| 193 | n/a | want = 'SvAs' |
|---|
| 194 | n/a | |
|---|
| 195 | n/a | class disk(aetools.ComponentItem): |
|---|
| 196 | n/a | """disk - A mounted volume """ |
|---|
| 197 | n/a | want = 'Disk' |
|---|
| 198 | n/a | |
|---|
| 199 | n/a | name = name |
|---|
| 200 | n/a | |
|---|
| 201 | n/a | comment = comment |
|---|
| 202 | n/a | class locked(aetools.NProperty): |
|---|
| 203 | n/a | """locked - Is the disk locked? """ |
|---|
| 204 | n/a | which = 'islk' |
|---|
| 205 | n/a | want = 'bool' |
|---|
| 206 | n/a | class creation_date(aetools.NProperty): |
|---|
| 207 | n/a | """creation date - the creation date of disk """ |
|---|
| 208 | n/a | which = 'ascd' |
|---|
| 209 | n/a | want = 'ldt ' |
|---|
| 210 | n/a | class modification_date(aetools.NProperty): |
|---|
| 211 | n/a | """modification date - the modification date of disk """ |
|---|
| 212 | n/a | which = 'asmo' |
|---|
| 213 | n/a | want = 'ldt ' |
|---|
| 214 | n/a | class crc32_checksum(aetools.NProperty): |
|---|
| 215 | n/a | """crc32 checksum - the crc-32 checksum of the disk """ |
|---|
| 216 | n/a | which = 'Xcrc' |
|---|
| 217 | n/a | want = 'TEXT' |
|---|
| 218 | n/a | class disk_copy_4_2e_2_checksum(aetools.NProperty): |
|---|
| 219 | n/a | """disk copy 4.2 checksum - the Disk Copy 4.2 checksum of the disk """ |
|---|
| 220 | n/a | which = 'Xc42' |
|---|
| 221 | n/a | want = 'TEXT' |
|---|
| 222 | n/a | class block_count(aetools.NProperty): |
|---|
| 223 | n/a | """block count - the number of blocks on disk """ |
|---|
| 224 | n/a | which = 'Xblk' |
|---|
| 225 | n/a | want = 'long' |
|---|
| 226 | n/a | class file_system(aetools.NProperty): |
|---|
| 227 | n/a | """file system - the file system used on disk """ |
|---|
| 228 | n/a | which = 'Xfsi' |
|---|
| 229 | n/a | want = 'TEXT' |
|---|
| 230 | n/a | |
|---|
| 231 | n/a | class folder(aetools.ComponentItem): |
|---|
| 232 | n/a | """folder - A folder or directory on a disk """ |
|---|
| 233 | n/a | want = 'Fold' |
|---|
| 234 | n/a | |
|---|
| 235 | n/a | name = name |
|---|
| 236 | n/a | |
|---|
| 237 | n/a | comment = comment |
|---|
| 238 | n/a | |
|---|
| 239 | n/a | creation_date = creation_date |
|---|
| 240 | n/a | |
|---|
| 241 | n/a | modification_date = modification_date |
|---|
| 242 | n/a | |
|---|
| 243 | n/a | class disk_image(aetools.ComponentItem): |
|---|
| 244 | n/a | """disk image - A disk image file """ |
|---|
| 245 | n/a | want = 'DImg' |
|---|
| 246 | n/a | |
|---|
| 247 | n/a | name = name |
|---|
| 248 | n/a | |
|---|
| 249 | n/a | comment = comment |
|---|
| 250 | n/a | |
|---|
| 251 | n/a | locked = locked |
|---|
| 252 | n/a | |
|---|
| 253 | n/a | creation_date = creation_date |
|---|
| 254 | n/a | |
|---|
| 255 | n/a | modification_date = modification_date |
|---|
| 256 | n/a | class file_format(aetools.NProperty): |
|---|
| 257 | n/a | """file format - the format of the disk image file """ |
|---|
| 258 | n/a | which = 'Ifmt' |
|---|
| 259 | n/a | want = 'TEXT' |
|---|
| 260 | n/a | class signed(aetools.NProperty): |
|---|
| 261 | n/a | """signed - Does the disk image have a DigiSign signature? """ |
|---|
| 262 | n/a | which = 'Isin' |
|---|
| 263 | n/a | want = 'bool' |
|---|
| 264 | n/a | class compressed(aetools.NProperty): |
|---|
| 265 | n/a | """compressed - Is the disk image compressed? """ |
|---|
| 266 | n/a | which = 'Icom' |
|---|
| 267 | n/a | want = 'bool' |
|---|
| 268 | n/a | class segmented(aetools.NProperty): |
|---|
| 269 | n/a | """segmented - Is the disk image segmented? """ |
|---|
| 270 | n/a | which = 'Iseg' |
|---|
| 271 | n/a | want = 'bool' |
|---|
| 272 | n/a | class segments(aetools.NProperty): |
|---|
| 273 | n/a | """segments - a list of references to other segments that make up a complete image """ |
|---|
| 274 | n/a | which = 'Isg#' |
|---|
| 275 | n/a | want = 'fss ' |
|---|
| 276 | n/a | class disk_name(aetools.NProperty): |
|---|
| 277 | n/a | """disk name - the name of the disk this image represents """ |
|---|
| 278 | n/a | which = 'Idnm' |
|---|
| 279 | n/a | want = 'TEXT' |
|---|
| 280 | n/a | |
|---|
| 281 | n/a | crc32_checksum = crc32_checksum |
|---|
| 282 | n/a | |
|---|
| 283 | n/a | disk_copy_4_2e_2_checksum = disk_copy_4_2e_2_checksum |
|---|
| 284 | n/a | |
|---|
| 285 | n/a | block_count = block_count |
|---|
| 286 | n/a | |
|---|
| 287 | n/a | file_system = file_system |
|---|
| 288 | n/a | class data_fork_size(aetools.NProperty): |
|---|
| 289 | n/a | """data fork size - the size (in bytes) of the data fork of the disk image """ |
|---|
| 290 | n/a | which = 'Idfk' |
|---|
| 291 | n/a | want = 'long' |
|---|
| 292 | n/a | class resource_fork_size(aetools.NProperty): |
|---|
| 293 | n/a | """resource fork size - the size (in bytes) of the resource fork of the disk image """ |
|---|
| 294 | n/a | which = 'Irfk' |
|---|
| 295 | n/a | want = 'long' |
|---|
| 296 | n/a | |
|---|
| 297 | n/a | class Save_reply_record(aetools.ComponentItem): |
|---|
| 298 | n/a | """Save reply record - Result from the save operation """ |
|---|
| 299 | n/a | want = 'cpyR' |
|---|
| 300 | n/a | class resulting_target_object(aetools.NProperty): |
|---|
| 301 | n/a | """resulting target object - a reference to the target object after it has been saved """ |
|---|
| 302 | n/a | which = 'rcpO' |
|---|
| 303 | n/a | want = 'obj ' |
|---|
| 304 | n/a | class copy_type(aetools.NProperty): |
|---|
| 305 | n/a | """copy type - the way in which the target object was saved """ |
|---|
| 306 | n/a | which = 'rcpT' |
|---|
| 307 | n/a | want = 'rcpT' |
|---|
| 308 | n/a | application._propdict = { |
|---|
| 309 | n/a | 'version' : version, |
|---|
| 310 | n/a | 'name' : name, |
|---|
| 311 | n/a | 'comment' : comment, |
|---|
| 312 | n/a | 'driver_version' : driver_version, |
|---|
| 313 | n/a | 'nonejectable_mode' : nonejectable_mode, |
|---|
| 314 | n/a | 'save_log_file' : save_log_file, |
|---|
| 315 | n/a | 'use_speech' : use_speech, |
|---|
| 316 | n/a | 'smart_Save_As' : smart_Save_As, |
|---|
| 317 | n/a | 'checksum_verification' : checksum_verification, |
|---|
| 318 | n/a | 'signature_verification' : signature_verification, |
|---|
| 319 | n/a | 'exclude_DiskScripts' : exclude_DiskScripts, |
|---|
| 320 | n/a | 'exclude_remote_images' : exclude_remote_images, |
|---|
| 321 | n/a | 'image_signing' : image_signing, |
|---|
| 322 | n/a | 'leave_image_mounted' : leave_image_mounted, |
|---|
| 323 | n/a | 'erase_confirmation' : erase_confirmation, |
|---|
| 324 | n/a | 'zeroing' : zeroing, |
|---|
| 325 | n/a | 'default_create_size' : default_create_size, |
|---|
| 326 | n/a | 'default_create_name' : default_create_name, |
|---|
| 327 | n/a | 'make_multiple_floppies' : make_multiple_floppies, |
|---|
| 328 | n/a | 'auto_image_upon_insert' : auto_image_upon_insert, |
|---|
| 329 | n/a | 'eject_after_auto_image' : eject_after_auto_image, |
|---|
| 330 | n/a | 'auto_copy_upon_floppy_insert' : auto_copy_upon_floppy_insert, |
|---|
| 331 | n/a | 'volume_suffix' : volume_suffix, |
|---|
| 332 | n/a | 'image_suffix' : image_suffix, |
|---|
| 333 | n/a | 'default_file_system' : default_file_system, |
|---|
| 334 | n/a | 'default_image_format' : default_image_format, |
|---|
| 335 | n/a | } |
|---|
| 336 | n/a | application._elemdict = { |
|---|
| 337 | n/a | } |
|---|
| 338 | n/a | disk._propdict = { |
|---|
| 339 | n/a | 'name' : name, |
|---|
| 340 | n/a | 'comment' : comment, |
|---|
| 341 | n/a | 'locked' : locked, |
|---|
| 342 | n/a | 'creation_date' : creation_date, |
|---|
| 343 | n/a | 'modification_date' : modification_date, |
|---|
| 344 | n/a | 'crc32_checksum' : crc32_checksum, |
|---|
| 345 | n/a | 'disk_copy_4_2e_2_checksum' : disk_copy_4_2e_2_checksum, |
|---|
| 346 | n/a | 'block_count' : block_count, |
|---|
| 347 | n/a | 'file_system' : file_system, |
|---|
| 348 | n/a | } |
|---|
| 349 | n/a | disk._elemdict = { |
|---|
| 350 | n/a | } |
|---|
| 351 | n/a | folder._propdict = { |
|---|
| 352 | n/a | 'name' : name, |
|---|
| 353 | n/a | 'comment' : comment, |
|---|
| 354 | n/a | 'creation_date' : creation_date, |
|---|
| 355 | n/a | 'modification_date' : modification_date, |
|---|
| 356 | n/a | } |
|---|
| 357 | n/a | folder._elemdict = { |
|---|
| 358 | n/a | } |
|---|
| 359 | n/a | disk_image._propdict = { |
|---|
| 360 | n/a | 'name' : name, |
|---|
| 361 | n/a | 'comment' : comment, |
|---|
| 362 | n/a | 'locked' : locked, |
|---|
| 363 | n/a | 'creation_date' : creation_date, |
|---|
| 364 | n/a | 'modification_date' : modification_date, |
|---|
| 365 | n/a | 'file_format' : file_format, |
|---|
| 366 | n/a | 'signed' : signed, |
|---|
| 367 | n/a | 'compressed' : compressed, |
|---|
| 368 | n/a | 'segmented' : segmented, |
|---|
| 369 | n/a | 'segments' : segments, |
|---|
| 370 | n/a | 'disk_name' : disk_name, |
|---|
| 371 | n/a | 'crc32_checksum' : crc32_checksum, |
|---|
| 372 | n/a | 'disk_copy_4_2e_2_checksum' : disk_copy_4_2e_2_checksum, |
|---|
| 373 | n/a | 'block_count' : block_count, |
|---|
| 374 | n/a | 'file_system' : file_system, |
|---|
| 375 | n/a | 'data_fork_size' : data_fork_size, |
|---|
| 376 | n/a | 'resource_fork_size' : resource_fork_size, |
|---|
| 377 | n/a | } |
|---|
| 378 | n/a | disk_image._elemdict = { |
|---|
| 379 | n/a | } |
|---|
| 380 | n/a | Save_reply_record._propdict = { |
|---|
| 381 | n/a | 'resulting_target_object' : resulting_target_object, |
|---|
| 382 | n/a | 'copy_type' : copy_type, |
|---|
| 383 | n/a | } |
|---|
| 384 | n/a | Save_reply_record._elemdict = { |
|---|
| 385 | n/a | } |
|---|
| 386 | n/a | _Enum_UIAc = { |
|---|
| 387 | n/a | 'never_interact' : 'eNvr', # DonÕt allow any interaction at all |
|---|
| 388 | n/a | 'interact_with_self' : 'eInS', # Only allow interaction from internal events |
|---|
| 389 | n/a | 'interact_with_local' : 'eInL', # Allow interaction from any event originating on this machine |
|---|
| 390 | n/a | 'interact_with_all' : 'eInA', # Allow interaction from network events |
|---|
| 391 | n/a | } |
|---|
| 392 | n/a | |
|---|
| 393 | n/a | _Enum_SvAs = { |
|---|
| 394 | n/a | 'NDIF_RW' : 'RdWr', # read/write NDIF disk image |
|---|
| 395 | n/a | 'NDIF_RO' : 'Rdxx', # read-only NDIF disk image |
|---|
| 396 | n/a | 'NDIF_Compressed' : 'ROCo', # compressed NDIF disk image |
|---|
| 397 | n/a | 'Disk_Copy_4_2e_2' : 'DC42', # Disk Copy 4.2 disk image |
|---|
| 398 | n/a | } |
|---|
| 399 | n/a | |
|---|
| 400 | n/a | _Enum_rcpT = { |
|---|
| 401 | n/a | 'block_disk_copy' : 'cpBl', # block-by-block disk-level copy |
|---|
| 402 | n/a | 'files_and_file_ID_copy' : 'cpID', # all files including desktop databases and file IDÕs |
|---|
| 403 | n/a | 'files_and_desktop_info' : 'cpDT', # all files and most desktop information |
|---|
| 404 | n/a | 'files_only' : 'cpFI', # all files but no desktop information |
|---|
| 405 | n/a | 'disk_image_conversion' : 'cpCV', # disk image format conversion |
|---|
| 406 | n/a | 'disk_image_creation' : 'cpCR', # disk image creation |
|---|
| 407 | n/a | } |
|---|
| 408 | n/a | |
|---|
| 409 | n/a | _Enum_long = None # XXXX enum long not found!! |
|---|
| 410 | n/a | _Enum_bool = None # XXXX enum bool not found!! |
|---|
| 411 | n/a | _Enum_obj_ = None # XXXX enum obj not found!! |
|---|
| 412 | n/a | |
|---|
| 413 | n/a | # |
|---|
| 414 | n/a | # Indices of types declared in this module |
|---|
| 415 | n/a | # |
|---|
| 416 | n/a | _classdeclarations = { |
|---|
| 417 | n/a | 'DImg' : disk_image, |
|---|
| 418 | n/a | 'capp' : application, |
|---|
| 419 | n/a | 'Disk' : disk, |
|---|
| 420 | n/a | 'Fold' : folder, |
|---|
| 421 | n/a | 'cpyR' : Save_reply_record, |
|---|
| 422 | n/a | } |
|---|
| 423 | n/a | |
|---|
| 424 | n/a | _propdeclarations = { |
|---|
| 425 | n/a | 'Xcrc' : crc32_checksum, |
|---|
| 426 | n/a | 'PDeS' : default_create_size, |
|---|
| 427 | n/a | 'Idnm' : disk_name, |
|---|
| 428 | n/a | 'PSSP' : smart_Save_As, |
|---|
| 429 | n/a | 'Pcpf' : auto_copy_upon_floppy_insert, |
|---|
| 430 | n/a | 'pnam' : name, |
|---|
| 431 | n/a | 'Isin' : signed, |
|---|
| 432 | n/a | 'otto' : nonejectable_mode, |
|---|
| 433 | n/a | 'PExD' : exclude_DiskScripts, |
|---|
| 434 | n/a | 'Iseg' : segmented, |
|---|
| 435 | n/a | 'islk' : locked, |
|---|
| 436 | n/a | 'asmo' : modification_date, |
|---|
| 437 | n/a | 'PTlk' : use_speech, |
|---|
| 438 | n/a | 'Pfsy' : default_file_system, |
|---|
| 439 | n/a | 'PVeC' : checksum_verification, |
|---|
| 440 | n/a | 'Xc42' : disk_copy_4_2e_2_checksum, |
|---|
| 441 | n/a | 'rcpO' : resulting_target_object, |
|---|
| 442 | n/a | 'Paim' : auto_image_upon_insert, |
|---|
| 443 | n/a | 'comt' : comment, |
|---|
| 444 | n/a | 'PCoE' : erase_confirmation, |
|---|
| 445 | n/a | 'dVer' : driver_version, |
|---|
| 446 | n/a | 'PDeN' : default_create_name, |
|---|
| 447 | n/a | 'PBuM' : make_multiple_floppies, |
|---|
| 448 | n/a | 'rcpT' : copy_type, |
|---|
| 449 | n/a | 'PDiE' : volume_suffix, |
|---|
| 450 | n/a | 'Ifmt' : file_format, |
|---|
| 451 | n/a | 'Pdfm' : default_image_format, |
|---|
| 452 | n/a | 'ascd' : creation_date, |
|---|
| 453 | n/a | 'Pejc' : eject_after_auto_image, |
|---|
| 454 | n/a | 'PZeB' : zeroing, |
|---|
| 455 | n/a | 'PExR' : exclude_remote_images, |
|---|
| 456 | n/a | 'PImE' : image_suffix, |
|---|
| 457 | n/a | 'PVeS' : signature_verification, |
|---|
| 458 | n/a | 'PSaL' : save_log_file, |
|---|
| 459 | n/a | 'Xblk' : block_count, |
|---|
| 460 | n/a | 'PMoA' : leave_image_mounted, |
|---|
| 461 | n/a | 'Isg#' : segments, |
|---|
| 462 | n/a | 'Irfk' : resource_fork_size, |
|---|
| 463 | n/a | 'Icom' : compressed, |
|---|
| 464 | n/a | 'Xfsi' : file_system, |
|---|
| 465 | n/a | 'Idfk' : data_fork_size, |
|---|
| 466 | n/a | 'vers' : version, |
|---|
| 467 | n/a | 'PSiI' : image_signing, |
|---|
| 468 | n/a | } |
|---|
| 469 | n/a | |
|---|
| 470 | n/a | _compdeclarations = { |
|---|
| 471 | n/a | } |
|---|
| 472 | n/a | |
|---|
| 473 | n/a | _enumdeclarations = { |
|---|
| 474 | n/a | 'SvAs' : _Enum_SvAs, |
|---|
| 475 | n/a | 'UIAc' : _Enum_UIAc, |
|---|
| 476 | n/a | 'rcpT' : _Enum_rcpT, |
|---|
| 477 | n/a | } |
|---|