Macintosh_Connectivity_Clas.py 9.77 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377
"""Suite Macintosh Connectivity Classes: Classes relating to Apple Macintosh personal computer connectivity
Level 1, version 1

Generated from Macintosh HD:Systeemmap:Extensies:AppleScript
AETE/AEUT resource version 1/0, language 0, script 0
"""

import aetools
import MacOS

_code = 'macc'

class Macintosh_Connectivity_Clas_Events:

	pass


class device_specification(aetools.ComponentItem):
	"""device specification - A device connected to a computer """
	want = 'cdev'
class properties(aetools.NProperty):
	"""properties - property that allows getting and setting of multiple properties """
	which = 'pALL'
	want = 'reco'
class device_type(aetools.NProperty):
	"""device type - the kind of device """
	which = 'pdvt'
	want = 'edvt'
class device_address(aetools.NProperty):
	"""device address - the address of the device """
	which = 'pdva'
	want = 'cadr'

device_specifications = device_specification

class address_specification(aetools.ComponentItem):
	"""address specification - Unique designation of a device or service connected to this computer """
	want = 'cadr'
# repeated property properties property that allows getting and setting of multiple properties
class conduit(aetools.NProperty):
	"""conduit - How the addressee is physically connected """
	which = 'pcon'
	want = 'econ'
class protocol(aetools.NProperty):
	"""protocol - How to talk to this addressee """
	which = 'pprt'
	want = 'epro'

address_specifications = address_specification

class ADB_address(aetools.ComponentItem):
	"""ADB address - Addresses a device connected via Apple Desktop Bus """
	want = 'cadb'
class _3c_inheritance_3e_(aetools.NProperty):
	"""<inheritance> - inherits some of its properties from this class """
	which = 'c@#^'
	want = 'cadr'
class ID(aetools.NProperty):
	"""ID - the Apple Desktop Bus device ID """
	which = 'ID  '
	want = 'shor'

ADB_addresses = ADB_address

class AppleTalk_address(aetools.ComponentItem):
	"""AppleTalk address - Addresses a device or service connected via the AppleTalk protocol """
	want = 'cat '
# repeated property _3c_inheritance_3e_ inherits some of its properties from this class
class AppleTalk_machine(aetools.NProperty):
	"""AppleTalk machine - the machine name part of the address """
	which = 'patm'
	want = 'TEXT'
class AppleTalk_zone(aetools.NProperty):
	"""AppleTalk zone - the zone part of the address """
	which = 'patz'
	want = 'TEXT'
class AppleTalk_type(aetools.NProperty):
	"""AppleTalk type - the type part of the AppleTalk address """
	which = 'patt'
	want = 'TEXT'

AppleTalk_addresses = AppleTalk_address

class bus_slot(aetools.ComponentItem):
	"""bus slot - Addresses a PC, PCI, or NuBus card """
	want = 'cbus'
# repeated property _3c_inheritance_3e_ inherits some of its properties from this class
# repeated property ID the slot number

bus_slots = bus_slot

class Ethernet_address(aetools.ComponentItem):
	"""Ethernet address - Addresses a device by its Ethernet address """
	want = 'cen '
# repeated property _3c_inheritance_3e_ inherits some of its properties from this class
# repeated property ID the Ethernet address

Ethernet_addresses = Ethernet_address

class FireWire_address(aetools.ComponentItem):
	"""FireWire address - Addresses a device on the FireWire bus """
	want = 'cfw '
# repeated property _3c_inheritance_3e_ inherits some of its properties from this class
# repeated property ID the FireWire device ID

FireWire_addresses = FireWire_address

class IP_address(aetools.ComponentItem):
	"""IP address - Addresses a device or service via the Internet Protocol (IP) """
	want = 'cip '
# repeated property _3c_inheritance_3e_ inherits some of its properties from this class
# repeated property ID the address in the form "127.201.0.1"
class DNS_form(aetools.NProperty):
	"""DNS form - the address in the form "apple.com" """
	which = 'pdns'
	want = 'TEXT'
class port(aetools.NProperty):
	"""port - the port number of the service or client being addressed """
	which = 'ppor'
	want = 'TEXT'

IP_addresses = IP_address

class LocalTalk_address(aetools.ComponentItem):
	"""LocalTalk address - Addresses a device by its LocalTalk address """
	want = 'clt '
# repeated property _3c_inheritance_3e_ inherits some of its properties from this class
class network(aetools.NProperty):
	"""network - the LocalTalk network number """
	which = 'pnet'
	want = 'shor'
class node(aetools.NProperty):
	"""node - the LocalTalk node number """
	which = 'pnod'
	want = 'shor'
class socket(aetools.NProperty):
	"""socket - the LocalTalk socket number """
	which = 'psoc'
	want = 'shor'

LocalTalk_addresses = LocalTalk_address

class SCSI_address(aetools.ComponentItem):
	"""SCSI address - Addresses a SCSI device """
	want = 'cscs'
# repeated property _3c_inheritance_3e_ inherits some of its properties from this class
class SCSI_bus(aetools.NProperty):
	"""SCSI bus - the SCSI bus number """
	which = 'pscb'
	want = 'shor'
# repeated property ID the SCSI ID
class LUN(aetools.NProperty):
	"""LUN - the SCSI logical unit number """
	which = 'pslu'
	want = 'shor'

SCSI_addresses = SCSI_address

class Token_Ring_address(aetools.ComponentItem):
	"""Token Ring address - Addresses a device or service via the Token Ring protocol """
	want = 'ctok'
# repeated property _3c_inheritance_3e_ inherits some of its properties from this class
# repeated property ID the Token Ring ID

Token_Ring_addresses = Token_Ring_address

class USB_address(aetools.ComponentItem):
	"""USB address - Addresses a device on the Universal Serial Bus """
	want = 'cusb'
# repeated property _3c_inheritance_3e_ inherits some of its properties from this class
class name(aetools.NProperty):
	"""name - the USB device name """
	which = 'pnam'
	want = 'TEXT'

USB_Addresses = USB_address
device_specification._propdict = {
	'properties' : properties,
	'device_type' : device_type,
	'device_address' : device_address,
}
device_specification._elemdict = {
}
address_specification._propdict = {
	'properties' : properties,
	'conduit' : conduit,
	'protocol' : protocol,
}
address_specification._elemdict = {
}
ADB_address._propdict = {
	'_3c_inheritance_3e_' : _3c_inheritance_3e_,
	'ID' : ID,
}
ADB_address._elemdict = {
}
AppleTalk_address._propdict = {
	'_3c_inheritance_3e_' : _3c_inheritance_3e_,
	'AppleTalk_machine' : AppleTalk_machine,
	'AppleTalk_zone' : AppleTalk_zone,
	'AppleTalk_type' : AppleTalk_type,
}
AppleTalk_address._elemdict = {
}
bus_slot._propdict = {
	'_3c_inheritance_3e_' : _3c_inheritance_3e_,
	'ID' : ID,
}
bus_slot._elemdict = {
}
Ethernet_address._propdict = {
	'_3c_inheritance_3e_' : _3c_inheritance_3e_,
	'ID' : ID,
}
Ethernet_address._elemdict = {
}
FireWire_address._propdict = {
	'_3c_inheritance_3e_' : _3c_inheritance_3e_,
	'ID' : ID,
}
FireWire_address._elemdict = {
}
IP_address._propdict = {
	'_3c_inheritance_3e_' : _3c_inheritance_3e_,
	'ID' : ID,
	'DNS_form' : DNS_form,
	'port' : port,
}
IP_address._elemdict = {
}
LocalTalk_address._propdict = {
	'_3c_inheritance_3e_' : _3c_inheritance_3e_,
	'network' : network,
	'node' : node,
	'socket' : socket,
}
LocalTalk_address._elemdict = {
}
SCSI_address._propdict = {
	'_3c_inheritance_3e_' : _3c_inheritance_3e_,
	'SCSI_bus' : SCSI_bus,
	'ID' : ID,
	'LUN' : LUN,
}
SCSI_address._elemdict = {
}
Token_Ring_address._propdict = {
	'_3c_inheritance_3e_' : _3c_inheritance_3e_,
	'ID' : ID,
}
Token_Ring_address._elemdict = {
}
USB_address._propdict = {
	'_3c_inheritance_3e_' : _3c_inheritance_3e_,
	'name' : name,
}
USB_address._elemdict = {
}
_Enum_edvt = {
	'hard_disk_drive' : 'ehd ',	# 
	'floppy_disk_drive' : 'efd ',	# 
	'CD_ROM_drive' : 'ecd ',	# 
	'DVD_drive' : 'edvd',	# 
	'storage_device' : 'edst',	# 
	'keyboard' : 'ekbd',	# 
	'mouse' : 'emou',	# 
	'trackball' : 'etrk',	# 
	'trackpad' : 'edtp',	# 
	'pointing_device' : 'edpd',	# 
	'video_monitor' : 'edvm',	# 
	'LCD_display' : 'edlc',	# 
	'display' : 'edds',	# 
	'modem' : 'edmm',	# 
	'PC_card' : 'ecpc',	# 
	'PCI_card' : 'edpi',	# 
	'NuBus_card' : 'ednb',	# 
	'printer' : 'edpr',	# 
	'speakers' : 'edsp',	# 
	'microphone' : 'ecmi',	# 
}

_Enum_econ = {
	'ADB' : 'eadb',	# 
	'printer_port' : 'ecpp',	# 
	'modem_port' : 'ecmp',	# 
	'modem_printer_port' : 'empp',	# 
	'LocalTalk' : 'eclt',	# 
	'Ethernet' : 'ecen',	# 
	'Token_Ring' : 'etok',	# 
	'SCSI' : 'ecsc',	# 
	'USB' : 'ecus',	# 
	'FireWire' : 'ecfw',	# 
	'infrared' : 'ecir',	# 
	'PC_card' : 'ecpc',	# 
	'PCI_bus' : 'ecpi',	# 
	'NuBus' : 'enub',	# 
	'PDS_slot' : 'ecpd',	# 
	'Comm_slot' : 'eccm',	# 
	'monitor_out' : 'ecmn',	# 
	'video_out' : 'ecvo',	# 
	'video_in' : 'ecvi',	# 
	'audio_out' : 'ecao',	# 
	'audio_line_in' : 'ecai',	# 
	'audio_line_out' : 'ecal',	# 
	'microphone' : 'ecmi',	# 
}

_Enum_epro = {
	'serial' : 'epsr',	# 
	'AppleTalk' : 'epat',	# 
	'IP' : 'epip',	# 
	'SCSI' : 'ecsc',	# 
	'ADB' : 'eadb',	# 
	'FireWire' : 'ecfw',	# 
	'IrDA' : 'epir',	# 
	'IRTalk' : 'epit',	# 
	'USB' : 'ecus',	# 
	'PC_card' : 'ecpc',	# 
	'PCI_bus' : 'ecpi',	# 
	'NuBus' : 'enub',	# 
	'bus' : 'ebus',	# 
	'Macintosh_video' : 'epmv',	# 
	'SVGA' : 'epsg',	# 
	'S_video' : 'epsv',	# 
	'analog_audio' : 'epau',	# 
	'digital_audio' : 'epda',	# 
	'PostScript' : 'epps',	# 
}


#
# Indices of types declared in this module
#
_classdeclarations = {
	'cen ' : Ethernet_address,
	'clt ' : LocalTalk_address,
	'cip ' : IP_address,
	'cusb' : USB_address,
	'cadb' : ADB_address,
	'cscs' : SCSI_address,
	'cbus' : bus_slot,
	'cdev' : device_specification,
	'ctok' : Token_Ring_address,
	'cfw ' : FireWire_address,
	'cadr' : address_specification,
	'cat ' : AppleTalk_address,
}

_propdeclarations = {
	'pnod' : node,
	'pslu' : LUN,
	'patm' : AppleTalk_machine,
	'pdva' : device_address,
	'pscb' : SCSI_bus,
	'ppor' : port,
	'pALL' : properties,
	'ID  ' : ID,
	'c@#^' : _3c_inheritance_3e_,
	'pdvt' : device_type,
	'pnet' : network,
	'patz' : AppleTalk_zone,
	'pnam' : name,
	'pcon' : conduit,
	'pprt' : protocol,
	'patt' : AppleTalk_type,
	'psoc' : socket,
	'pdns' : DNS_form,
}

_compdeclarations = {
}

_enumdeclarations = {
	'econ' : _Enum_econ,
	'epro' : _Enum_epro,
	'edvt' : _Enum_edvt,
}