1"""Suite Containers and folders: Classes that can contain other file system items
2Level 1, version 1
3
4Generated from /System/Library/CoreServices/Finder.app
5AETE/AEUT resource version 0/144, language 0, script 0
6"""
7
8import aetools
9import MacOS
10
11_code = 'fndr'
12
13class Containers_and_folders_Events:
14
15    pass
16
17
18class disk(aetools.ComponentItem):
19    """disk - A disk """
20    want = 'cdis'
21class _Prop__3c_Inheritance_3e_(aetools.NProperty):
22    """<Inheritance> - inherits some of its properties from the container class """
23    which = 'c@#^'
24    want = 'ctnr'
25class _Prop_capacity(aetools.NProperty):
26    """capacity - the total number of bytes (free or used) on the disk """
27    which = 'capa'
28    want = 'comp'
29class _Prop_ejectable(aetools.NProperty):
30    """ejectable - Can the media be ejected (floppies, CD's, and so on)? """
31    which = 'isej'
32    want = 'bool'
33class _Prop_format(aetools.NProperty):
34    """format - the filesystem format of this disk """
35    which = 'dfmt'
36    want = 'edfm'
37class _Prop_free_space(aetools.NProperty):
38    """free space - the number of free bytes left on the disk """
39    which = 'frsp'
40    want = 'comp'
41class _Prop_ignore_privileges(aetools.NProperty):
42    """ignore privileges - Ignore permissions on this disk? """
43    which = 'igpr'
44    want = 'bool'
45class _Prop_local_volume(aetools.NProperty):
46    """local volume - Is the media a local volume (as opposed to a file server)? """
47    which = 'isrv'
48    want = 'bool'
49class _Prop_startup(aetools.NProperty):
50    """startup - Is this disk the boot disk? """
51    which = 'istd'
52    want = 'bool'
53#        element 'alia' as ['indx', 'name']
54#        element 'appf' as ['indx', 'name', 'ID  ']
55#        element 'cfol' as ['indx', 'name', 'ID  ']
56#        element 'clpf' as ['indx', 'name']
57#        element 'cobj' as ['indx', 'name']
58#        element 'ctnr' as ['indx', 'name']
59#        element 'docf' as ['indx', 'name']
60#        element 'file' as ['indx', 'name']
61#        element 'inlf' as ['indx', 'name']
62#        element 'pack' as ['indx', 'name']
63
64disks = disk
65
66class desktop_2d_object(aetools.ComponentItem):
67    """desktop-object - Desktop-object is the class of the \xd2desktop\xd3 object """
68    want = 'cdsk'
69#        element 'alia' as ['indx', 'name']
70#        element 'appf' as ['indx', 'name', 'ID  ']
71#        element 'cdis' as ['indx', 'name']
72#        element 'cfol' as ['indx', 'name', 'ID  ']
73#        element 'clpf' as ['indx', 'name']
74#        element 'cobj' as ['indx', 'name']
75#        element 'ctnr' as ['indx', 'name']
76#        element 'docf' as ['indx', 'name']
77#        element 'file' as ['indx', 'name']
78#        element 'inlf' as ['indx', 'name']
79#        element 'pack' as ['indx', 'name']
80
81class folder(aetools.ComponentItem):
82    """folder - A folder """
83    want = 'cfol'
84#        element 'alia' as ['indx', 'name']
85#        element 'appf' as ['indx', 'name', 'ID  ']
86#        element 'cfol' as ['indx', 'name', 'ID  ']
87#        element 'clpf' as ['indx', 'name']
88#        element 'cobj' as ['indx', 'name']
89#        element 'ctnr' as ['indx', 'name']
90#        element 'docf' as ['indx', 'name']
91#        element 'file' as ['indx', 'name']
92#        element 'inlf' as ['indx', 'name']
93#        element 'pack' as ['indx', 'name']
94
95folders = folder
96
97class container(aetools.ComponentItem):
98    """container - An item that contains other items """
99    want = 'ctnr'
100class _Prop_completely_expanded(aetools.NProperty):
101    """completely expanded - (NOT AVAILABLE YET) Are the container and all of its children opened as outlines? (can only be set for containers viewed as lists) """
102    which = 'pexc'
103    want = 'bool'
104class _Prop_container_window(aetools.NProperty):
105    """container window - the container window for this folder """
106    which = 'cwnd'
107    want = 'obj '
108class _Prop_entire_contents(aetools.NProperty):
109    """entire contents - the entire contents of the container, including the contents of its children """
110    which = 'ects'
111    want = 'obj '
112class _Prop_expandable(aetools.NProperty):
113    """expandable - (NOT AVAILABLE YET) Is the container capable of being expanded as an outline? """
114    which = 'pexa'
115    want = 'bool'
116class _Prop_expanded(aetools.NProperty):
117    """expanded - (NOT AVAILABLE YET) Is the container opened as an outline? (can only be set for containers viewed as lists) """
118    which = 'pexp'
119    want = 'bool'
120#        element 'alia' as ['indx', 'name']
121#        element 'appf' as ['indx', 'name', 'ID  ']
122#        element 'cfol' as ['indx', 'name', 'ID  ']
123#        element 'clpf' as ['indx', 'name']
124#        element 'cobj' as ['indx', 'name']
125#        element 'ctnr' as ['indx', 'name']
126#        element 'docf' as ['indx', 'name']
127#        element 'file' as ['indx', 'name']
128#        element 'inlf' as ['indx', 'name']
129#        element 'pack' as ['indx', 'name']
130
131containers = container
132
133class trash_2d_object(aetools.ComponentItem):
134    """trash-object - Trash-object is the class of the \xd2trash\xd3 object """
135    want = 'ctrs'
136class _Prop_warns_before_emptying(aetools.NProperty):
137    """warns before emptying - Display a dialog when emptying the trash? """
138    which = 'warn'
139    want = 'bool'
140#        element 'alia' as ['indx', 'name']
141#        element 'appf' as ['indx', 'name', 'ID  ']
142#        element 'cfol' as ['indx', 'name', 'ID  ']
143#        element 'clpf' as ['indx', 'name']
144#        element 'cobj' as ['indx', 'name']
145#        element 'ctnr' as ['indx', 'name']
146#        element 'docf' as ['indx', 'name']
147#        element 'file' as ['indx', 'name']
148#        element 'inlf' as ['indx', 'name']
149#        element 'pack' as ['indx', 'name']
150disk._superclassnames = ['container']
151import Files
152import Finder_items
153disk._privpropdict = {
154    '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_,
155    'capacity' : _Prop_capacity,
156    'ejectable' : _Prop_ejectable,
157    'format' : _Prop_format,
158    'free_space' : _Prop_free_space,
159    'ignore_privileges' : _Prop_ignore_privileges,
160    'local_volume' : _Prop_local_volume,
161    'startup' : _Prop_startup,
162}
163disk._privelemdict = {
164    'alias_file' : Files.alias_file,
165    'application_file' : Files.application_file,
166    'clipping' : Files.clipping,
167    'container' : container,
168    'document_file' : Files.document_file,
169    'file' : Files.file,
170    'folder' : folder,
171    'internet_location_file' : Files.internet_location_file,
172    'item' : Finder_items.item,
173    'package' : Files.package,
174}
175desktop_2d_object._superclassnames = ['container']
176desktop_2d_object._privpropdict = {
177    '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_,
178}
179desktop_2d_object._privelemdict = {
180    'alias_file' : Files.alias_file,
181    'application_file' : Files.application_file,
182    'clipping' : Files.clipping,
183    'container' : container,
184    'disk' : disk,
185    'document_file' : Files.document_file,
186    'file' : Files.file,
187    'folder' : folder,
188    'internet_location_file' : Files.internet_location_file,
189    'item' : Finder_items.item,
190    'package' : Files.package,
191}
192folder._superclassnames = ['container']
193folder._privpropdict = {
194    '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_,
195}
196folder._privelemdict = {
197    'alias_file' : Files.alias_file,
198    'application_file' : Files.application_file,
199    'clipping' : Files.clipping,
200    'container' : container,
201    'document_file' : Files.document_file,
202    'file' : Files.file,
203    'folder' : folder,
204    'internet_location_file' : Files.internet_location_file,
205    'item' : Finder_items.item,
206    'package' : Files.package,
207}
208container._superclassnames = ['item']
209container._privpropdict = {
210    '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_,
211    'completely_expanded' : _Prop_completely_expanded,
212    'container_window' : _Prop_container_window,
213    'entire_contents' : _Prop_entire_contents,
214    'expandable' : _Prop_expandable,
215    'expanded' : _Prop_expanded,
216}
217container._privelemdict = {
218    'alias_file' : Files.alias_file,
219    'application_file' : Files.application_file,
220    'clipping' : Files.clipping,
221    'container' : container,
222    'document_file' : Files.document_file,
223    'file' : Files.file,
224    'folder' : folder,
225    'internet_location_file' : Files.internet_location_file,
226    'item' : Finder_items.item,
227    'package' : Files.package,
228}
229trash_2d_object._superclassnames = ['container']
230trash_2d_object._privpropdict = {
231    '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_,
232    'warns_before_emptying' : _Prop_warns_before_emptying,
233}
234trash_2d_object._privelemdict = {
235    'alias_file' : Files.alias_file,
236    'application_file' : Files.application_file,
237    'clipping' : Files.clipping,
238    'container' : container,
239    'document_file' : Files.document_file,
240    'file' : Files.file,
241    'folder' : folder,
242    'internet_location_file' : Files.internet_location_file,
243    'item' : Finder_items.item,
244    'package' : Files.package,
245}
246
247#
248# Indices of types declared in this module
249#
250_classdeclarations = {
251    'cdis' : disk,
252    'cdsk' : desktop_2d_object,
253    'cfol' : folder,
254    'ctnr' : container,
255    'ctrs' : trash_2d_object,
256}
257
258_propdeclarations = {
259    'c@#^' : _Prop__3c_Inheritance_3e_,
260    'capa' : _Prop_capacity,
261    'cwnd' : _Prop_container_window,
262    'dfmt' : _Prop_format,
263    'ects' : _Prop_entire_contents,
264    'frsp' : _Prop_free_space,
265    'igpr' : _Prop_ignore_privileges,
266    'isej' : _Prop_ejectable,
267    'isrv' : _Prop_local_volume,
268    'istd' : _Prop_startup,
269    'pexa' : _Prop_expandable,
270    'pexc' : _Prop_completely_expanded,
271    'pexp' : _Prop_expanded,
272    'warn' : _Prop_warns_before_emptying,
273}
274
275_compdeclarations = {
276}
277
278_enumdeclarations = {
279}
280