diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 1999-12-13 16:05:47 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 1999-12-13 16:05:47 (GMT) |
commit | a4deef82d5b5d68bf02f6950021741502849fd47 (patch) | |
tree | 5f200bfad495e7aa0ff08570a53b8b660e424f84 /Mac | |
parent | 30f208047530436d191178314f32ba63dc065df4 (diff) | |
download | cpython-a4deef82d5b5d68bf02f6950021741502849fd47.zip cpython-a4deef82d5b5d68bf02f6950021741502849fd47.tar.gz cpython-a4deef82d5b5d68bf02f6950021741502849fd47.tar.bz2 |
C-style comments removed (again).
AE stuff got some extra definitions (don't know why these weren't checked in).
Diffstat (limited to 'Mac')
-rw-r--r-- | Mac/Lib/lib-toolbox/AERegistry.py | 235 | ||||
-rw-r--r-- | Mac/Lib/lib-toolbox/Controls.py | 4 | ||||
-rw-r--r-- | Mac/Lib/lib-toolbox/Dragconst.py | 2 |
3 files changed, 237 insertions, 4 deletions
diff --git a/Mac/Lib/lib-toolbox/AERegistry.py b/Mac/Lib/lib-toolbox/AERegistry.py index a511ef1..72b5167 100644 --- a/Mac/Lib/lib-toolbox/AERegistry.py +++ b/Mac/Lib/lib-toolbox/AERegistry.py @@ -1,4 +1,4 @@ -# Generated from 'moes:Metrowerks:Metrowerks CodeWarrior:MacOS Support:Headers:Universal Headers:AERegistry.h' +# Generated from 'flap:CodeWarrior Pro 5:Metrowerks CodeWarrior:MacOS Support:Universal:Interfaces:CIncludes:AERegistry.h' def FOUR_CHAR_CODE(x): return x from AEDataModel import * @@ -492,6 +492,8 @@ kUpdateActiveInputArea = FOUR_CHAR_CODE('updt') kShowHideInputWindow = FOUR_CHAR_CODE('shiw') kPos2Offset = FOUR_CHAR_CODE('p2st') kOffset2Pos = FOUR_CHAR_CODE('st2p') +kUnicodeNotFromInputMethod = FOUR_CHAR_CODE('unim') +kGetSelectedText = FOUR_CHAR_CODE('gtxt') keyAETSMDocumentRefcon = FOUR_CHAR_CODE('refc') keyAEServerInstance = FOUR_CHAR_CODE('srvi') keyAETheData = FOUR_CHAR_CODE('kdat') @@ -504,10 +506,12 @@ keyAENextBody = FOUR_CHAR_CODE('nxbd') keyAETSMScriptTag = FOUR_CHAR_CODE('sclg') keyAETSMTextFont = FOUR_CHAR_CODE('ktxf') keyAETSMTextPointSize = FOUR_CHAR_CODE('ktps') +keyAETSMEventRecord = FOUR_CHAR_CODE('tevt') typeTextRange = FOUR_CHAR_CODE('txrn') typeComponentInstance = FOUR_CHAR_CODE('cmpi') typeOffsetArray = FOUR_CHAR_CODE('ofay') typeTextRangeArray = FOUR_CHAR_CODE('tray') +typeLowLevelEventRecord = FOUR_CHAR_CODE('evtr') typeText = typeChar kTSMOutsideOfBody = 1 kTSMInsideOfBody = 2 @@ -531,3 +535,232 @@ keyAELeftSide = FOUR_CHAR_CODE('klef') keyAERegionClass = FOUR_CHAR_CODE('rgnc') keyAEDragging = FOUR_CHAR_CODE('bool') keyAELeadingEdge = keyAELeftSide +typeUnicodeText = FOUR_CHAR_CODE('utxt') +typeStyledUnicodeText = FOUR_CHAR_CODE('sutx') +typeEncodedString = FOUR_CHAR_CODE('encs') +typeCString = FOUR_CHAR_CODE('cstr') +typePString = FOUR_CHAR_CODE('pstr') +typeMeters = FOUR_CHAR_CODE('metr') +typeInches = FOUR_CHAR_CODE('inch') +typeFeet = FOUR_CHAR_CODE('feet') +typeYards = FOUR_CHAR_CODE('yard') +typeMiles = FOUR_CHAR_CODE('mile') +typeKilometers = FOUR_CHAR_CODE('kmtr') +typeCentimeters = FOUR_CHAR_CODE('cmtr') +typeSquareMeters = FOUR_CHAR_CODE('sqrm') +typeSquareFeet = FOUR_CHAR_CODE('sqft') +typeSquareYards = FOUR_CHAR_CODE('sqyd') +typeSquareMiles = FOUR_CHAR_CODE('sqmi') +typeSquareKilometers = FOUR_CHAR_CODE('sqkm') +typeLiters = FOUR_CHAR_CODE('litr') +typeQuarts = FOUR_CHAR_CODE('qrts') +typeGallons = FOUR_CHAR_CODE('galn') +typeCubicMeters = FOUR_CHAR_CODE('cmet') +typeCubicFeet = FOUR_CHAR_CODE('cfet') +typeCubicInches = FOUR_CHAR_CODE('cuin') +typeCubicCentimeter = FOUR_CHAR_CODE('ccmt') +typeCubicYards = FOUR_CHAR_CODE('cyrd') +typeKilograms = FOUR_CHAR_CODE('kgrm') +typeGrams = FOUR_CHAR_CODE('gram') +typeOunces = FOUR_CHAR_CODE('ozs ') +typePounds = FOUR_CHAR_CODE('lbs ') +typeDegreesC = FOUR_CHAR_CODE('degc') +typeDegreesF = FOUR_CHAR_CODE('degf') +kFAServerApp = FOUR_CHAR_CODE('ssrv') +kDoFolderActionEvent = FOUR_CHAR_CODE('fola') +kFolderActionCode = FOUR_CHAR_CODE('actn') +kFolderOpenedEvent = FOUR_CHAR_CODE('fopn') +kFolderClosedEvent = FOUR_CHAR_CODE('fclo') +kFolderWindowMovedEvent = FOUR_CHAR_CODE('fsiz') +kFolderItemsAddedEvent = FOUR_CHAR_CODE('fget') +kFolderItemsRemovedEvent = FOUR_CHAR_CODE('flos') +kItemList = FOUR_CHAR_CODE('flst') +kNewSizeParameter = FOUR_CHAR_CODE('fnsz') +kFASuiteCode = FOUR_CHAR_CODE('faco') +kFAAttachCommand = FOUR_CHAR_CODE('atfa') +kFARemoveCommand = FOUR_CHAR_CODE('rmfa') +kFAEditCommand = FOUR_CHAR_CODE('edfa') +kFAFileParam = FOUR_CHAR_CODE('faal') +kFAIndexParam = FOUR_CHAR_CODE('indx') +kAEInternetSuite = FOUR_CHAR_CODE('gurl') +kAEISWebStarSuite = FOUR_CHAR_CODE('WWW‡') +kAEISGetURL = FOUR_CHAR_CODE('gurl') +KAEISHandleCGI = FOUR_CHAR_CODE('sdoc') +cURL = FOUR_CHAR_CODE('url ') +cInternetAddress = FOUR_CHAR_CODE('IPAD') +cHTML = FOUR_CHAR_CODE('html') +cFTPItem = FOUR_CHAR_CODE('ftp ') +kAEISHTTPSearchArgs = FOUR_CHAR_CODE('kfor') +kAEISPostArgs = FOUR_CHAR_CODE('post') +kAEISMethod = FOUR_CHAR_CODE('meth') +kAEISClientAddress = FOUR_CHAR_CODE('addr') +kAEISUserName = FOUR_CHAR_CODE('user') +kAEISPassword = FOUR_CHAR_CODE('pass') +kAEISFromUser = FOUR_CHAR_CODE('frmu') +kAEISServerName = FOUR_CHAR_CODE('svnm') +kAEISServerPort = FOUR_CHAR_CODE('svpt') +kAEISScriptName = FOUR_CHAR_CODE('scnm') +kAEISContentType = FOUR_CHAR_CODE('ctyp') +kAEISReferrer = FOUR_CHAR_CODE('refr') +kAEISUserAgent = FOUR_CHAR_CODE('Agnt') +kAEISAction = FOUR_CHAR_CODE('Kact') +kAEISActionPath = FOUR_CHAR_CODE('Kapt') +kAEISClientIP = FOUR_CHAR_CODE('Kcip') +kAEISFullRequest = FOUR_CHAR_CODE('Kfrq') +pScheme = FOUR_CHAR_CODE('pusc') +pHost = FOUR_CHAR_CODE('HOST') +pPath = FOUR_CHAR_CODE('FTPc') +pUserName = FOUR_CHAR_CODE('RAun') +pUserPassword = FOUR_CHAR_CODE('RApw') +pDNSForm = FOUR_CHAR_CODE('pDNS') +pURL = FOUR_CHAR_CODE('pURL') +pTextEncoding = FOUR_CHAR_CODE('ptxe') +pFTPKind = FOUR_CHAR_CODE('kind') +eScheme = FOUR_CHAR_CODE('esch') +eurlHTTP = FOUR_CHAR_CODE('http') +eurlHTTPS = FOUR_CHAR_CODE('htps') +eurlFTP = FOUR_CHAR_CODE('ftp ') +eurlMail = FOUR_CHAR_CODE('mail') +eurlFile = FOUR_CHAR_CODE('file') +eurlGopher = FOUR_CHAR_CODE('gphr') +eurlTelnet = FOUR_CHAR_CODE('tlnt') +eurlNews = FOUR_CHAR_CODE('news') +eurlSNews = FOUR_CHAR_CODE('snws') +eurlNNTP = FOUR_CHAR_CODE('nntp') +eurlMessage = FOUR_CHAR_CODE('mess') +eurlMailbox = FOUR_CHAR_CODE('mbox') +eurlMulti = FOUR_CHAR_CODE('mult') +eurlLaunch = FOUR_CHAR_CODE('laun') +eurlAFP = FOUR_CHAR_CODE('afp ') +eurlAT = FOUR_CHAR_CODE('at ') +eurlUnknown = FOUR_CHAR_CODE('url?') +kConnSuite = FOUR_CHAR_CODE('macc') +cDevSpec = FOUR_CHAR_CODE('cdev') +cAddressSpec = FOUR_CHAR_CODE('cadr') +cADBAddress = FOUR_CHAR_CODE('cadb') +cAppleTalkAddress = FOUR_CHAR_CODE('cat ') +cBusAddress = FOUR_CHAR_CODE('cbus') +cEthernetAddress = FOUR_CHAR_CODE('cen ') +cFireWireAddress = FOUR_CHAR_CODE('cfw ') +cIPAddress = FOUR_CHAR_CODE('cip ') +cLocalTalkAddress = FOUR_CHAR_CODE('clt ') +cSCSIAddress = FOUR_CHAR_CODE('cscs') +cTokenRingAddress = FOUR_CHAR_CODE('ctok') +cUSBAddress = FOUR_CHAR_CODE('cusb') +pDeviceType = FOUR_CHAR_CODE('pdvt') +pDeviceAddress = FOUR_CHAR_CODE('pdva') +pConduit = FOUR_CHAR_CODE('pcon') +pProtocol = FOUR_CHAR_CODE('pprt') +pATMachine = FOUR_CHAR_CODE('patm') +pATZone = FOUR_CHAR_CODE('patz') +pATType = FOUR_CHAR_CODE('patt') +pDottedDecimal = FOUR_CHAR_CODE('pipd') +pDNS = FOUR_CHAR_CODE('pdns') +pPort = FOUR_CHAR_CODE('ppor') +pNetwork = FOUR_CHAR_CODE('pnet') +pNode = FOUR_CHAR_CODE('pnod') +pSocket = FOUR_CHAR_CODE('psoc') +pSCSIBus = FOUR_CHAR_CODE('pscb') +pSCSILUN = FOUR_CHAR_CODE('pslu') +eDeviceType = FOUR_CHAR_CODE('edvt') +eAddressSpec = FOUR_CHAR_CODE('eads') +eConduit = FOUR_CHAR_CODE('econ') +eProtocol = FOUR_CHAR_CODE('epro') +eADB = FOUR_CHAR_CODE('eadb') +eAnalogAudio = FOUR_CHAR_CODE('epau') +eAppleTalk = FOUR_CHAR_CODE('epat') +eAudioLineIn = FOUR_CHAR_CODE('ecai') +eAudioLineOut = FOUR_CHAR_CODE('ecal') +eAudioOut = FOUR_CHAR_CODE('ecao') +eBus = FOUR_CHAR_CODE('ebus') +eCDROM = FOUR_CHAR_CODE('ecd ') +eCommSlot = FOUR_CHAR_CODE('eccm') +eDigitalAudio = FOUR_CHAR_CODE('epda') +eDisplay = FOUR_CHAR_CODE('edds') +eDVD = FOUR_CHAR_CODE('edvd') +eEthernet = FOUR_CHAR_CODE('ecen') +eFireWire = FOUR_CHAR_CODE('ecfw') +eFloppy = FOUR_CHAR_CODE('efd ') +eHD = FOUR_CHAR_CODE('ehd ') +eInfrared = FOUR_CHAR_CODE('ecir') +eIP = FOUR_CHAR_CODE('epip') +eIrDA = FOUR_CHAR_CODE('epir') +eIRTalk = FOUR_CHAR_CODE('epit') +eKeyboard = FOUR_CHAR_CODE('ekbd') +eLCD = FOUR_CHAR_CODE('edlc') +eLocalTalk = FOUR_CHAR_CODE('eclt') +eMacIP = FOUR_CHAR_CODE('epmi') +eMacVideo = FOUR_CHAR_CODE('epmv') +eMicrophone = FOUR_CHAR_CODE('ecmi') +eModemPort = FOUR_CHAR_CODE('ecmp') +eModemPrinterPort = FOUR_CHAR_CODE('empp') +eModem = FOUR_CHAR_CODE('edmm') +eMonitorOut = FOUR_CHAR_CODE('ecmn') +eMouse = FOUR_CHAR_CODE('emou') +eNuBusCard = FOUR_CHAR_CODE('ednb') +eNuBus = FOUR_CHAR_CODE('enub') +ePCcard = FOUR_CHAR_CODE('ecpc') +ePCIbus = FOUR_CHAR_CODE('ecpi') +ePCIcard = FOUR_CHAR_CODE('edpi') +ePDSslot = FOUR_CHAR_CODE('ecpd') +ePDScard = FOUR_CHAR_CODE('epds') +ePointingDevice = FOUR_CHAR_CODE('edpd') +ePostScript = FOUR_CHAR_CODE('epps') +ePPP = FOUR_CHAR_CODE('eppp') +ePrinterPort = FOUR_CHAR_CODE('ecpp') +ePrinter = FOUR_CHAR_CODE('edpr') +eSvideo = FOUR_CHAR_CODE('epsv') +eSCSI = FOUR_CHAR_CODE('ecsc') +eSerial = FOUR_CHAR_CODE('epsr') +eSpeakers = FOUR_CHAR_CODE('edsp') +eStorageDevice = FOUR_CHAR_CODE('edst') +eSVGA = FOUR_CHAR_CODE('epsg') +eTokenRing = FOUR_CHAR_CODE('etok') +eTrackball = FOUR_CHAR_CODE('etrk') +eTrackpad = FOUR_CHAR_CODE('edtp') +eUSB = FOUR_CHAR_CODE('ecus') +eVideoIn = FOUR_CHAR_CODE('ecvi') +eVideoMonitor = FOUR_CHAR_CODE('edvm') +eVideoOut = FOUR_CHAR_CODE('ecvo') +cKeystroke = FOUR_CHAR_CODE('kprs') +pKeystrokeKey = FOUR_CHAR_CODE('kMsg') +pModifiers = FOUR_CHAR_CODE('kMod') +pKeyKind = FOUR_CHAR_CODE('kknd') +eModifiers = FOUR_CHAR_CODE('eMds') +eOptionDown = FOUR_CHAR_CODE('Kopt') +eCommandDown = FOUR_CHAR_CODE('Kcmd') +eControlDown = FOUR_CHAR_CODE('Kctl') +eShiftDown = FOUR_CHAR_CODE('Ksft') +eCapsLockDown = FOUR_CHAR_CODE('Kclk') +eKeyKind = FOUR_CHAR_CODE('ekst') +eEscapeKey = 0x6B733500 +eDeleteKey = 0x6B733300 +eTabKey = 0x6B733000 +eReturnKey = 0x6B732400 +eClearKey = 0x6B734700 +eEnterKey = 0x6B734C00 +eUpArrowKey = 0x6B737E00 +eDownArrowKey = 0x6B737D00 +eLeftArrowKey = 0x6B737B00 +eRightArrowKey = 0x6B737C00 +eHelpKey = 0x6B737200 +eHomeKey = 0x6B737300 +ePageUpKey = 0x6B737400 +ePageDownKey = 0x6B737900 +eForwardDelKey = 0x6B737500 +eEndKey = 0x6B737700 +eF1Key = 0x6B737A00 +eF2Key = 0x6B737800 +eF3Key = 0x6B736300 +eF4Key = 0x6B737600 +eF5Key = 0x6B736000 +eF6Key = 0x6B736100 +eF7Key = 0x6B736200 +eF8Key = 0x6B736400 +eF9Key = 0x6B736500 +eF10Key = 0x6B736D00 +eF11Key = 0x6B736700 +eF12Key = 0x6B736F00 +eF13Key = 0x6B736900 +eF14Key = 0x6B736B00 +eF15Key = 0x6B737100 diff --git a/Mac/Lib/lib-toolbox/Controls.py b/Mac/Lib/lib-toolbox/Controls.py index 7bb320c..040b9b0 100644 --- a/Mac/Lib/lib-toolbox/Controls.py +++ b/Mac/Lib/lib-toolbox/Controls.py @@ -62,7 +62,7 @@ kControlKeyFilterBlockKey = 0 kControlKeyFilterPassKey = 1 kControlKeyScriptBehaviorAllowAnyScript = FOUR_CHAR_CODE('any ') kControlKeyScriptBehaviorPrefersRoman = FOUR_CHAR_CODE('prmn') -kControlKeyScriptBehaviorRequiresRoman = FOUR_CHAR_CODE('rrmn') /* switches the keyboard to roman and prevents the user from changing it.*/ +kControlKeyScriptBehaviorRequiresRoman = FOUR_CHAR_CODE('rrmn') kControlFontBigSystemFont = -1 kControlFontSmallSystemFont = -2 kControlFontSmallBoldSystemFont = -3 @@ -239,7 +239,7 @@ kControlEditTextLockedTag = FOUR_CHAR_CODE('lock') kControlEditTextFixedTextTag = FOUR_CHAR_CODE('ftxt') kControlEditTextValidationProcTag = FOUR_CHAR_CODE('vali') kControlEditTextInlinePreUpdateProcTag = FOUR_CHAR_CODE('prup') -kControlEditTextInlinePostUpdateProcTag = FOUR_CHAR_CODE('poup') /* ...The refCon parameter will contain the ControlHandle.*/ +kControlEditTextInlinePostUpdateProcTag = FOUR_CHAR_CODE('poup') kControlStaticTextProc = 288 kControlStaticTextStyleTag = kControlFontStyleTag kControlStaticTextTextTag = FOUR_CHAR_CODE('text') diff --git a/Mac/Lib/lib-toolbox/Dragconst.py b/Mac/Lib/lib-toolbox/Dragconst.py index 00f90bc..ee54806 100644 --- a/Mac/Lib/lib-toolbox/Dragconst.py +++ b/Mac/Lib/lib-toolbox/Dragconst.py @@ -31,7 +31,7 @@ flavorTypeDirectory = FOUR_CHAR_CODE('diry') kFlavorTypeClippingName = FOUR_CHAR_CODE('clnm') kFlavorTypeClippingFilename = FOUR_CHAR_CODE('clfn') kFlavorTypeDragToTrashOnly = FOUR_CHAR_CODE('fdtt') -kFlavorTypeFinderNoTrackingBehavior = FOUR_CHAR_CODE('fntb') /* Finder completely ignores any drag containing this flavor*/ +kFlavorTypeFinderNoTrackingBehavior = FOUR_CHAR_CODE('fntb') kDragTrackingEnterHandler = 1 kDragTrackingEnterWindow = 2 kDragTrackingInWindow = 3 |