• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1"""Suite Macintosh Connectivity Classes: Classes relating to Apple Macintosh personal computer connectivity
2Level 1, version 1
3
4Generated from /Volumes/Sap/System Folder/Extensions/AppleScript
5AETE/AEUT resource version 1/0, language 0, script 0
6"""
7
8import aetools
9import MacOS
10
11_code = 'macc'
12
13class Macintosh_Connectivity_Clas_Events:
14
15    pass
16
17
18class ADB_address(aetools.ComponentItem):
19    """ADB address - Addresses a device connected via Apple Desktop Bus """
20    want = 'cadb'
21class _Prop__3c_inheritance_3e_(aetools.NProperty):
22    """<inheritance> - inherits some of its properties from this class """
23    which = 'c@#^'
24    want = 'cadr'
25class _Prop_ID(aetools.NProperty):
26    """ID - the Apple Desktop Bus device ID """
27    which = 'ID  '
28    want = 'shor'
29
30ADB_addresses = ADB_address
31
32class address_specification(aetools.ComponentItem):
33    """address specification - Unique designation of a device or service connected to this computer """
34    want = 'cadr'
35class _Prop_conduit(aetools.NProperty):
36    """conduit - How the addressee is physically connected """
37    which = 'pcon'
38    want = 'econ'
39class _Prop_properties(aetools.NProperty):
40    """properties - property that allows getting and setting of multiple properties """
41    which = 'pALL'
42    want = 'reco'
43class _Prop_protocol(aetools.NProperty):
44    """protocol - How to talk to this addressee """
45    which = 'pprt'
46    want = 'epro'
47
48address_specifications = address_specification
49
50class AppleTalk_address(aetools.ComponentItem):
51    """AppleTalk address - Addresses a device or service connected via the AppleTalk protocol """
52    want = 'cat '
53class _Prop_AppleTalk_machine(aetools.NProperty):
54    """AppleTalk machine - the machine name part of the address """
55    which = 'patm'
56    want = 'TEXT'
57class _Prop_AppleTalk_type(aetools.NProperty):
58    """AppleTalk type - the type part of the AppleTalk address """
59    which = 'patt'
60    want = 'TEXT'
61class _Prop_AppleTalk_zone(aetools.NProperty):
62    """AppleTalk zone - the zone part of the address """
63    which = 'patz'
64    want = 'TEXT'
65
66AppleTalk_addresses = AppleTalk_address
67
68class bus_slot(aetools.ComponentItem):
69    """bus slot - Addresses a PC, PCI, or NuBus card """
70    want = 'cbus'
71
72bus_slots = bus_slot
73
74class device_specification(aetools.ComponentItem):
75    """device specification - A device connected to a computer """
76    want = 'cdev'
77class _Prop_device_address(aetools.NProperty):
78    """device address - the address of the device """
79    which = 'pdva'
80    want = 'cadr'
81class _Prop_device_type(aetools.NProperty):
82    """device type - the kind of device """
83    which = 'pdvt'
84    want = 'edvt'
85
86device_specifications = device_specification
87
88class Ethernet_address(aetools.ComponentItem):
89    """Ethernet address - Addresses a device by its Ethernet address """
90    want = 'cen '
91
92Ethernet_addresses = Ethernet_address
93
94class FireWire_address(aetools.ComponentItem):
95    """FireWire address - Addresses a device on the FireWire bus """
96    want = 'cfw '
97
98FireWire_addresses = FireWire_address
99
100class IP_address(aetools.ComponentItem):
101    """IP address - Addresses a device or service via the Internet Protocol (IP) """
102    want = 'cip '
103class _Prop_DNS_form(aetools.NProperty):
104    """DNS form - the address in the form "apple.com" """
105    which = 'pdns'
106    want = 'TEXT'
107class _Prop_port(aetools.NProperty):
108    """port - the port number of the service or client being addressed """
109    which = 'ppor'
110    want = 'TEXT'
111
112IP_addresses = IP_address
113
114class LocalTalk_address(aetools.ComponentItem):
115    """LocalTalk address - Addresses a device by its LocalTalk address """
116    want = 'clt '
117class _Prop_network(aetools.NProperty):
118    """network - the LocalTalk network number """
119    which = 'pnet'
120    want = 'shor'
121class _Prop_node(aetools.NProperty):
122    """node - the LocalTalk node number """
123    which = 'pnod'
124    want = 'shor'
125class _Prop_socket(aetools.NProperty):
126    """socket - the LocalTalk socket number """
127    which = 'psoc'
128    want = 'shor'
129
130LocalTalk_addresses = LocalTalk_address
131
132class SCSI_address(aetools.ComponentItem):
133    """SCSI address - Addresses a SCSI device """
134    want = 'cscs'
135class _Prop_LUN(aetools.NProperty):
136    """LUN - the SCSI logical unit number """
137    which = 'pslu'
138    want = 'shor'
139class _Prop_SCSI_bus(aetools.NProperty):
140    """SCSI bus - the SCSI bus number """
141    which = 'pscb'
142    want = 'shor'
143
144SCSI_addresses = SCSI_address
145
146class Token_Ring_address(aetools.ComponentItem):
147    """Token Ring address - Addresses a device or service via the Token Ring protocol """
148    want = 'ctok'
149
150Token_Ring_addresses = Token_Ring_address
151
152class USB_address(aetools.ComponentItem):
153    """USB address - Addresses a device on the Universal Serial Bus """
154    want = 'cusb'
155class _Prop_name(aetools.NProperty):
156    """name - the USB device name """
157    which = 'pnam'
158    want = 'TEXT'
159
160USB_Addresses = USB_address
161ADB_address._superclassnames = ['address_specification']
162ADB_address._privpropdict = {
163    'ID' : _Prop_ID,
164    '_3c_inheritance_3e_' : _Prop__3c_inheritance_3e_,
165}
166ADB_address._privelemdict = {
167}
168address_specification._superclassnames = []
169address_specification._privpropdict = {
170    'conduit' : _Prop_conduit,
171    'properties' : _Prop_properties,
172    'protocol' : _Prop_protocol,
173}
174address_specification._privelemdict = {
175}
176AppleTalk_address._superclassnames = ['address_specification']
177AppleTalk_address._privpropdict = {
178    'AppleTalk_machine' : _Prop_AppleTalk_machine,
179    'AppleTalk_type' : _Prop_AppleTalk_type,
180    'AppleTalk_zone' : _Prop_AppleTalk_zone,
181    '_3c_inheritance_3e_' : _Prop__3c_inheritance_3e_,
182}
183AppleTalk_address._privelemdict = {
184}
185bus_slot._superclassnames = ['address_specification']
186bus_slot._privpropdict = {
187    'ID' : _Prop_ID,
188    '_3c_inheritance_3e_' : _Prop__3c_inheritance_3e_,
189}
190bus_slot._privelemdict = {
191}
192device_specification._superclassnames = []
193device_specification._privpropdict = {
194    'device_address' : _Prop_device_address,
195    'device_type' : _Prop_device_type,
196    'properties' : _Prop_properties,
197}
198device_specification._privelemdict = {
199}
200Ethernet_address._superclassnames = ['address_specification']
201Ethernet_address._privpropdict = {
202    'ID' : _Prop_ID,
203    '_3c_inheritance_3e_' : _Prop__3c_inheritance_3e_,
204}
205Ethernet_address._privelemdict = {
206}
207FireWire_address._superclassnames = ['address_specification']
208FireWire_address._privpropdict = {
209    'ID' : _Prop_ID,
210    '_3c_inheritance_3e_' : _Prop__3c_inheritance_3e_,
211}
212FireWire_address._privelemdict = {
213}
214IP_address._superclassnames = ['address_specification']
215IP_address._privpropdict = {
216    'DNS_form' : _Prop_DNS_form,
217    'ID' : _Prop_ID,
218    '_3c_inheritance_3e_' : _Prop__3c_inheritance_3e_,
219    'port' : _Prop_port,
220}
221IP_address._privelemdict = {
222}
223LocalTalk_address._superclassnames = ['address_specification']
224LocalTalk_address._privpropdict = {
225    '_3c_inheritance_3e_' : _Prop__3c_inheritance_3e_,
226    'network' : _Prop_network,
227    'node' : _Prop_node,
228    'socket' : _Prop_socket,
229}
230LocalTalk_address._privelemdict = {
231}
232SCSI_address._superclassnames = ['address_specification']
233SCSI_address._privpropdict = {
234    'ID' : _Prop_ID,
235    'LUN' : _Prop_LUN,
236    'SCSI_bus' : _Prop_SCSI_bus,
237    '_3c_inheritance_3e_' : _Prop__3c_inheritance_3e_,
238}
239SCSI_address._privelemdict = {
240}
241Token_Ring_address._superclassnames = ['address_specification']
242Token_Ring_address._privpropdict = {
243    'ID' : _Prop_ID,
244    '_3c_inheritance_3e_' : _Prop__3c_inheritance_3e_,
245}
246Token_Ring_address._privelemdict = {
247}
248USB_address._superclassnames = ['address_specification']
249USB_address._privpropdict = {
250    '_3c_inheritance_3e_' : _Prop__3c_inheritance_3e_,
251    'name' : _Prop_name,
252}
253USB_address._privelemdict = {
254}
255_Enum_econ = {
256    'ADB' : 'eadb',     #
257    'printer_port' : 'ecpp',    #
258    'modem_port' : 'ecmp',      #
259    'modem_printer_port' : 'empp',      #
260    'LocalTalk' : 'eclt',       #
261    'Ethernet' : 'ecen',        #
262    'Token_Ring' : 'etok',      #
263    'SCSI' : 'ecsc',    #
264    'USB' : 'ecus',     #
265    'FireWire' : 'ecfw',        #
266    'infrared' : 'ecir',        #
267    'PC_card' : 'ecpc', #
268    'PCI_bus' : 'ecpi', #
269    'NuBus' : 'enub',   #
270    'PDS_slot' : 'ecpd',        #
271    'Comm_slot' : 'eccm',       #
272    'monitor_out' : 'ecmn',     #
273    'video_out' : 'ecvo',       #
274    'video_in' : 'ecvi',        #
275    'audio_out' : 'ecao',       #
276    'audio_line_in' : 'ecai',   #
277    'audio_line_out' : 'ecal',  #
278    'microphone' : 'ecmi',      #
279}
280
281_Enum_edvt = {
282    'hard_disk_drive' : 'ehd ', #
283    'floppy_disk_drive' : 'efd ',       #
284    'CD_ROM_drive' : 'ecd ',    #
285    'DVD_drive' : 'edvd',       #
286    'storage_device' : 'edst',  #
287    'keyboard' : 'ekbd',        #
288    'mouse' : 'emou',   #
289    'trackball' : 'etrk',       #
290    'trackpad' : 'edtp',        #
291    'pointing_device' : 'edpd', #
292    'video_monitor' : 'edvm',   #
293    'LCD_display' : 'edlc',     #
294    'display' : 'edds', #
295    'modem' : 'edmm',   #
296    'PC_card' : 'ecpc', #
297    'PCI_card' : 'edpi',        #
298    'NuBus_card' : 'ednb',      #
299    'printer' : 'edpr', #
300    'speakers' : 'edsp',        #
301    'microphone' : 'ecmi',      #
302}
303
304_Enum_epro = {
305    'serial' : 'epsr',  #
306    'AppleTalk' : 'epat',       #
307    'IP' : 'epip',      #
308    'SCSI' : 'ecsc',    #
309    'ADB' : 'eadb',     #
310    'FireWire' : 'ecfw',        #
311    'IrDA' : 'epir',    #
312    'IRTalk' : 'epit',  #
313    'USB' : 'ecus',     #
314    'PC_card' : 'ecpc', #
315    'PCI_bus' : 'ecpi', #
316    'NuBus' : 'enub',   #
317    'bus' : 'ebus',     #
318    'Macintosh_video' : 'epmv', #
319    'SVGA' : 'epsg',    #
320    'S_video' : 'epsv', #
321    'analog_audio' : 'epau',    #
322    'digital_audio' : 'epda',   #
323    'PostScript' : 'epps',      #
324}
325
326
327#
328# Indices of types declared in this module
329#
330_classdeclarations = {
331    'cadb' : ADB_address,
332    'cadr' : address_specification,
333    'cat ' : AppleTalk_address,
334    'cbus' : bus_slot,
335    'cdev' : device_specification,
336    'cen ' : Ethernet_address,
337    'cfw ' : FireWire_address,
338    'cip ' : IP_address,
339    'clt ' : LocalTalk_address,
340    'cscs' : SCSI_address,
341    'ctok' : Token_Ring_address,
342    'cusb' : USB_address,
343}
344
345_propdeclarations = {
346    'ID  ' : _Prop_ID,
347    'c@#^' : _Prop__3c_inheritance_3e_,
348    'pALL' : _Prop_properties,
349    'patm' : _Prop_AppleTalk_machine,
350    'patt' : _Prop_AppleTalk_type,
351    'patz' : _Prop_AppleTalk_zone,
352    'pcon' : _Prop_conduit,
353    'pdns' : _Prop_DNS_form,
354    'pdva' : _Prop_device_address,
355    'pdvt' : _Prop_device_type,
356    'pnam' : _Prop_name,
357    'pnet' : _Prop_network,
358    'pnod' : _Prop_node,
359    'ppor' : _Prop_port,
360    'pprt' : _Prop_protocol,
361    'pscb' : _Prop_SCSI_bus,
362    'pslu' : _Prop_LUN,
363    'psoc' : _Prop_socket,
364}
365
366_compdeclarations = {
367}
368
369_enumdeclarations = {
370    'econ' : _Enum_econ,
371    'edvt' : _Enum_edvt,
372    'epro' : _Enum_epro,
373}
374