home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 1 / ETO Development Tools 1.iso / Essentials / Developer Essentials Jul 90 / DTS Sample Code / Macintosh Sample Code / Monthly Releases (Compressed) / MacDTS.Sample.Code.89.06.sit / SC.014.CPlusTESample / TECommon.h < prev    next >
MacBinary  |  1989-04-01  |  7.0 KB  |  [TEXT/MPS ]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, Sat Apr 1 15:02:04 1989, modified Sat Apr 1 15:02:04 1989, creator 'MPS ', type ASCII, 6564 bytes "TECommon.h" , at 0x1a24 382 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[MPS ]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0a 54 45 43 6f 6d 6d | 6f 6e 2e 68 00 00 00 00 |..TEComm|on.h....|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4d 50 53 | 20 00 00 00 00 00 00 00 |.TEXTMPS| .......|
|00000050| 00 00 00 00 00 19 a4 00 | 00 01 7e a0 5a db 3c a0 |........|..~.Z.<.|
|00000060| 5a db 3c 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |Z.<.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 46 5f 00 00 |........|....F_..|
|00000080| 2f 2a 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |/*------|--------|
|00000090| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000000a0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000000b0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000000c0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000000d0| 0d 23 0d 23 09 41 70 70 | 6c 65 20 4d 61 63 69 6e |.#.#.App|le Macin|
|000000e0| 74 6f 73 68 20 44 65 76 | 65 6c 6f 70 65 72 20 54 |tosh Dev|eloper T|
|000000f0| 65 63 68 6e 69 63 61 6c | 20 53 75 70 70 6f 72 74 |echnical| Support|
|00000100| 0d 23 0d 23 09 4d 75 6c | 74 69 46 69 6e 64 65 72 |.#.#.Mul|tiFinder|
|00000110| 2d 41 77 61 72 65 20 53 | 69 6d 70 6c 65 20 54 65 |-Aware S|imple Te|
|00000120| 78 74 45 64 69 74 20 53 | 61 6d 70 6c 65 20 41 70 |xtEdit S|ample Ap|
|00000130| 70 6c 69 63 61 74 69 6f | 6e 0d 23 0d 23 09 43 50 |plicatio|n.#.#.CP|
|00000140| 6c 75 73 54 45 53 61 6d | 70 6c 65 0d 23 0d 23 09 |lusTESam|ple.#.#.|
|00000150| 54 45 43 6f 6d 6d 6f 6e | 2e 68 09 2d 09 43 2b 2b |TECommon|.h.-.C++|
|00000160| 20 61 6e 64 20 52 65 7a | 20 73 6f 75 72 63 65 0d | and Rez| source.|
|00000170| 23 0d 23 09 43 6f 70 79 | 72 69 67 68 74 20 a9 20 |#.#.Copy|right . |
|00000180| 31 39 38 39 20 41 70 70 | 6c 65 20 43 6f 6d 70 75 |1989 App|le Compu|
|00000190| 74 65 72 2c 20 49 6e 63 | 2e 0d 23 09 41 6c 6c 20 |ter, Inc|..#.All |
|000001a0| 72 69 67 68 74 73 20 72 | 65 73 65 72 76 65 64 2e |rights r|eserved.|
|000001b0| 0d 23 0d 23 09 56 65 72 | 73 69 6f 6e 73 3a 09 0d |.#.#.Ver|sions:..|
|000001c0| 23 09 09 09 31 2e 30 30 | 20 09 09 09 09 09 30 34 |#...1.00| .....04|
|000001d0| 2f 38 39 0d 23 0d 23 09 | 43 6f 6d 70 6f 6e 65 6e |/89.#.#.|Componen|
|000001e0| 74 73 3a 0d 23 09 09 09 | 43 50 6c 75 73 54 45 53 |ts:.#...|CPlusTES|
|000001f0| 61 6d 70 6c 65 2e 6d 61 | 6b 65 09 09 41 70 72 69 |ample.ma|ke..Apri|
|00000200| 6c 20 31 2c 20 31 39 38 | 39 0d 23 09 09 09 54 41 |l 1, 198|9.#...TA|
|00000210| 70 70 6c 69 63 61 74 69 | 6f 6e 43 6f 6d 6d 6f 6e |pplicati|onCommon|
|00000220| 2e 68 09 41 70 72 69 6c | 20 31 2c 20 31 39 38 39 |.h.April| 1, 1989|
|00000230| 0d 23 09 09 09 54 41 70 | 70 6c 69 63 61 74 69 6f |.#...TAp|plicatio|
|00000240| 6e 2e 68 09 09 09 41 70 | 72 69 6c 20 31 2c 20 31 |n.h...Ap|ril 1, 1|
|00000250| 39 38 39 0d 23 09 09 09 | 54 44 6f 63 75 6d 65 6e |989.#...|TDocumen|
|00000260| 74 2e 68 09 09 09 09 41 | 70 72 69 6c 20 31 2c 20 |t.h....A|pril 1, |
|00000270| 31 39 38 39 0d 23 09 09 | 09 54 45 43 6f 6d 6d 6f |1989.#..|.TECommo|
|00000280| 6e 2e 68 09 09 09 09 41 | 70 72 69 6c 20 31 2c 20 |n.h....A|pril 1, |
|00000290| 31 39 38 39 0d 23 09 09 | 09 54 45 53 61 6d 70 6c |1989.#..|.TESampl|
|000002a0| 65 2e 68 09 09 09 09 41 | 70 72 69 6c 20 31 2c 20 |e.h....A|pril 1, |
|000002b0| 31 39 38 39 0d 23 09 09 | 09 54 45 44 6f 63 75 6d |1989.#..|.TEDocum|
|000002c0| 65 6e 74 2e 68 09 09 09 | 41 70 72 69 6c 20 31 2c |ent.h...|April 1,|
|000002d0| 20 31 39 38 39 0d 23 09 | 09 09 54 41 70 70 6c 69 | 1989.#.|..TAppli|
|000002e0| 63 61 74 69 6f 6e 2e 63 | 70 09 09 09 41 70 72 69 |cation.c|p...Apri|
|000002f0| 6c 20 31 2c 20 31 39 38 | 39 0d 23 09 09 09 54 44 |l 1, 198|9.#...TD|
|00000300| 6f 63 75 6d 65 6e 74 2e | 63 70 09 09 09 41 70 72 |ocument.|cp...Apr|
|00000310| 69 6c 20 31 2c 20 31 39 | 38 39 0d 23 09 09 09 54 |il 1, 19|89.#...T|
|00000320| 45 53 61 6d 70 6c 65 2e | 63 70 09 09 09 09 41 70 |ESample.|cp....Ap|
|00000330| 72 69 6c 20 31 2c 20 31 | 39 38 39 0d 23 09 09 09 |ril 1, 1|989.#...|
|00000340| 54 45 44 6f 63 75 6d 65 | 6e 74 2e 63 70 09 09 09 |TEDocume|nt.cp...|
|00000350| 41 70 72 69 6c 20 31 2c | 20 31 39 38 39 0d 23 09 |April 1,| 1989.#.|
|00000360| 09 09 54 45 53 61 6d 70 | 6c 65 47 6c 75 65 2e 61 |..TESamp|leGlue.a|
|00000370| 09 09 09 41 70 72 69 6c | 20 31 2c 20 31 39 38 39 |...April| 1, 1989|
|00000380| 0d 23 09 09 09 54 41 70 | 70 6c 69 63 61 74 69 6f |.#...TAp|plicatio|
|00000390| 6e 2e 72 09 09 09 41 70 | 72 69 6c 20 31 2c 20 31 |n.r...Ap|ril 1, 1|
|000003a0| 39 38 39 0d 23 09 09 09 | 54 45 53 61 6d 70 6c 65 |989.#...|TESample|
|000003b0| 2e 72 09 09 09 09 41 70 | 72 69 6c 20 31 2c 20 31 |.r....Ap|ril 1, 1|
|000003c0| 39 38 39 0d 23 0d 23 09 | 43 50 6c 75 73 54 45 53 |989.#.#.|CPlusTES|
|000003d0| 61 6d 70 6c 65 20 69 73 | 20 61 6e 20 65 78 61 6d |ample is| an exam|
|000003e0| 70 6c 65 20 61 70 70 6c | 69 63 61 74 69 6f 6e 20 |ple appl|ication |
|000003f0| 74 68 61 74 20 64 65 6d | 6f 6e 73 74 72 61 74 65 |that dem|onstrate|
|00000400| 73 0d 23 09 68 6f 77 20 | 74 6f 20 69 6e 69 74 69 |s.#.how |to initi|
|00000410| 61 6c 69 7a 65 20 74 68 | 65 20 63 6f 6d 6d 6f 6e |alize th|e common|
|00000420| 6c 79 20 75 73 65 64 20 | 74 6f 6f 6c 62 6f 78 20 |ly used |toolbox |
|00000430| 6d 61 6e 61 67 65 72 73 | 2c 0d 23 09 6f 70 65 72 |managers|,.#.oper|
|00000440| 61 74 65 20 73 75 63 63 | 65 73 73 66 75 6c 6c 79 |ate succ|essfully|
|00000450| 20 75 6e 64 65 72 20 4d | 75 6c 74 69 46 69 6e 64 | under M|ultiFind|
|00000460| 65 72 2c 20 68 61 6e 64 | 6c 65 20 64 65 73 6b 0d |er, hand|le desk.|
|00000470| 23 09 61 63 63 65 73 73 | 6f 72 69 65 73 20 61 6e |#.access|ories an|
|00000480| 64 20 63 72 65 61 74 65 | 2c 20 67 72 6f 77 2c 20 |d create|, grow, |
|00000490| 61 6e 64 20 7a 6f 6f 6d | 20 77 69 6e 64 6f 77 73 |and zoom| windows|
|000004a0| 2e 20 54 68 65 0d 23 09 | 66 75 6e 64 61 6d 65 6e |. The.#.|fundamen|
|000004b0| 74 61 6c 20 54 65 78 74 | 45 64 69 74 20 74 6f 6f |tal Text|Edit too|
|000004c0| 6c 62 6f 78 20 63 61 6c | 6c 73 20 61 6e 64 20 54 |lbox cal|ls and T|
|000004d0| 65 78 74 45 64 69 74 20 | 61 75 74 6f 73 63 72 6f |extEdit |autoscro|
|000004e0| 6c 6c 0d 23 09 61 72 65 | 20 64 65 6d 6f 6e 73 74 |ll.#.are| demonst|
|000004f0| 72 61 74 65 64 2e 20 49 | 74 20 61 6c 73 6f 20 73 |rated. I|t also s|
|00000500| 68 6f 77 73 20 68 6f 77 | 20 74 6f 20 63 72 65 61 |hows how| to crea|
|00000510| 74 65 20 61 6e 64 20 6d | 61 69 6e 74 61 69 6e 0d |te and m|aintain.|
|00000520| 23 09 73 63 72 6f 6c 6c | 62 61 72 20 63 6f 6e 74 |#.scroll|bar cont|
|00000530| 72 6f 6c 73 2e 20 0d 23 | 0d 23 09 54 68 69 73 20 |rols. .#|.#.This |
|00000540| 76 65 72 73 69 6f 6e 20 | 6f 66 20 54 45 53 61 6d |version |of TESam|
|00000550| 70 6c 65 20 68 61 73 20 | 62 65 65 6e 20 73 75 62 |ple has |been sub|
|00000560| 73 74 61 6e 74 69 61 6c | 6c 79 20 72 65 77 6f 72 |stantial|ly rewor|
|00000570| 6b 65 64 20 69 6e 0d 23 | 09 43 2b 2b 20 74 6f 20 |ked in.#|.C++ to |
|00000580| 73 68 6f 77 20 68 6f 77 | 20 61 20 22 74 79 70 69 |show how| a "typi|
|00000590| 63 61 6c 22 20 6f 62 6a | 65 63 74 20 6f 72 69 65 |cal" obj|ect orie|
|000005a0| 6e 74 65 64 20 70 72 6f | 67 72 61 6d 20 63 6f 75 |nted pro|gram cou|
|000005b0| 6c 64 0d 23 09 62 65 20 | 77 72 69 74 74 65 6e 2e |ld.#.be |written.|
|000005c0| 20 54 6f 20 74 68 69 73 | 20 65 6e 64 2c 20 77 68 | To this| end, wh|
|000005d0| 61 74 20 77 61 73 20 6f | 6e 63 65 20 61 20 73 69 |at was o|nce a si|
|000005e0| 6e 67 6c 65 20 73 6f 75 | 72 63 65 20 63 6f 64 65 |ngle sou|rce code|
|000005f0| 0d 23 09 66 69 6c 65 20 | 68 61 73 20 62 65 65 6e |.#.file |has been|
|00000600| 20 72 65 73 74 72 75 63 | 74 75 72 65 64 20 69 6e | restruc|tured in|
|00000610| 74 6f 20 61 20 73 65 74 | 20 6f 66 20 63 6c 61 73 |to a set| of clas|
|00000620| 73 65 73 20 77 68 69 63 | 68 0d 23 09 64 65 6d 6f |ses whic|h.#.demo|
|00000630| 6e 73 74 72 61 74 65 20 | 74 68 65 20 61 64 76 61 |nstrate |the adva|
|00000640| 6e 74 61 67 65 73 20 6f | 66 20 6f 62 6a 65 63 74 |ntages o|f object|
|00000650| 2d 6f 72 69 65 6e 74 65 | 64 20 70 72 6f 67 72 61 |-oriente|d progra|
|00000660| 6d 6d 69 6e 67 2e 0d 23 | 0d 2d 2d 2d 2d 2d 2d 2d |mming..#|.-------|
|00000670| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000680| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000690| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000006a0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000006b0| 2d 2d 2d 2d 2d 2d 2d 2a | 2f 0d 0d 23 69 66 6e 64 |-------*|/..#ifnd|
|000006c0| 65 66 20 54 45 43 6f 6d | 6d 6f 6e 5f 44 65 66 73 |ef TECom|mon_Defs|
|000006d0| 0d 23 64 65 66 69 6e 65 | 20 54 45 43 6f 6d 6d 6f |.#define| TECommo|
|000006e0| 6e 5f 44 65 66 73 0d 0d | 2f 2a 0d 09 54 68 65 73 |n_Defs..|/*..Thes|
|000006f0| 65 20 64 65 66 69 6e 69 | 74 69 6f 6e 73 20 61 72 |e defini|tions ar|
|00000700| 65 20 73 68 61 72 65 64 | 20 62 79 20 52 65 7a 20 |e shared| by Rez |
|00000710| 61 6e 64 20 43 2b 2b 2e | 20 57 65 20 75 73 65 20 |and C++.| We use |
|00000720| 23 64 65 66 69 6e 65 20 | 73 74 61 74 65 6d 65 6e |#define |statemen|
|00000730| 74 73 0d 09 69 6e 73 74 | 65 61 64 20 6f 66 20 63 |ts..inst|ead of c|
|00000740| 6f 6e 73 74 61 6e 74 73 | 20 69 6e 20 74 68 69 73 |onstants| in this|
|00000750| 20 66 69 6c 65 20 62 65 | 63 61 75 73 65 20 52 65 | file be|cause Re|
|00000760| 7a 20 64 6f 65 73 6e 27 | 74 20 73 75 70 70 6f 72 |z doesn'|t suppor|
|00000770| 74 20 63 6f 6e 73 74 61 | 6e 74 73 2c 0d 09 61 6e |t consta|nts,..an|
|00000780| 64 20 73 69 6e 63 65 20 | 74 68 65 20 33 2e 30 62 |d since |the 3.0b|
|00000790| 31 20 76 65 72 73 69 6f | 6e 20 6f 66 20 52 65 7a |1 versio|n of Rez|
|000007a0| 20 64 6f 65 73 6e 27 74 | 20 6c 69 6b 65 20 74 68 | doesn't| like th|
|000007b0| 65 20 43 2b 2b 20 63 6f | 6d 6d 65 6e 74 73 2c 20 |e C++ co|mments, |
|000007c0| 77 65 20 75 73 65 0d 09 | 43 20 73 74 79 6c 65 20 |we use..|C style |
|000007d0| 63 6f 6d 6d 65 6e 74 73 | 20 69 6e 20 74 68 69 73 |comments| in this|
|000007e0| 20 66 69 6c 65 20 61 73 | 20 77 65 6c 6c 2e 0d 20 | file as| well.. |
|000007f0| 2a 2f 0d 0d 2f 2a 09 44 | 65 74 65 72 6d 69 6e 69 |*/../*.D|etermini|
|00000800| 6e 67 20 61 6e 20 61 70 | 70 6c 69 63 61 74 69 6f |ng an ap|plicatio|
|00000810| 6e 27 73 20 6d 69 6e 69 | 6d 75 6d 20 73 69 7a 65 |n's mini|mum size|
|00000820| 20 74 6f 20 72 65 71 75 | 65 73 74 20 66 72 6f 6d | to requ|est from|
|00000830| 20 4d 75 6c 74 69 46 69 | 6e 64 65 72 20 64 65 70 | MultiFi|nder dep|
|00000840| 65 6e 64 73 0d 09 6f 6e | 20 6d 61 6e 79 20 74 68 |ends..on| many th|
|00000850| 69 6e 67 73 2c 20 65 61 | 63 68 20 6f 66 20 77 68 |ings, ea|ch of wh|
|00000860| 69 63 68 20 63 61 6e 20 | 62 65 20 75 6e 69 71 75 |ich can |be uniqu|
|00000870| 65 20 74 6f 20 61 6e 20 | 61 70 70 6c 69 63 61 74 |e to an |applicat|
|00000880| 69 6f 6e 27 73 20 66 75 | 6e 63 74 69 6f 6e 2c 0d |ion's fu|nction,.|
|00000890| 09 74 68 65 20 61 6e 74 | 69 63 69 70 61 74 65 64 |.the ant|icipated|
|000008a0| 20 65 6e 76 69 72 6f 6e | 6d 65 6e 74 2c 20 74 68 | environ|ment, th|
|000008b0| 65 20 64 65 76 65 6c 6f | 70 65 72 27 73 20 61 74 |e develo|per's at|
|000008c0| 74 69 74 75 64 65 20 6f | 66 20 77 68 61 74 20 63 |titude o|f what c|
|000008d0| 6f 6e 73 74 69 74 75 74 | 65 73 0d 09 72 65 61 73 |onstitut|es..reas|
|000008e0| 6f 6e 61 62 6c 65 20 66 | 75 6e 63 74 69 6f 6e 61 |onable f|unctiona|
|000008f0| 6c 69 74 79 20 61 6e 64 | 20 70 65 72 66 6f 72 6d |lity and| perform|
|00000900| 61 6e 63 65 2c 20 65 74 | 63 2e 20 48 65 72 65 20 |ance, et|c. Here |
|00000910| 69 73 20 61 20 6c 69 73 | 74 20 6f 66 20 73 6f 6d |is a lis|t of som|
|00000920| 65 20 74 68 69 6e 67 73 | 20 74 6f 0d 09 63 6f 6e |e things| to..con|
|00000930| 73 69 64 65 72 20 77 68 | 65 6e 20 64 65 74 65 72 |sider wh|en deter|
|00000940| 6d 69 6e 69 6e 67 20 74 | 68 65 20 6d 69 6e 69 6d |mining t|he minim|
|00000950| 75 6d 20 73 69 7a 65 20 | 28 61 6e 64 20 70 72 65 |um size |(and pre|
|00000960| 66 65 72 72 65 64 20 73 | 69 7a 65 29 20 66 6f 72 |ferred s|ize) for|
|00000970| 20 79 6f 75 72 0d 09 61 | 70 70 6c 69 63 61 74 69 | your..a|pplicati|
|00000980| 6f 6e 2e 20 54 68 65 20 | 6c 69 73 74 20 69 73 20 |on. The |list is |
|00000990| 70 72 65 74 74 79 20 6d | 75 63 68 20 69 6e 20 6f |pretty m|uch in o|
|000009a0| 72 64 65 72 20 6f 66 20 | 69 6d 70 6f 72 74 61 6e |rder of |importan|
|000009b0| 63 65 2c 20 62 75 74 20 | 62 79 20 6e 6f 20 6d 65 |ce, but |by no me|
|000009c0| 61 6e 73 0d 09 63 6f 6d | 70 6c 65 74 65 2e 0d 09 |ans..com|plete...|
|000009d0| 0d 09 31 2e 09 57 68 61 | 74 20 69 73 20 74 68 65 |..1..Wha|t is the|
|000009e0| 20 6d 69 6e 69 6d 75 6d | 20 73 69 7a 65 20 6e 65 | minimum| size ne|
|000009f0| 65 64 65 64 20 74 6f 20 | 67 69 76 65 20 61 6c 6d |eded to |give alm|
|00000a00| 6f 73 74 20 31 30 30 20 | 70 65 72 63 65 6e 74 20 |ost 100 |percent |
|00000a10| 61 73 73 75 72 61 6e 63 | 65 0d 09 09 74 68 61 74 |assuranc|e...that|
|00000a20| 20 74 68 65 20 61 70 70 | 6c 69 63 61 74 69 6f 6e | the app|lication|
|00000a30| 20 77 6f 6e 27 74 20 63 | 72 61 73 68 20 62 65 63 | won't c|rash bec|
|00000a40| 61 75 73 65 20 69 74 20 | 72 61 6e 20 6f 75 74 20 |ause it |ran out |
|00000a50| 6f 66 20 6d 65 6d 6f 72 | 79 3f 20 54 68 69 73 0d |of memor|y? This.|
|00000a60| 09 09 69 6e 63 6c 75 64 | 65 73 20 6e 6f 74 20 6f |..includ|es not o|
|00000a70| 6e 6c 79 20 74 68 69 6e | 67 73 20 74 68 61 74 20 |nly thin|gs that |
|00000a80| 79 6f 75 20 64 6f 20 68 | 61 76 65 20 64 69 72 65 |you do h|ave dire|
|00000a90| 63 74 20 63 6f 6e 74 72 | 6f 6c 20 6f 76 65 72 20 |ct contr|ol over |
|00000aa0| 73 75 63 68 20 61 73 0d | 09 09 63 68 65 63 6b 69 |such as.|..checki|
|00000ab0| 6e 67 20 66 6f 72 20 4e | 49 4c 20 68 61 6e 64 6c |ng for N|IL handl|
|00000ac0| 65 73 20 61 6e 64 20 70 | 6f 69 6e 74 65 72 73 2c |es and p|ointers,|
|00000ad0| 20 62 75 74 20 61 6c 73 | 6f 20 74 68 69 6e 67 73 | but als|o things|
|00000ae0| 20 74 68 61 74 20 73 6f | 6d 65 0d 09 09 66 65 65 | that so|me...fee|
|00000af0| 6c 20 61 72 65 20 6e 6f | 74 20 73 6f 20 6d 75 63 |l are no|t so muc|
|00000b00| 68 20 75 6e 64 65 72 20 | 74 68 65 69 72 20 63 6f |h under |their co|
|00000b10| 6e 74 72 6f 6c 20 73 75 | 63 68 20 61 73 20 51 75 |ntrol su|ch as Qu|
|00000b20| 69 63 6b 44 72 61 77 20 | 61 6e 64 20 74 68 65 0d |ickDraw |and the.|
|00000b30| 09 09 53 65 67 6d 65 6e | 74 20 4c 6f 61 64 65 72 |..Segmen|t Loader|
|00000b40| 2e 0d 09 09 0d 09 32 2e | 09 57 68 61 74 20 6b 69 |......2.|.What ki|
|00000b50| 6e 64 20 6f 66 20 70 65 | 72 66 6f 72 6d 61 6e 63 |nd of pe|rformanc|
|00000b60| 65 20 63 61 6e 20 61 20 | 75 73 65 72 20 65 78 70 |e can a |user exp|
|00000b70| 65 63 74 20 66 72 6f 6d | 20 74 68 65 20 61 70 70 |ect from| the app|
|00000b80| 6c 69 63 61 74 69 6f 6e | 20 77 68 65 6e 0d 09 09 |lication| when...|
|00000b90| 69 74 20 69 73 20 72 75 | 6e 6e 69 6e 67 20 69 6e |it is ru|nning in|
|00000ba0| 20 74 68 65 20 6d 69 6e | 69 6d 75 6d 20 6d 65 6d | the min|imum mem|
|00000bb0| 6f 72 79 20 63 6f 6e 66 | 69 67 75 72 61 74 69 6f |ory conf|iguratio|
|00000bc0| 6e 3f 20 50 65 72 66 6f | 72 6d 61 6e 63 65 20 69 |n? Perfo|rmance i|
|00000bd0| 6e 63 6c 75 64 65 73 0d | 09 09 6e 6f 74 20 6f 6e |ncludes.|..not on|
|00000be0| 6c 79 20 73 70 65 65 64 | 20 69 6e 20 68 61 6e 64 |ly speed| in hand|
|00000bf0| 6c 69 6e 67 20 64 61 74 | 61 2c 20 62 75 74 20 61 |ling dat|a, but a|
|00000c00| 6c 73 6f 20 74 68 69 6e | 67 73 20 6c 69 6b 65 20 |lso thin|gs like |
|00000c10| 68 6f 77 20 6d 61 6e 79 | 20 64 6f 63 75 6d 65 6e |how many| documen|
|00000c20| 74 73 0d 09 09 63 61 6e | 20 62 65 20 6f 70 65 6e |ts...can| be open|
|00000c30| 65 64 2c 20 65 74 63 2e | 0d 09 09 0d 09 33 2e 09 |ed, etc.|.....3..|
|00000c40| 57 68 61 74 20 61 72 65 | 20 74 68 65 20 74 79 70 |What are| the typ|
|00000c50| 69 63 61 6c 20 73 69 7a | 65 73 20 6f 66 20 73 63 |ical siz|es of sc|
|00000c60| 72 61 70 73 20 74 68 61 | 74 20 61 20 75 73 65 72 |raps tha|t a user|
|00000c70| 20 6d 69 67 68 74 20 77 | 69 73 68 20 74 6f 20 77 | might w|ish to w|
|00000c80| 6f 72 6b 0d 09 09 77 69 | 74 68 20 77 68 65 6e 20 |ork...wi|th when |
|00000c90| 6c 61 75 63 68 69 6e 67 | 20 6f 72 20 73 77 69 74 |lauching| or swit|
|00000ca0| 63 68 69 6e 67 20 74 6f | 20 79 6f 75 72 20 61 70 |ching to| your ap|
|00000cb0| 70 6c 69 63 61 74 69 6f | 6e 3f 20 49 66 20 74 68 |plicatio|n? If th|
|00000cc0| 65 20 61 6d 6f 75 6e 74 | 0d 09 09 6f 66 20 6d 65 |e amount|...of me|
|00000cd0| 6d 6f 72 79 20 69 73 20 | 74 6f 6f 20 73 6d 61 6c |mory is |too smal|
|00000ce0| 6c 2c 20 74 68 65 20 73 | 63 72 61 70 20 77 69 6c |l, the s|crap wil|
|00000cf0| 6c 20 62 65 20 70 75 72 | 67 65 64 20 66 72 6f 6d |l be pur|ged from|
|00000d00| 20 6d 65 6d 6f 72 79 2e | 20 54 68 69 73 0d 09 09 | memory.| This...|
|00000d10| 63 61 6e 20 62 65 20 71 | 75 69 74 65 20 66 72 75 |can be q|uite fru|
|00000d20| 73 74 72 61 74 69 6e 67 | 20 74 6f 20 74 68 65 20 |strating| to the |
|00000d30| 75 73 65 72 2e 0d 09 09 | 0d 09 34 2e 09 54 68 65 |user....|..4..The|
|00000d40| 20 70 72 65 76 69 6f 75 | 73 20 69 74 65 6d 73 20 | previou|s items |
|00000d50| 68 61 76 65 20 63 6f 6e | 63 65 6e 74 72 61 74 65 |have con|centrate|
|00000d60| 64 20 6f 6e 20 74 6f 70 | 69 63 73 20 74 68 61 74 |d on top|ics that|
|00000d70| 20 74 65 6e 64 20 74 6f | 20 63 61 75 73 65 20 61 | tend to| cause a|
|00000d80| 6e 0d 09 09 69 6e 63 72 | 65 61 73 65 20 69 6e 20 |n...incr|ease in |
|00000d90| 74 68 65 20 6d 69 6e 69 | 6d 75 6d 20 73 69 7a 65 |the mini|mum size|
|00000da0| 20 74 6f 20 72 65 71 75 | 65 73 74 20 66 72 6f 6d | to requ|est from|
|00000db0| 20 4d 75 6c 74 69 46 69 | 6e 64 65 72 2e 20 4f 6e | MultiFi|nder. On|
|00000dc0| 20 74 68 65 20 66 6c 69 | 70 0d 09 09 73 69 64 65 | the fli|p...side|
|00000dd0| 2c 20 68 6f 77 65 76 65 | 72 2c 20 73 68 6f 75 6c |, howeve|r, shoul|
|00000de0| 64 20 62 65 20 74 68 65 | 20 63 6f 6e 73 69 64 65 |d be the| conside|
|00000df0| 72 61 74 69 6f 6e 20 6f | 66 20 77 68 61 74 20 65 |ration o|f what e|
|00000e00| 6e 76 69 72 6f 6e 6d 65 | 6e 74 73 20 74 68 65 0d |nvironme|nts the.|
|00000e10| 09 09 61 70 70 6c 69 63 | 61 74 69 6f 6e 20 6d 61 |..applic|ation ma|
|00000e20| 79 20 62 65 20 72 75 6e | 6e 69 6e 67 20 69 6e 2e |y be run|ning in.|
|00000e30| 20 54 68 65 72 65 20 6d | 61 79 20 62 65 20 61 20 | There m|ay be a |
|00000e40| 68 69 67 68 20 70 72 6f | 62 61 62 69 6c 69 74 79 |high pro|bability|
|00000e50| 20 74 68 61 74 0d 09 09 | 6d 61 6e 79 20 75 73 65 | that...|many use|
|00000e60| 72 73 20 77 69 74 68 20 | 72 65 6c 61 74 69 76 65 |rs with |relative|
|00000e70| 6c 79 20 73 6d 61 6c 6c | 20 6d 65 6d 6f 72 79 20 |ly small| memory |
|00000e80| 63 6f 6e 66 69 67 75 72 | 61 74 69 6f 6e 73 20 77 |configur|ations w|
|00000e90| 69 6c 6c 20 77 61 6e 74 | 20 74 6f 0d 09 09 61 76 |ill want| to...av|
|00000ea0| 61 69 6c 20 74 68 65 6d | 73 65 6c 76 65 73 20 6f |ail them|selves o|
|00000eb0| 66 20 79 6f 75 72 20 61 | 70 70 6c 69 63 61 74 69 |f your a|pplicati|
|00000ec0| 6f 6e 2e 20 4f 72 2c 20 | 6d 61 6e 79 20 75 73 65 |on. Or, |many use|
|00000ed0| 72 73 20 6d 69 67 68 74 | 20 77 61 6e 74 20 74 6f |rs might| want to|
|00000ee0| 20 75 73 65 20 69 74 0d | 09 09 77 68 69 6c 65 20 | use it.|..while |
|00000ef0| 73 65 76 65 72 61 6c 20 | 6f 74 68 65 72 2c 20 70 |several |other, p|
|00000f00| 6f 73 73 69 62 6c 79 20 | 72 65 6c 61 74 65 64 2f |ossibly |related/|
|00000f10| 63 6f 6d 70 6c 65 6d 65 | 6e 74 61 72 79 20 61 70 |compleme|ntary ap|
|00000f20| 70 6c 69 63 61 74 69 6f | 6e 73 20 61 72 65 0d 09 |plicatio|ns are..|
|00000f30| 09 72 75 6e 6e 69 6e 67 | 2e 20 49 66 20 74 68 61 |.running|. If tha|
|00000f40| 74 20 69 73 20 74 68 65 | 20 63 61 73 65 2c 20 69 |t is the| case, i|
|00000f50| 74 20 77 6f 75 6c 64 20 | 62 65 20 68 65 6c 70 66 |t would |be helpf|
|00000f60| 75 6c 20 74 6f 20 68 61 | 76 65 20 61 20 66 61 69 |ul to ha|ve a fai|
|00000f70| 72 6c 79 0d 09 09 73 6d | 61 6c 6c 20 6d 69 6e 69 |rly...sm|all mini|
|00000f80| 6d 75 6d 20 73 69 7a 65 | 2e 0d 09 0d 09 57 68 61 |mum size|.....Wha|
|00000f90| 74 20 77 65 20 64 69 64 | 20 66 6f 72 20 43 50 6c |t we did| for CPl|
|00000fa0| 75 73 54 45 53 61 6d 70 | 6c 65 3a 0d 09 0d 09 09 |usTESamp|le:.....|
|00000fb0| 57 65 20 64 65 74 65 72 | 6d 69 6e 65 64 20 74 68 |We deter|mined th|
|00000fc0| 65 20 73 6d 61 6c 6c 65 | 73 74 20 68 65 61 70 20 |e smalle|st heap |
|00000fd0| 73 69 7a 65 20 74 68 61 | 74 20 43 50 6c 75 73 54 |size tha|t CPlusT|
|00000fe0| 45 53 61 6d 70 6c 65 20 | 63 6f 75 6c 64 20 68 61 |ESample |could ha|
|00000ff0| 76 65 20 61 6e 64 0d 09 | 09 73 74 69 6c 6c 20 72 |ve and..|.still r|
|00001000| 75 6e 20 28 32 34 4b 29 | 2e 20 46 6f 72 20 74 68 |un (24K)|. For th|
|00001010| 65 20 70 72 65 66 65 72 | 72 65 64 20 73 69 7a 65 |e prefer|red size|
|00001020| 20 77 65 20 61 64 64 65 | 64 20 65 6e 6f 75 67 68 | we adde|d enough|
|00001030| 20 73 70 61 63 65 20 74 | 6f 20 70 65 72 6d 69 74 | space t|o permit|
|00001040| 3a 0d 09 09 09 61 2e 20 | 61 20 6d 61 78 69 6d 75 |:....a. |a maximu|
|00001050| 6d 20 73 69 7a 65 20 54 | 65 78 74 45 64 69 74 20 |m size T|extEdit |
|00001060| 74 65 78 74 20 68 61 6e | 64 6c 65 20 28 33 32 30 |text han|dle (320|
|00001070| 30 30 20 63 68 61 72 61 | 63 74 65 72 73 29 0d 09 |00 chara|cters)..|
|00001080| 09 09 62 2e 20 61 20 6d | 61 78 69 6d 75 6d 20 75 |..b. a m|aximum u|
|00001090| 73 61 62 6c 65 20 54 65 | 78 74 45 64 69 74 20 73 |sable Te|xtEdit s|
|000010a0| 63 72 61 70 20 28 33 32 | 30 30 30 20 63 68 61 72 |crap (32|000 char|
|000010b0| 61 63 74 65 72 73 29 0d | 09 09 09 62 2e 20 61 20 |acters).|...b. a |
|000010c0| 6d 61 78 69 6d 75 6d 20 | 73 63 72 61 70 20 61 73 |maximum |scrap as|
|000010d0| 20 61 20 72 65 73 75 6c | 74 20 6f 66 20 43 6f 70 | a resul|t of Cop|
|000010e0| 79 20 28 33 32 30 30 30 | 20 63 68 61 72 61 63 74 |y (32000| charact|
|000010f0| 65 72 73 29 0d 09 09 09 | 64 2e 20 61 20 6c 69 74 |ers)....|d. a lit|
|00001100| 74 6c 65 20 70 65 72 66 | 6f 72 6d 61 6e 63 65 20 |tle perf|ormance |
|00001110| 63 75 73 68 69 6f 6e 20 | 28 73 65 65 20 32 2c 20 |cushion |(see 2, |
|00001120| 61 62 6f 76 65 29 20 28 | 31 30 4b 29 0d 09 09 52 |above) (|10K)...R|
|00001130| 65 73 75 6c 74 3a 20 31 | 32 34 4b 20 66 6f 72 20 |esult: 1|24K for |
|00001140| 70 72 65 66 65 72 72 65 | 64 20 73 69 7a 65 0d 09 |preferre|d size..|
|00001150| 09 0d 09 09 46 6f 72 20 | 74 68 65 20 6d 69 6e 69 |....For |the mini|
|00001160| 6d 75 6d 20 73 69 7a 65 | 20 77 65 20 74 6f 6f 6b |mum size| we took|
|00001170| 20 74 68 65 20 32 32 4b | 20 61 6e 64 20 74 68 65 | the 22K| and the|
|00001180| 6e 20 73 63 61 6c 65 64 | 20 64 6f 77 6e 20 6f 75 |n scaled| down ou|
|00001190| 72 20 72 65 71 75 69 72 | 65 6d 65 6e 74 73 0d 09 |r requir|ements..|
|000011a0| 09 66 6f 72 20 61 2c 62 | 2c 20 61 6e 64 20 63 20 |.for a,b|, and c |
|000011b0| 61 62 6f 76 65 2e 20 57 | 65 20 74 68 6f 75 67 68 |above. W|e though|
|000011c0| 74 20 74 68 61 74 20 70 | 72 6f 76 69 64 69 6e 67 |t that p|roviding|
|000011d0| 20 31 36 4b 20 6d 6f 72 | 65 20 77 6f 75 6c 64 20 | 16K mor|e would |
|000011e0| 62 65 20 6c 65 61 6e 0d | 09 09 61 6e 64 20 6d 65 |be lean.|..and me|
|000011f0| 61 6e 20 28 73 65 65 20 | 34 2c 20 61 62 6f 76 65 |an (see |4, above|
|00001200| 29 2e 0d 09 09 52 65 73 | 75 6c 74 3a 20 34 30 4b |)....Res|ult: 40K|
|00001210| 20 66 6f 72 20 6d 69 6e | 69 6d 75 6d 20 73 69 7a | for min|imum siz|
|00001220| 65 0d 2a 2f 0d 20 0d 23 | 64 65 66 69 6e 65 20 6b |e.*/. .#|define k|
|00001230| 50 72 65 66 53 69 7a 65 | 09 09 09 09 31 32 34 0d |PrefSize|....124.|
|00001240| 23 64 65 66 69 6e 65 20 | 6b 4d 69 6e 53 69 7a 65 |#define |kMinSize|
|00001250| 09 09 09 09 34 30 0d 09 | 0d 2f 2a 20 6b 4d 69 6e |....40..|./* kMin|
|00001260| 48 65 61 70 20 2d 20 54 | 68 69 73 20 69 73 20 74 |Heap - T|his is t|
|00001270| 68 65 20 6d 69 6e 69 6d | 75 6d 20 72 65 73 75 6c |he minim|um resul|
|00001280| 74 20 66 72 6f 6d 20 74 | 68 65 20 66 6f 6c 6c 6f |t from t|he follo|
|00001290| 77 69 6e 67 0d 09 20 65 | 71 75 61 74 69 6f 6e 3a |wing.. e|quation:|
|000012a0| 0d 09 09 09 0d 09 09 09 | 4f 52 44 28 47 65 74 41 |........|ORD(GetA|
|000012b0| 70 70 6c 4c 69 6d 69 74 | 29 20 2d 20 4f 52 44 28 |pplLimit|) - ORD(|
|000012c0| 41 70 70 6c 69 63 5a 6f | 6e 65 29 0d 09 09 09 0d |ApplicZo|ne).....|
|000012d0| 09 20 66 6f 72 20 74 68 | 65 20 61 70 70 6c 69 63 |. for th|e applic|
|000012e0| 61 74 69 6f 6e 20 74 6f | 20 72 75 6e 2e 20 49 74 |ation to| run. It|
|000012f0| 20 77 69 6c 6c 20 69 6e | 73 75 72 65 20 74 68 61 | will in|sure tha|
|00001300| 74 20 65 6e 6f 75 67 68 | 20 6d 65 6d 6f 72 79 20 |t enough| memory |
|00001310| 77 69 6c 6c 0d 09 20 62 | 65 20 61 72 6f 75 6e 64 |will.. b|e around|
|00001320| 20 66 6f 72 20 72 65 61 | 73 6f 6e 61 62 6c 65 2d | for rea|sonable-|
|00001330| 73 69 7a 65 64 20 73 63 | 72 61 70 73 2c 20 46 4b |sized sc|raps, FK|
|00001340| 45 59 73 2c 20 65 74 63 | 2e 20 74 6f 20 65 78 69 |EYs, etc|. to exi|
|00001350| 73 74 20 77 69 74 68 20 | 74 68 65 0d 09 20 61 70 |st with |the.. ap|
|00001360| 70 6c 69 63 61 74 69 6f | 6e 2c 20 61 6e 64 20 73 |plicatio|n, and s|
|00001370| 74 69 6c 6c 20 67 69 76 | 65 20 74 68 65 20 61 70 |till giv|e the ap|
|00001380| 70 6c 69 63 61 74 69 6f | 6e 20 73 6f 6d 65 20 27 |plicatio|n some '|
|00001390| 62 72 65 61 74 68 69 6e | 67 20 72 6f 6f 6d 27 2e |breathin|g room'.|
|000013a0| 0d 09 20 54 6f 20 64 65 | 72 69 76 65 20 74 68 69 |.. To de|rive thi|
|000013b0| 73 20 6e 75 6d 62 65 72 | 2c 20 77 65 20 72 61 6e |s number|, we ran|
|000013c0| 20 75 6e 64 65 72 20 61 | 20 4d 75 6c 74 69 46 69 | under a| MultiFi|
|000013d0| 6e 64 65 72 20 70 61 72 | 74 69 74 69 6f 6e 20 74 |nder par|tition t|
|000013e0| 68 61 74 20 77 61 73 0d | 09 20 6f 75 72 20 72 65 |hat was.|. our re|
|000013f0| 71 75 65 73 74 65 64 20 | 6d 69 6e 69 6d 75 6d 20 |quested |minimum |
|00001400| 73 69 7a 65 2c 20 61 73 | 20 67 69 76 65 6e 20 69 |size, as| given i|
|00001410| 6e 20 74 68 65 20 27 53 | 49 5a 45 27 20 72 65 73 |n the 'S|IZE' res|
|00001420| 6f 75 72 63 65 2e 20 2a | 2f 0d 09 20 0d 23 64 65 |ource. *|/.. .#de|
|00001430| 66 69 6e 65 09 6b 4d 69 | 6e 48 65 61 70 09 09 09 |fine.kMi|nHeap...|
|00001440| 09 20 28 33 34 20 2a 20 | 31 30 32 34 29 0d 09 0d |. (34 * |1024)...|
|00001450| 2f 2a 20 6b 4d 69 6e 53 | 70 61 63 65 20 2d 20 54 |/* kMinS|pace - T|
|00001460| 68 69 73 20 69 73 20 74 | 68 65 20 6d 69 6e 69 6d |his is t|he minim|
|00001470| 75 6d 20 72 65 73 75 6c | 74 20 66 72 6f 6d 20 50 |um resul|t from P|
|00001480| 75 72 67 65 53 70 61 63 | 65 2c 20 77 68 65 6e 20 |urgeSpac|e, when |
|00001490| 63 61 6c 6c 65 64 0d 09 | 20 61 74 20 69 6e 69 74 |called..| at init|
|000014a0| 69 61 6c 69 7a 61 74 69 | 6f 6e 20 74 69 6d 65 2c |ializati|on time,|
|000014b0| 20 66 6f 72 20 74 68 65 | 20 61 70 70 6c 69 63 61 | for the| applica|
|000014c0| 74 69 6f 6e 20 74 6f 20 | 72 75 6e 2e 20 54 68 69 |tion to |run. Thi|
|000014d0| 73 20 6e 75 6d 62 65 72 | 20 61 63 74 73 0d 09 20 |s number| acts.. |
|000014e0| 61 73 20 61 20 64 6f 75 | 62 6c 65 2d 63 68 65 63 |as a dou|ble-chec|
|000014f0| 6b 20 74 6f 20 69 6e 73 | 75 72 65 20 74 68 61 74 |k to ins|ure that|
|00001500| 20 74 68 65 72 65 20 72 | 65 61 6c 6c 79 20 69 73 | there r|eally is|
|00001510| 20 65 6e 6f 75 67 68 20 | 6d 65 6d 6f 72 79 20 66 | enough |memory f|
|00001520| 6f 72 20 74 68 65 0d 09 | 20 61 70 70 6c 69 63 61 |or the..| applica|
|00001530| 74 69 6f 6e 20 74 6f 20 | 72 75 6e 2c 20 69 6e 63 |tion to |run, inc|
|00001540| 6c 75 64 69 6e 67 20 77 | 68 61 74 20 68 61 73 20 |luding w|hat has |
|00001550| 62 65 65 6e 20 74 61 6b | 65 6e 20 75 70 20 61 6c |been tak|en up al|
|00001560| 72 65 61 64 79 20 62 79 | 0d 09 20 70 72 65 2d 6c |ready by|.. pre-l|
|00001570| 6f 61 64 65 64 20 72 65 | 73 6f 75 72 63 65 73 2c |oaded re|sources,|
|00001580| 20 74 68 65 20 73 63 72 | 61 70 2c 20 63 6f 64 65 | the scr|ap, code|
|00001590| 2c 20 61 6e 64 20 6f 74 | 68 65 72 20 73 75 6e 64 |, and ot|her sund|
|000015a0| 72 79 20 6d 65 6d 6f 72 | 79 20 62 6c 6f 63 6b 73 |ry memor|y blocks|
|000015b0| 2e 20 2a 2f 0d 09 20 0d | 23 64 65 66 69 6e 65 09 |. */.. .|#define.|
|000015c0| 6b 4d 69 6e 53 70 61 63 | 65 09 09 09 09 28 32 30 |kMinSpac|e....(20|
|000015d0| 20 2a 20 31 30 32 34 29 | 0d 0d 2f 2a 20 69 64 20 | * 1024)|../* id |
|000015e0| 6f 66 20 6f 75 72 20 53 | 54 52 23 20 66 6f 72 20 |of our S|TR# for |
|000015f0| 65 72 72 6f 72 20 73 74 | 72 69 6e 67 73 20 2a 2f |error st|rings */|
|00001600| 0d 23 64 65 66 69 6e 65 | 20 6b 54 45 44 6f 63 45 |.#define| kTEDocE|
|00001610| 72 72 53 74 72 69 6e 67 | 73 09 20 31 32 39 0d 0d |rrString|s. 129..|
|00001620| 2f 2a 20 54 68 65 20 66 | 6f 6c 6c 6f 77 69 6e 67 |/* The f|ollowing|
|00001630| 20 61 72 65 20 69 6e 64 | 69 63 69 65 73 20 69 6e | are ind|icies in|
|00001640| 74 6f 20 53 54 52 23 20 | 72 65 73 6f 75 72 63 65 |to STR# |resource|
|00001650| 73 2e 20 2a 2f 0d 23 64 | 65 66 69 6e 65 09 65 4e |s. */.#d|efine.eN|
|00001660| 6f 4d 65 6d 6f 72 79 09 | 09 09 09 31 0d 23 64 65 |oMemory.|...1.#de|
|00001670| 66 69 6e 65 09 65 4e 6f | 53 70 61 63 65 43 75 74 |fine.eNo|SpaceCut|
|00001680| 09 09 09 09 32 0d 23 64 | 65 66 69 6e 65 09 65 4e |....2.#d|efine.eN|
|00001690| 6f 43 75 74 09 09 09 09 | 09 33 0d 23 64 65 66 69 |oCut....|.3.#defi|
|000016a0| 6e 65 09 65 4e 6f 43 6f | 70 79 09 09 09 09 09 34 |ne.eNoCo|py.....4|
|000016b0| 0d 23 64 65 66 69 6e 65 | 09 65 45 78 63 65 65 64 |.#define|.eExceed|
|000016c0| 50 61 73 74 65 09 09 09 | 35 0d 23 64 65 66 69 6e |Paste...|5.#defin|
|000016d0| 65 09 65 4e 6f 53 70 61 | 63 65 50 61 73 74 65 09 |e.eNoSpa|cePaste.|
|000016e0| 09 09 36 0d 23 64 65 66 | 69 6e 65 09 65 4e 6f 57 |..6.#def|ine.eNoW|
|000016f0| 69 6e 64 6f 77 09 09 09 | 09 37 0d 23 64 65 66 69 |indow...|.7.#defi|
|00001700| 6e 65 09 65 45 78 63 65 | 65 64 43 68 61 72 09 09 |ne.eExce|edChar..|
|00001710| 09 09 38 0d 23 64 65 66 | 69 6e 65 09 65 4e 6f 50 |..8.#def|ine.eNoP|
|00001720| 61 73 74 65 09 09 09 09 | 39 0d 0d 23 64 65 66 69 |aste....|9..#defi|
|00001730| 6e 65 09 72 4d 65 6e 75 | 42 61 72 09 31 32 38 09 |ne.rMenu|Bar.128.|
|00001740| 09 09 09 2f 2a 20 61 70 | 70 6c 69 63 61 74 69 6f |.../* ap|plicatio|
|00001750| 6e 27 73 20 6d 65 6e 75 | 20 62 61 72 20 2a 2f 0d |n's menu| bar */.|
|00001760| 23 64 65 66 69 6e 65 09 | 72 41 62 6f 75 74 41 6c |#define.|rAboutAl|
|00001770| 65 72 74 09 31 32 38 09 | 09 09 09 2f 2a 20 61 62 |ert.128.|.../* ab|
|00001780| 6f 75 74 20 61 6c 65 72 | 74 20 2a 2f 0d 23 64 65 |out aler|t */.#de|
|00001790| 66 69 6e 65 09 72 44 6f | 63 57 69 6e 64 6f 77 09 |fine.rDo|cWindow.|
|000017a0| 31 32 38 09 09 09 09 2f | 2a 20 61 70 70 6c 69 63 |128..../|* applic|
|000017b0| 61 74 69 6f 6e 27 73 20 | 77 69 6e 64 6f 77 20 2a |ation's |window *|
|000017c0| 2f 0d 23 64 65 66 69 6e | 65 09 72 56 53 63 72 6f |/.#defin|e.rVScro|
|000017d0| 6c 6c 09 31 32 38 09 09 | 09 09 2f 2a 20 76 65 72 |ll.128..|../* ver|
|000017e0| 74 69 63 61 6c 20 73 63 | 72 6f 6c 6c 62 61 72 20 |tical sc|rollbar |
|000017f0| 63 6f 6e 74 72 6f 6c 20 | 2a 2f 0d 23 64 65 66 69 |control |*/.#defi|
|00001800| 6e 65 09 72 48 53 63 72 | 6f 6c 6c 09 31 32 39 09 |ne.rHScr|oll.129.|
|00001810| 09 09 09 2f 2a 20 68 6f | 72 69 7a 6f 6e 74 61 6c |.../* ho|rizontal|
|00001820| 20 73 63 72 6f 6c 6c 62 | 61 72 20 63 6f 6e 74 72 | scrollb|ar contr|
|00001830| 6f 6c 20 2a 2f 0d 0d 2f | 2a 20 54 68 65 20 66 6f |ol */../|* The fo|
|00001840| 6c 6c 6f 77 69 6e 67 20 | 63 6f 6e 73 74 61 6e 74 |llowing |constant|
|00001850| 73 20 61 72 65 20 75 73 | 65 64 20 74 6f 20 69 64 |s are us|ed to id|
|00001860| 65 6e 74 69 66 79 20 6d | 65 6e 75 73 20 61 6e 64 |entify m|enus and|
|00001870| 20 74 68 65 69 72 20 69 | 74 65 6d 73 2e 20 54 68 | their i|tems. Th|
|00001880| 65 20 6d 65 6e 75 20 49 | 44 73 0d 20 20 20 68 61 |e menu I|Ds. ha|
|00001890| 76 65 20 61 6e 20 22 6d | 22 20 70 72 65 66 69 78 |ve an "m|" prefix|
|000018a0| 20 61 6e 64 20 74 68 65 | 20 69 74 65 6d 20 6e 75 | and the| item nu|
|000018b0| 6d 62 65 72 73 20 77 69 | 74 68 69 6e 20 65 61 63 |mbers wi|thin eac|
|000018c0| 68 20 6d 65 6e 75 20 68 | 61 76 65 20 61 6e 20 22 |h menu h|ave an "|
|000018d0| 69 22 20 70 72 65 66 69 | 78 2e 20 2a 2f 0d 23 64 |i" prefi|x. */.#d|
|000018e0| 65 66 69 6e 65 09 6d 41 | 70 70 6c 65 09 09 09 09 |efine.mA|pple....|
|000018f0| 09 31 32 38 09 09 2f 2a | 20 41 70 70 6c 65 20 6d |.128../*| Apple m|
|00001900| 65 6e 75 20 2a 2f 0d 23 | 64 65 66 69 6e 65 09 69 |enu */.#|define.i|
|00001910| 41 62 6f 75 74 09 09 09 | 09 09 31 0d 0d 23 64 65 |About...|..1..#de|
|00001920| 66 69 6e 65 09 6d 46 69 | 6c 65 09 09 09 09 09 31 |fine.mFi|le.....1|
|00001930| 32 39 09 09 2f 2a 20 46 | 69 6c 65 20 6d 65 6e 75 |29../* F|ile menu|
|00001940| 20 2a 2f 0d 23 64 65 66 | 69 6e 65 09 69 4e 65 77 | */.#def|ine.iNew|
|00001950| 09 09 09 09 09 31 0d 23 | 64 65 66 69 6e 65 09 69 |.....1.#|define.i|
|00001960| 43 6c 6f 73 65 09 09 09 | 09 09 34 0d 23 64 65 66 |Close...|..4.#def|
|00001970| 69 6e 65 09 69 51 75 69 | 74 09 09 09 09 09 31 32 |ine.iQui|t.....12|
|00001980| 0d 0d 23 64 65 66 69 6e | 65 09 6d 45 64 69 74 09 |..#defin|e.mEdit.|
|00001990| 09 09 09 09 31 33 30 09 | 09 2f 2a 20 45 64 69 74 |....130.|./* Edit|
|000019a0| 20 6d 65 6e 75 20 2a 2f | 0d 23 64 65 66 69 6e 65 | menu */|.#define|
|000019b0| 09 69 55 6e 64 6f 09 09 | 09 09 09 31 0d 23 64 65 |.iUndo..|...1.#de|
|000019c0| 66 69 6e 65 09 69 43 75 | 74 09 09 09 09 09 33 0d |fine.iCu|t.....3.|
|000019d0| 23 64 65 66 69 6e 65 09 | 69 43 6f 70 79 09 09 09 |#define.|iCopy...|
|000019e0| 09 09 34 0d 23 64 65 66 | 69 6e 65 09 69 50 61 73 |..4.#def|ine.iPas|
|000019f0| 74 65 09 09 09 09 09 35 | 0d 23 64 65 66 69 6e 65 |te.....5|.#define|
|00001a00| 09 69 43 6c 65 61 72 09 | 09 09 09 09 36 0d 0d 23 |.iClear.|....6..#|
|00001a10| 65 6e 64 69 66 20 54 45 | 43 6f 6d 6d 6f 6e 5f 44 |endif TE|Common_D|
|00001a20| 65 66 73 0d 00 00 00 00 | 00 00 00 00 00 00 00 00 |efs.....|........|
|00001a30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001a40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001a50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001a60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001a70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001a80| 00 00 01 00 00 00 01 4c | 00 00 00 4c 00 00 00 32 |.......L|...L...2|
|00001a90| 00 00 20 07 00 4c 03 00 | 00 00 00 00 00 00 00 00 |.. ..L..|........|
|00001aa0| 00 00 09 c8 09 4c 69 62 | 72 61 72 69 65 73 00 00 |.....Lib|raries..|
|00001ab0| 0a 54 45 43 6f 6d 6d 6f | 6e 2e 68 6d 02 00 00 00 |.TECommo|n.hm....|
|00001ac0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001ad0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001ae0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001af0| 00 00 a0 a1 88 de 00 00 | 00 00 00 00 01 7e ff f0 |........|.....~..|
|00001b00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001b10| 00 00 00 00 00 00 00 00 | 00 00 00 00 0f 00 00 00 |........|........|
|00001b20| 20 07 09 4c 69 62 72 61 | 72 69 65 73 01 00 00 00 | ..Libra|ries....|
|00001b30| 00 08 00 00 25 93 00 00 | 00 00 9f 5b ec b1 00 00 |....%...|...[....|
|00001b40| 00 00 00 6e 00 26 01 15 | 01 d6 01 00 00 00 00 40 |...n.&..|.......@|
|00001b50| 03 00 ff f8 ff f7 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001b60| 4e fd 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |N.......|........|
|00001b70| 00 00 10 00 00 00 20 07 | 0a 50 4c 69 62 72 61 72 |...... .|.PLibrar|
|00001b80| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 00 00 00 |...H..Mo|naco....|
|00001b90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 02 b4 |........|........|
|00001ba0| 7f ff 70 65 00 00 00 06 | 00 04 00 27 00 00 01 df |..pe....|...'....|
|00001bb0| 02 30 00 67 00 23 01 c0 | 02 5f a0 72 17 48 00 00 |.0.g.#..|._.r.H..|
|00001bc0| 00 00 00 00 00 00 00 00 | 00 00 01 00 00 00 01 00 |........|........|
|00001bd0| 00 00 01 4c 00 00 00 4c | 00 00 00 32 00 16 a5 64 |...L...L|...2...d|
|00001be0| 07 5a 00 00 00 1c 00 32 | 00 00 4d 50 53 52 00 00 |.Z.....2|..MPSR..|
|00001bf0| 00 0a 03 ed ff ff 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+