mirror of
				https://github.com/python/cpython.git
				synced 2025-11-03 23:21:29 +00:00 
			
		
		
		
	which sometimes seems to result in different terminology. It does seem to be mostly compatible, though.
		
			
				
	
	
		
			212 lines
		
	
	
	
		
			5.7 KiB
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			212 lines
		
	
	
	
		
			5.7 KiB
		
	
	
	
		
			Python
		
	
	
	
	
	
"""Suite Files: Classes representing files
 | 
						|
Level 1, version 1
 | 
						|
 | 
						|
Generated from /System/Library/CoreServices/Finder.app
 | 
						|
AETE/AEUT resource version 0/144, language 0, script 0
 | 
						|
"""
 | 
						|
 | 
						|
import aetools
 | 
						|
import MacOS
 | 
						|
 | 
						|
_code = 'fndr'
 | 
						|
 | 
						|
class Files_Events:
 | 
						|
 | 
						|
	pass
 | 
						|
 | 
						|
 | 
						|
class alias_file(aetools.ComponentItem):
 | 
						|
	"""alias file - An alias file (created with \xd2Make Alias\xd3) """
 | 
						|
	want = 'alia'
 | 
						|
class _3c_Inheritance_3e_(aetools.NProperty):
 | 
						|
	"""<Inheritance> - inherits some of its properties from the file class """
 | 
						|
	which = 'c@#^'
 | 
						|
	want = 'file'
 | 
						|
class original_item(aetools.NProperty):
 | 
						|
	"""original item - the original item pointed to by the alias """
 | 
						|
	which = 'orig'
 | 
						|
	want = 'obj '
 | 
						|
 | 
						|
alias_files = alias_file
 | 
						|
 | 
						|
class application_file(aetools.ComponentItem):
 | 
						|
	"""application file - An application's file on disk """
 | 
						|
	want = 'appf'
 | 
						|
class accepts_high_level_events(aetools.NProperty):
 | 
						|
	"""accepts high level events - Is the application high-level event aware? (OBSOLETE: always returns true) """
 | 
						|
	which = 'isab'
 | 
						|
	want = 'bool'
 | 
						|
class has_scripting_terminology(aetools.NProperty):
 | 
						|
	"""has scripting terminology - Does the process have a scripting terminology, i.e., can it be scripted? """
 | 
						|
	which = 'hscr'
 | 
						|
	want = 'bool'
 | 
						|
class minimum_size(aetools.NProperty):
 | 
						|
	"""minimum size - the smallest memory size with which the application can be launched """
 | 
						|
	which = 'mprt'
 | 
						|
	want = 'long'
 | 
						|
class opens_in_Classic(aetools.NProperty):
 | 
						|
	"""opens in Classic - Should the application launch in the Classic environment? """
 | 
						|
	which = 'Clsc'
 | 
						|
	want = 'bool'
 | 
						|
class preferred_size(aetools.NProperty):
 | 
						|
	"""preferred size - the memory size with which the application will be launched """
 | 
						|
	which = 'appt'
 | 
						|
	want = 'long'
 | 
						|
class suggested_size(aetools.NProperty):
 | 
						|
	"""suggested size - the memory size with which the developer recommends the application be launched """
 | 
						|
	which = 'sprt'
 | 
						|
	want = 'long'
 | 
						|
 | 
						|
application_files = application_file
 | 
						|
 | 
						|
class clipping(aetools.ComponentItem):
 | 
						|
	"""clipping - A clipping """
 | 
						|
	want = 'clpf'
 | 
						|
class clipping_window(aetools.NProperty):
 | 
						|
	"""clipping window - (NOT AVAILABLE YET) the clipping window for this clipping """
 | 
						|
	which = 'lwnd'
 | 
						|
	want = 'obj '
 | 
						|
 | 
						|
clippings = clipping
 | 
						|
 | 
						|
class document_file(aetools.ComponentItem):
 | 
						|
	"""document file - A document file """
 | 
						|
	want = 'docf'
 | 
						|
 | 
						|
document_files = document_file
 | 
						|
 | 
						|
class file(aetools.ComponentItem):
 | 
						|
	"""file - A file """
 | 
						|
	want = 'file'
 | 
						|
class creator_type(aetools.NProperty):
 | 
						|
	"""creator type - the OSType identifying the application that created the item """
 | 
						|
	which = 'fcrt'
 | 
						|
	want = 'type'
 | 
						|
class file_type(aetools.NProperty):
 | 
						|
	"""file type - the OSType identifying the type of data contained in the item """
 | 
						|
	which = 'asty'
 | 
						|
	want = 'type'
 | 
						|
class product_version(aetools.NProperty):
 | 
						|
	"""product version - the version of the product (visible at the top of the \xd2Get Info\xd3 window) """
 | 
						|
	which = 'ver2'
 | 
						|
	want = 'utxt'
 | 
						|
class stationery(aetools.NProperty):
 | 
						|
	"""stationery - Is the file a stationery pad? """
 | 
						|
	which = 'pspd'
 | 
						|
	want = 'bool'
 | 
						|
class version(aetools.NProperty):
 | 
						|
	"""version - the version of the file (visible at the bottom of the \xd2Get Info\xd3 window) """
 | 
						|
	which = 'vers'
 | 
						|
	want = 'utxt'
 | 
						|
 | 
						|
files = file
 | 
						|
 | 
						|
class internet_location_file(aetools.ComponentItem):
 | 
						|
	"""internet location file - An file containing an internet location """
 | 
						|
	want = 'inlf'
 | 
						|
class location(aetools.NProperty):
 | 
						|
	"""location - the internet location """
 | 
						|
	which = 'iloc'
 | 
						|
	want = 'utxt'
 | 
						|
 | 
						|
internet_location_files = internet_location_file
 | 
						|
 | 
						|
class package(aetools.ComponentItem):
 | 
						|
	"""package - A package """
 | 
						|
	want = 'pack'
 | 
						|
 | 
						|
packages = package
 | 
						|
alias_file._superclassnames = ['file']
 | 
						|
alias_file._privpropdict = {
 | 
						|
	'_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
 | 
						|
	'original_item' : original_item,
 | 
						|
}
 | 
						|
alias_file._privelemdict = {
 | 
						|
}
 | 
						|
application_file._superclassnames = ['file']
 | 
						|
application_file._privpropdict = {
 | 
						|
	'_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
 | 
						|
	'accepts_high_level_events' : accepts_high_level_events,
 | 
						|
	'has_scripting_terminology' : has_scripting_terminology,
 | 
						|
	'minimum_size' : minimum_size,
 | 
						|
	'opens_in_Classic' : opens_in_Classic,
 | 
						|
	'preferred_size' : preferred_size,
 | 
						|
	'suggested_size' : suggested_size,
 | 
						|
}
 | 
						|
application_file._privelemdict = {
 | 
						|
}
 | 
						|
clipping._superclassnames = ['file']
 | 
						|
clipping._privpropdict = {
 | 
						|
	'_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
 | 
						|
	'clipping_window' : clipping_window,
 | 
						|
}
 | 
						|
clipping._privelemdict = {
 | 
						|
}
 | 
						|
document_file._superclassnames = ['file']
 | 
						|
document_file._privpropdict = {
 | 
						|
	'_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
 | 
						|
}
 | 
						|
document_file._privelemdict = {
 | 
						|
}
 | 
						|
import Finder_items
 | 
						|
file._superclassnames = ['item']
 | 
						|
file._privpropdict = {
 | 
						|
	'_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
 | 
						|
	'creator_type' : creator_type,
 | 
						|
	'file_type' : file_type,
 | 
						|
	'product_version' : product_version,
 | 
						|
	'stationery' : stationery,
 | 
						|
	'version' : version,
 | 
						|
}
 | 
						|
file._privelemdict = {
 | 
						|
}
 | 
						|
internet_location_file._superclassnames = ['file']
 | 
						|
internet_location_file._privpropdict = {
 | 
						|
	'_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
 | 
						|
	'location' : location,
 | 
						|
}
 | 
						|
internet_location_file._privelemdict = {
 | 
						|
}
 | 
						|
package._superclassnames = ['item']
 | 
						|
package._privpropdict = {
 | 
						|
	'_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
 | 
						|
}
 | 
						|
package._privelemdict = {
 | 
						|
}
 | 
						|
 | 
						|
#
 | 
						|
# Indices of types declared in this module
 | 
						|
#
 | 
						|
_classdeclarations = {
 | 
						|
	'alia' : alias_file,
 | 
						|
	'appf' : application_file,
 | 
						|
	'clpf' : clipping,
 | 
						|
	'docf' : document_file,
 | 
						|
	'file' : file,
 | 
						|
	'inlf' : internet_location_file,
 | 
						|
	'pack' : package,
 | 
						|
}
 | 
						|
 | 
						|
_propdeclarations = {
 | 
						|
	'Clsc' : opens_in_Classic,
 | 
						|
	'appt' : preferred_size,
 | 
						|
	'asty' : file_type,
 | 
						|
	'c@#^' : _3c_Inheritance_3e_,
 | 
						|
	'fcrt' : creator_type,
 | 
						|
	'hscr' : has_scripting_terminology,
 | 
						|
	'iloc' : location,
 | 
						|
	'isab' : accepts_high_level_events,
 | 
						|
	'lwnd' : clipping_window,
 | 
						|
	'mprt' : minimum_size,
 | 
						|
	'orig' : original_item,
 | 
						|
	'pspd' : stationery,
 | 
						|
	'sprt' : suggested_size,
 | 
						|
	'ver2' : product_version,
 | 
						|
	'vers' : version,
 | 
						|
}
 | 
						|
 | 
						|
_compdeclarations = {
 | 
						|
}
 | 
						|
 | 
						|
_enumdeclarations = {
 | 
						|
}
 |