Kaydet (Commit) b55e5f1b authored tarafından Jack Jansen's avatar Jack Jansen

Fixed a few declarations.

üst 2d4ac208
# Generated from 'Macintosh HD:SWDev:Metrowerks Codewarrior 6.0:Metrowerks CodeWarrior:MacOS Support:Universal:Interfaces:CIncludes:Fonts.h'
# Generated from "Sap:Programma's:Metrowerks CodeWarrior 6.0:Metrowerks CodeWarrior:MacOS Support:Universal:Interfaces:CIncludes:Fonts.h"
def FOUR_CHAR_CODE(x): return x
kNilOptions = 0
systemFont = 0
applFont = 1
kPlatformDefaultGuiFontID = applFont
......
# Generated from 'Macintosh HD:SWDev:Metrowerks Codewarrior 6.0:Metrowerks CodeWarrior:MacOS Support:Universal:Interfaces:CIncludes:Icons.h'
# Generated from "Sap:Programma's:Metrowerks CodeWarrior 6.0:Metrowerks CodeWarrior:MacOS Support:Universal:Interfaces:CIncludes:Icons.h"
def FOUR_CHAR_CODE(x): return x
kGenericDocumentIconResource = -4000
......@@ -208,7 +208,7 @@ svAll4BitData = kSelectorAll4BitData
svAll8BitData = kSelectorAll8BitData
# svAllAvailableData = kSelectorAllAvailableData
kSystemIconsCreator = FOUR_CHAR_CODE('macs')
err = GetIconRef(kOnSystemDisk
# err = GetIconRef(kOnSystemDisk
kClipboardIcon = FOUR_CHAR_CODE('CLIP')
kClippingUnknownTypeIcon = FOUR_CHAR_CODE('clpu')
kClippingPictureTypeIcon = FOUR_CHAR_CODE('clpp')
......@@ -277,35 +277,35 @@ kGuestUserIcon = FOUR_CHAR_CODE('gusr')
kUserIcon = FOUR_CHAR_CODE('user')
kOwnerIcon = FOUR_CHAR_CODE('susr')
kGroupIcon = FOUR_CHAR_CODE('grup')
kAppleExtrasFolderIcon = FOUR_CHAR_CODE('aex')
kAppleExtrasFolderIcon = FOUR_CHAR_CODE('aex')
kAppleMenuFolderIcon = FOUR_CHAR_CODE('amnu')
kApplicationsFolderIcon = FOUR_CHAR_CODE('apps')
kApplicationSupportFolderIcon = FOUR_CHAR_CODE('asup')
kAssistantsFolderIcon = FOUR_CHAR_CODE('ast')
kAssistantsFolderIcon = FOUR_CHAR_CODE('ast')
kContextualMenuItemsFolderIcon = FOUR_CHAR_CODE('cmnu')
kControlPanelDisabledFolderIcon = FOUR_CHAR_CODE('ctrD')
kControlPanelFolderIcon = FOUR_CHAR_CODE('ctrl')
kControlStripModulesFolderIcon = FOUR_CHAR_CODE('sdv')
kControlStripModulesFolderIcon = FOUR_CHAR_CODE('sdv')
kDocumentsFolderIcon = FOUR_CHAR_CODE('docs')
kExtensionsDisabledFolderIcon = FOUR_CHAR_CODE('extD')
kExtensionsFolderIcon = FOUR_CHAR_CODE('extn')
kFavoritesFolderIcon = FOUR_CHAR_CODE('favs')
kFontsFolderIcon = FOUR_CHAR_CODE('font')
kHelpFolderIcon = FOUR_CHAR_CODE('hlp')
kInternetFolderIcon = FOUR_CHAR_CODE('int')
kInternetPlugInFolderIcon = FOUR_CHAR_CODE('net')
kLocalesFolderIcon = FOUR_CHAR_CODE('loc')
kMacOSReadMeFolderIcon = FOUR_CHAR_CODE('mor')
kPreferencesFolderIcon = FOUR_CHAR_CODE('prf')
kHelpFolderIcon = FOUR_CHAR_CODE('hlp')
kInternetFolderIcon = FOUR_CHAR_CODE('int')
kInternetPlugInFolderIcon = FOUR_CHAR_CODE('net')
kLocalesFolderIcon = FOUR_CHAR_CODE('loc')
kMacOSReadMeFolderIcon = FOUR_CHAR_CODE('mor')
kPreferencesFolderIcon = FOUR_CHAR_CODE('prf')
kPrinterDescriptionFolderIcon = FOUR_CHAR_CODE('ppdf')
kPrinterDriverFolderIcon = FOUR_CHAR_CODE('prd')
kPrinterDriverFolderIcon = FOUR_CHAR_CODE('prd')
kPrintMonitorFolderIcon = FOUR_CHAR_CODE('prnt')
kRecentApplicationsFolderIcon = FOUR_CHAR_CODE('rapp')
kRecentDocumentsFolderIcon = FOUR_CHAR_CODE('rdoc')
kRecentServersFolderIcon = FOUR_CHAR_CODE('rsrv')
kScriptingAdditionsFolderIcon = FOUR_CHAR_CODE('scr')
kSharedLibrariesFolderIcon = FOUR_CHAR_CODE('lib')
kScriptsFolderIcon = FOUR_CHAR_CODE('scr')
kScriptingAdditionsFolderIcon = FOUR_CHAR_CODE('scr')
kSharedLibrariesFolderIcon = FOUR_CHAR_CODE('lib')
kScriptsFolderIcon = FOUR_CHAR_CODE('scr')
kShutdownItemsDisabledFolderIcon = FOUR_CHAR_CODE('shdD')
kShutdownItemsFolderIcon = FOUR_CHAR_CODE('shdf')
kSpeakableItemsFolder = FOUR_CHAR_CODE('spki')
......@@ -313,13 +313,13 @@ kStartupItemsDisabledFolderIcon = FOUR_CHAR_CODE('strD')
kStartupItemsFolderIcon = FOUR_CHAR_CODE('strt')
kSystemExtensionDisabledFolderIcon = FOUR_CHAR_CODE('macD')
kSystemFolderIcon = FOUR_CHAR_CODE('macs')
kTextEncodingsFolderIcon = FOUR_CHAR_CODE('tex')
kTextEncodingsFolderIcon = FOUR_CHAR_CODE('tex')
kAppearanceFolderIcon = FOUR_CHAR_CODE('appr')
kUtilitiesFolderIcon = FOUR_CHAR_CODE('uti')
kUtilitiesFolderIcon = FOUR_CHAR_CODE('uti')
kVoicesFolderIcon = FOUR_CHAR_CODE('fvoc')
kColorSyncFolderIcon = FOUR_CHAR_CODE('prof')
kInternetSearchSitesFolderIcon = FOUR_CHAR_CODE('issf')
kUsersFolderIcon = FOUR_CHAR_CODE('usr')
kUsersFolderIcon = FOUR_CHAR_CODE('usr')
kAppleScriptBadgeIcon = FOUR_CHAR_CODE('scrp')
kLockedBadgeIcon = FOUR_CHAR_CODE('lbdg')
kMountedBadgeIcon = FOUR_CHAR_CODE('mbdg')
......
......@@ -59,5 +59,9 @@ class MyScanner(Scanner):
([('FMetricRecPtr', 'theMetrics', 'InMode')], [('FMetricRecPtr', 'theMetrics', 'OutMode')]),
]
def writeinitialdefs(self):
self.defsfile.write("def FOUR_CHAR_CODE(x): return x\n")
self.defsfile.write("kNilOptions = 0\n")
if __name__ == "__main__":
main()
......@@ -43,6 +43,8 @@ class MyScanner(Scanner):
"kSelectorAllHugeData",
"kSelectorAllAvailableData",
"svAllAvailableData",
# Something in a comment accidentally seen as a const definition
"err",
]
def makegreylist(self):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment