summaryrefslogtreecommitdiff
path: root/Mac/Modules/help/helpscan.py
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2002-08-29 21:09:00 +0000
committerJack Jansen <jack.jansen@cwi.nl>2002-08-29 21:09:00 +0000
commit983258ed7e96897e00c7a4459034d83816018181 (patch)
tree31117f49ebc283ef7affa094343af9c32e4b6ecb /Mac/Modules/help/helpscan.py
parentd94c28e467cc550cc09d082eb8bd078e4f2df2e4 (diff)
downloadcpython-git-983258ed7e96897e00c7a4459034d83816018181.tar.gz
Revived the Carbon.Help module, but implementing the MacHelp API in stead
of the defunct Balloons API. Help tags are TBD, but at least this gives us access to the help menu.
Diffstat (limited to 'Mac/Modules/help/helpscan.py')
-rw-r--r--Mac/Modules/help/helpscan.py19
1 files changed, 13 insertions, 6 deletions
diff --git a/Mac/Modules/help/helpscan.py b/Mac/Modules/help/helpscan.py
index 67a7e53f59..32a759ab56 100644
--- a/Mac/Modules/help/helpscan.py
+++ b/Mac/Modules/help/helpscan.py
@@ -6,7 +6,7 @@ from bgenlocations import TOOLBOXDIR, BGENDIR
sys.path.append(BGENDIR)
from scantools import Scanner
-LONG = "Balloons"
+LONG = "MacHelp"
SHORT = "help"
OBJECT = "NOTUSED"
@@ -45,15 +45,22 @@ class MyScanner(Scanner):
def makeblacklisttypes(self):
return [
- "TipFunctionUPP",
- "HMMessageRecord",
- "HMMessageRecord_ptr",
+## "TipFunctionUPP",
+## "HMMessageRecord",
+## "HMMessageRecord_ptr",
+ "HMWindowContentUPP",
+ "HMMenuTitleContentUPP",
+ "HMControlContentUPP",
+ "HMMenuItemContentUPP",
+ # For the moment
+ "HMHelpContentRec",
+ "HMHelpContentRec_ptr",
]
def makerepairinstructions(self):
return [
- ([("WindowPtr", "*", "OutMode")],
- [("ExistingWindowPtr", "*", "*")]),
+## ([("WindowPtr", "*", "OutMode")],
+## [("ExistingWindowPtr", "*", "*")]),
]
if __name__ == "__main__":