home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1996 Christmas / macformat-045.iso / Shareware Plus / Developers / enteract-377 / enteract-377.sit / EnterAct Stuff / hAWK project / AWK Source / Code_Main.c < prev    next >
MacBinary  |  1995-06-12  |  11.1 KB  |  [TEXT/KEEN]

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
66% dexvert Compact Compressed (Unix) (archive/compact) ext Supported
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Mon Jun 12 22:46:42 1995, modified Mon Jun 12 22:46:42 1995, creator 'KEEN', type ASCII, 10024 bytes "Code_Main.c" , at 0x27a8 1086 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[KEEN]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0b 43 6f 64 65 5f 4d | 61 69 6e 2e 63 00 00 00 |..Code_M|ain.c...|
|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 4b 45 45 | 4e 01 00 00 00 00 00 00 |.TEXTKEE|N.......|
|00000050| 00 00 00 00 00 27 28 00 | 00 04 3e ac 02 ac 92 ac |.....'(.|..>.....|
|00000060| 02 ac 92 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 94 bc 00 00 |........|........|
|00000080| 2f 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 6d 61 69 6e |/*******|****main|
|00000090| 20 66 69 6c 65 20 66 6f | 72 20 68 41 57 4b 2a 2a | file fo|r hAWK**|
|000000a0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2f 0d 2f 2a |********|****/./*|
|000000b0| 20 54 68 69 73 20 66 69 | 6c 65 20 63 6f 6e 74 61 | This fi|le conta|
|000000c0| 69 6e 73 20 74 68 65 20 | 65 6e 74 72 79 20 70 6f |ins the |entry po|
|000000d0| 69 6e 74 20 66 6f 72 20 | 74 68 65 20 63 6f 64 65 |int for |the code|
|000000e0| 20 72 65 73 6f 75 72 63 | 65 2c 20 61 6e 64 0d 61 | resourc|e, and.a|
|000000f0| 20 62 69 74 20 6f 66 20 | 67 6c 75 65 20 66 6f 72 | bit of |glue for|
|00000100| 20 74 68 65 20 65 78 74 | 65 6e 73 69 6f 6e 20 66 | the ext|ension f|
|00000110| 75 6e 63 74 69 6f 6e 73 | 2e 20 46 72 6f 6d 20 72 |unctions|. From r|
|00000120| 65 73 6f 75 72 63 65 20 | 74 6f 20 72 65 73 6f 75 |esource |to resou|
|00000130| 72 63 65 0d 61 6c 6c 20 | 74 68 61 74 20 76 61 72 |rce.all |that var|
|00000140| 69 65 73 20 69 73 20 74 | 68 65 20 6e 61 6d 65 20 |ies is t|he name |
|00000150| 6f 66 20 74 68 65 20 66 | 75 6e 63 74 69 6f 6e 20 |of the f|unction |
|00000160| 63 61 6c 6c 65 64 20 74 | 6f 20 64 6f 20 74 68 65 |called t|o do the|
|00000170| 20 72 65 61 6c 0d 77 6f | 72 6b 20 2d 20 22 49 6e | real.wo|rk - "In|
|00000180| 76 6f 6b 65 48 41 57 4b | 22 20 68 65 72 65 2e 20 |vokeHAWK|" here. |
|00000190| 09 09 09 09 2a 2f 0d 0d | 2f 2a 20 43 6f 70 79 72 |....*/..|/* Copyr|
|000001a0| 69 67 68 74 20 a9 20 31 | 39 38 36 2c 31 39 38 38 |ight . 1|986,1988|
|000001b0| 2c 31 39 38 39 2c 31 39 | 39 31 2c 31 39 39 32 20 |,1989,19|91,1992 |
|000001c0| 74 68 65 20 46 72 65 65 | 20 53 6f 66 74 77 61 72 |the Free| Softwar|
|000001d0| 65 20 46 6f 75 6e 64 61 | 74 69 6f 6e 2c 20 49 6e |e Founda|tion, In|
|000001e0| 63 2e 0d 20 2a 20 09 09 | 54 68 69 73 20 66 69 6c |c.. * ..|This fil|
|000001f0| 65 20 69 73 20 70 61 72 | 74 20 6f 66 20 47 41 57 |e is par|t of GAW|
|00000200| 4b 2c 20 74 68 65 20 47 | 4e 55 20 69 6d 70 6c 65 |K, the G|NU imple|
|00000210| 6d 65 6e 74 61 74 69 6f | 6e 20 6f 66 20 74 68 65 |mentatio|n of the|
|00000220| 0d 20 2a 20 41 57 4b 20 | 50 72 6f 67 61 6d 6d 69 |. * AWK |Progammi|
|00000230| 6e 67 20 4c 61 6e 67 75 | 61 67 65 2c 20 6d 6f 64 |ng Langu|age, mod|
|00000240| 69 66 69 65 64 20 66 6f | 72 20 74 68 65 20 4d 61 |ified fo|r the Ma|
|00000250| 63 69 6e 74 6f 73 68 20 | 28 61 6c 73 6f 20 63 61 |cintosh |(also ca|
|00000260| 6c 6c 65 64 20 68 41 57 | 4b 29 2e 0d 20 2a 20 09 |lled hAW|K).. * .|
|00000270| 09 47 41 57 4b 20 69 73 | 20 66 72 65 65 20 73 6f |.GAWK is| free so|
|00000280| 66 74 77 61 72 65 3b 20 | 79 6f 75 20 63 61 6e 20 |ftware; |you can |
|00000290| 72 65 64 69 73 74 72 69 | 62 75 74 65 20 6f 72 20 |redistri|bute or |
|000002a0| 6d 6f 64 69 66 79 0d 20 | 2a 20 69 74 20 75 6e 64 |modify. |* it und|
|000002b0| 65 72 20 74 68 65 20 74 | 65 72 6d 73 20 6f 66 20 |er the t|erms of |
|000002c0| 74 68 65 20 47 4e 55 20 | 47 65 6e 65 72 61 6c 20 |the GNU |General |
|000002d0| 50 75 62 6c 69 63 20 4c | 69 63 65 6e 73 65 20 61 |Public L|icense a|
|000002e0| 73 20 70 75 62 6c 69 73 | 68 65 64 20 62 79 0d 20 |s publis|hed by. |
|000002f0| 2a 20 74 68 65 20 46 72 | 65 65 20 53 6f 66 74 77 |* the Fr|ee Softw|
|00000300| 61 72 65 20 46 6f 75 6e | 64 61 74 69 6f 6e 3b 20 |are Foun|dation; |
|00000310| 65 69 74 68 65 72 20 76 | 65 72 73 69 6f 6e 20 31 |either v|ersion 1|
|00000320| 2c 20 6f 72 20 61 6e 79 | 20 6c 61 74 65 72 20 76 |, or any| later v|
|00000330| 65 72 73 69 6f 6e 2e 0d | 20 2a 20 09 09 47 41 57 |ersion..| * ..GAW|
|00000340| 4b 20 69 73 20 64 69 73 | 74 72 69 62 75 74 65 64 |K is dis|tributed|
|00000350| 20 69 6e 20 74 68 65 20 | 68 6f 70 65 20 74 68 61 | in the |hope tha|
|00000360| 74 20 69 74 20 77 69 6c | 6c 20 62 65 20 75 73 65 |t it wil|l be use|
|00000370| 66 75 6c 2c 0d 20 2a 20 | 62 75 74 20 57 49 54 48 |ful,. * |but WITH|
|00000380| 4f 55 54 20 41 4e 59 20 | 57 41 52 52 41 4e 54 59 |OUT ANY |WARRANTY|
|00000390| 3b 20 77 69 74 68 6f 75 | 74 20 65 76 65 6e 20 74 |; withou|t even t|
|000003a0| 68 65 20 69 6d 70 6c 69 | 65 64 20 77 61 72 72 61 |he impli|ed warra|
|000003b0| 6e 74 79 20 6f 66 0d 20 | 2a 20 4d 45 52 43 48 41 |nty of. |* MERCHA|
|000003c0| 4e 54 41 42 49 4c 49 54 | 59 20 6f 72 20 46 49 54 |NTABILIT|Y or FIT|
|000003d0| 4e 45 53 53 20 46 4f 52 | 20 41 20 50 41 52 54 49 |NESS FOR| A PARTI|
|000003e0| 43 55 4c 41 52 20 50 55 | 52 50 4f 53 45 2e 20 53 |CULAR PU|RPOSE. S|
|000003f0| 65 65 20 74 68 65 0d 20 | 2a 20 47 4e 55 20 47 65 |ee the. |* GNU Ge|
|00000400| 6e 65 72 61 6c 20 50 75 | 62 6c 69 63 20 4c 69 63 |neral Pu|blic Lic|
|00000410| 65 6e 73 65 20 66 6f 72 | 20 6d 6f 72 65 20 64 65 |ense for| more de|
|00000420| 74 61 69 6c 73 2e 0d 20 | 2a 20 09 09 59 6f 75 20 |tails.. |* ..You |
|00000430| 73 68 6f 75 6c 64 20 68 | 61 76 65 20 72 65 63 65 |should h|ave rece|
|00000440| 69 76 65 64 20 61 20 63 | 6f 70 79 20 6f 66 20 74 |ived a c|opy of t|
|00000450| 68 65 20 47 4e 55 20 47 | 65 6e 65 72 61 6c 20 50 |he GNU G|eneral P|
|00000460| 75 62 6c 69 63 20 4c 69 | 63 65 6e 73 65 0d 20 2a |ublic Li|cense. *|
|00000470| 20 61 6c 6f 6e 67 20 77 | 69 74 68 20 47 41 57 4b | along w|ith GAWK|
|00000480| 3b 20 73 65 65 20 74 68 | 65 20 66 69 6c 65 20 22 |; see th|e file "|
|00000490| 43 4f 50 59 49 4e 47 20 | 68 41 57 4b 22 2e 20 49 |COPYING |hAWK". I|
|000004a0| 66 20 6e 6f 74 2c 20 77 | 72 69 74 65 20 74 6f 0d |f not, w|rite to.|
|000004b0| 20 2a 20 74 68 65 20 46 | 72 65 65 20 53 6f 66 74 | * the F|ree Soft|
|000004c0| 77 61 72 65 20 46 6f 75 | 6e 64 61 74 69 6f 6e 2c |ware Fou|ndation,|
|000004d0| 20 36 37 35 20 4d 61 73 | 73 20 41 76 65 2c 20 43 | 675 Mas|s Ave, C|
|000004e0| 61 6d 62 72 69 64 67 65 | 2c 20 4d 41 20 30 32 31 |ambridge|, MA 021|
|000004f0| 33 39 2c 20 55 53 41 2e | 0d 20 2a 20 57 72 69 74 |39, USA.|. * Writ|
|00000500| 74 65 6e 20 66 6f 72 20 | 54 48 49 4e 4b 20 43 20 |ten for |THINK C |
|00000510| 34 20 6f 6e 20 74 68 65 | 20 4d 61 63 69 6e 74 6f |4 on the| Macinto|
|00000520| 73 68 20 62 79 20 4b 65 | 6e 20 45 61 72 6c 65 20 |sh by Ke|n Earle |
|00000530| 28 44 79 6e 61 62 79 74 | 65 29 20 41 75 67 20 31 |(Dynabyt|e) Aug 1|
|00000540| 39 39 31 2e 0d 20 20 20 | 52 65 76 69 73 65 64 20 |991.. |Revised |
|00000550| 4d 61 79 20 31 39 39 32 | 3a 20 6e 65 77 20 73 65 |May 1992|: new se|
|00000560| 74 75 70 2f 72 65 73 74 | 6f 72 65 20 61 34 20 73 |tup/rest|ore a4 s|
|00000570| 74 72 61 74 65 67 79 2e | 0d 20 20 20 52 65 76 20 |trategy.|. Rev |
|00000580| 41 70 72 20 31 39 39 35 | 3a 20 63 6f 6e 76 65 72 |Apr 1995|: conver|
|00000590| 74 65 64 20 6f 76 65 72 | 20 74 6f 20 43 6f 64 65 |ted over| to Code|
|000005a0| 20 57 61 72 72 69 6f 72 | 0d 20 2a 2f 0d 0d 23 69 | Warrior|. */..#i|
|000005b0| 66 64 65 66 20 70 6f 77 | 65 72 63 0d 23 69 6e 63 |fdef pow|erc.#inc|
|000005c0| 6c 75 64 65 20 3c 43 6f | 64 65 46 72 61 67 6d 65 |lude <Co|deFragme|
|000005d0| 6e 74 73 2e 68 3e 0d 23 | 65 6c 73 65 0d 23 69 6e |nts.h>.#|else.#in|
|000005e0| 63 6c 75 64 65 20 3c 41 | 34 53 74 75 66 66 2e 68 |clude <A|4Stuff.h|
|000005f0| 3e 0d 23 65 6e 64 69 66 | 0d 0d 23 69 6e 63 6c 75 |>.#endif|..#inclu|
|00000600| 64 65 20 3c 73 74 72 69 | 6e 67 2e 68 3e 0d 23 69 |de <stri|ng.h>.#i|
|00000610| 6e 63 6c 75 64 65 20 3c | 73 74 64 6c 69 62 2e 68 |nclude <|stdlib.h|
|00000620| 3e 0d 23 69 6e 63 6c 75 | 64 65 20 22 41 70 70 43 |>.#inclu|de "AppC|
|00000630| 6f 64 65 43 6f 6d 6d 2e | 68 22 0d 0d 0d 23 69 66 |odeComm.|h"...#if|
|00000640| 6e 64 65 66 20 4e 55 4c | 4c 0d 23 64 65 66 69 6e |ndef NUL|L.#defin|
|00000650| 65 20 4e 55 4c 4c 09 09 | 28 28 76 6f 69 64 20 2a |e NULL..|((void *|
|00000660| 29 20 30 29 0d 23 65 6e | 64 69 66 0d 0d 2f 2a 20 |) 0).#en|dif../* |
|00000670| 47 6c 6f 62 61 6c 20 63 | 6f 70 79 20 6f 66 20 74 |Global c|opy of t|
|00000680| 68 65 20 41 70 70 43 6f | 64 65 43 6f 6d 6d 20 73 |he AppCo|deComm s|
|00000690| 74 72 75 63 74 20 70 61 | 73 73 65 64 20 66 72 6f |truct pa|ssed fro|
|000006a0| 6d 20 74 68 65 20 61 70 | 70 6c 69 63 61 74 69 6f |m the ap|plicatio|
|000006b0| 6e 0d 74 6f 20 74 68 65 | 20 63 6f 64 65 20 72 65 |n.to the| code re|
|000006c0| 73 6f 75 72 63 65 20 2d | 20 67 61 63 63 20 73 74 |source -| gacc st|
|000006d0| 61 6e 64 73 20 66 6f 72 | 20 47 6c 6f 62 61 6c 20 |ands for| Global |
|000006e0| 41 70 70 6c 69 63 61 74 | 69 6f 6e 2d 43 6f 64 65 |Applicat|ion-Code|
|000006f0| 20 72 65 73 6f 75 72 63 | 65 0d 43 6f 6d 6d 75 6e | resourc|e.Commun|
|00000700| 69 63 61 74 69 6f 6e 2e | 20 47 61 63 63 2e 2a 2f |ication.| Gacc.*/|
|00000710| 0d 41 70 70 43 6f 64 65 | 43 6f 6d 6d 09 67 61 63 |.AppCode|Comm.gac|
|00000720| 63 3b 0d 0d 2f 2a 20 47 | 6c 6f 62 61 6c 20 74 6f |c;../* G|lobal to|
|00000730| 20 69 6e 64 69 63 61 74 | 65 20 69 66 20 63 61 6c | indicat|e if cal|
|00000740| 6c 69 6e 67 20 61 70 70 | 27 73 20 65 76 65 6e 74 |ling app|'s event|
|00000750| 20 6c 6f 6f 70 20 68 61 | 73 20 62 65 65 6e 20 6d | loop ha|s been m|
|00000760| 61 64 65 0d 61 76 61 69 | 6c 61 62 6c 65 20 61 6e |ade.avai|lable an|
|00000770| 64 20 73 68 6f 75 6c 64 | 20 63 61 6c 6c 20 69 74 |d should| call it|
|00000780| 20 2a 2f 0d 42 6f 6f 6c | 65 61 6e 20 67 43 6f 6e | */.Bool|ean gCon|
|00000790| 63 75 72 72 65 6e 74 3b | 0d 0d 23 69 66 6e 64 65 |current;|..#ifnde|
|000007a0| 66 20 70 6f 77 65 72 63 | 0d 6c 6f 6e 67 20 5f 61 |f powerc|.long _a|
|000007b0| 70 70 5f 61 34 3b 0d 23 | 65 6e 64 69 66 0d 2f 2a |pp_a4;.#|endif./*|
|000007c0| 20 22 6d 61 69 6e 22 20 | 63 61 6c 6c 20 66 6f 72 | "main" |call for|
|000007d0| 20 74 68 65 20 73 70 65 | 63 69 66 69 63 20 63 6f | the spe|cific co|
|000007e0| 64 65 20 72 65 73 6f 75 | 72 63 65 20 2a 2f 0d 65 |de resou|rce */.e|
|000007f0| 78 74 65 72 6e 20 73 68 | 6f 72 74 20 49 6e 76 6f |xtern sh|ort Invo|
|00000800| 6b 65 48 41 57 4b 28 76 | 6f 69 64 29 3b 20 2f 2a |keHAWK(v|oid); /*|
|00000810| 20 73 65 65 20 48 61 77 | 6b 5f 49 6e 74 65 72 66 | see Haw|k_Interf|
|00000820| 61 63 65 2e 63 20 2a 2f | 0d 0d 2f 2a 20 50 72 6f |ace.c */|../* Pro|
|00000830| 74 6f 73 20 66 6f 72 20 | 66 75 6e 63 74 69 6f 6e |tos for |function|
|00000840| 73 20 69 6e 20 74 68 69 | 73 20 66 69 6c 65 20 2a |s in thi|s file *|
|00000850| 2f 0d 76 6f 69 64 20 6d | 61 69 6e 28 41 43 43 50 |/.void m|ain(ACCP|
|00000860| 74 72 20 61 63 29 3b 0d | 2f 2a 20 43 61 6c 6c 62 |tr ac);.|/* Callb|
|00000870| 61 63 6b 73 2c 20 74 6f | 20 62 65 20 6d 61 64 65 |acks, to| be made|
|00000880| 20 61 76 61 69 6c 61 62 | 6c 65 20 74 6f 20 6f 74 | availab|le to ot|
|00000890| 68 65 72 20 66 69 6c 65 | 73 20 2a 2f 0d 73 68 6f |her file|s */.sho|
|000008a0| 72 74 20 49 6e 44 69 63 | 74 69 6f 6e 61 72 79 28 |rt InDic|tionary(|
|000008b0| 63 68 61 72 20 2a 74 6f | 6b 65 6e 4e 61 6d 65 29 |char *to|kenName)|
|000008c0| 3b 0d 42 6f 6f 6c 65 61 | 6e 20 48 61 73 49 6e 44 |;.Boolea|n HasInD|
|000008d0| 69 63 74 69 6f 6e 61 72 | 79 28 76 6f 69 64 29 3b |ictionar|y(void);|
|000008e0| 0d 48 61 6e 64 6c 65 20 | 47 65 74 46 72 6f 6e 74 |.Handle |GetFront|
|000008f0| 54 65 78 74 28 42 6f 6f | 6c 65 61 6e 20 67 65 74 |Text(Boo|lean get|
|00000900| 49 74 41 6c 6c 29 3b 0d | 42 6f 6f 6c 65 61 6e 20 |ItAll);.|Boolean |
|00000910| 48 61 73 47 65 74 46 72 | 6f 6e 74 54 65 78 74 28 |HasGetFr|ontText(|
|00000920| 76 6f 69 64 29 3b 0d 76 | 6f 69 64 20 47 65 74 4e |void);.v|oid GetN|
|00000930| 65 78 74 4d 75 6c 74 69 | 46 69 6c 65 28 73 68 6f |extMulti|File(sho|
|00000940| 72 74 20 2a 70 61 6e 65 | 50 74 72 2c 20 73 68 6f |rt *pane|Ptr, sho|
|00000950| 72 74 20 2a 69 6e 64 65 | 78 50 74 72 2c 20 0d 09 |rt *inde|xPtr, ..|
|00000960| 09 73 68 6f 72 74 20 2a | 76 52 65 66 4e 75 6d 50 |.short *|vRefNumP|
|00000970| 74 72 2c 20 63 68 61 72 | 20 2a 66 69 6c 65 4e 61 |tr, char| *fileNa|
|00000980| 6d 65 2c 20 42 6f 6f 6c | 65 61 6e 20 63 6c 65 61 |me, Bool|ean clea|
|00000990| 72 46 6c 61 67 29 3b 0d | 42 6f 6f 6c 65 61 6e 20 |rFlag);.|Boolean |
|000009a0| 48 61 73 47 65 74 4e 65 | 78 74 4d 75 6c 74 69 46 |HasGetNe|xtMultiF|
|000009b0| 69 6c 65 28 76 6f 69 64 | 29 3b 0d 73 68 6f 72 74 |ile(void|);.short|
|000009c0| 20 4f 4b 53 74 6f 70 41 | 6c 65 72 74 28 50 74 72 | OKStopA|lert(Ptr|
|000009d0| 20 63 73 74 72 69 6e 67 | 50 74 72 29 3b 0d 42 6f | cstring|Ptr);.Bo|
|000009e0| 6f 6c 65 61 6e 20 48 61 | 73 4f 4b 53 74 6f 70 41 |olean Ha|sOKStopA|
|000009f0| 6c 65 72 74 28 76 6f 69 | 64 29 3b 0d 76 6f 69 64 |lert(voi|d);.void|
|00000a00| 20 4d 65 6d 6f 72 79 41 | 6c 65 72 74 28 76 6f 69 | MemoryA|lert(voi|
|00000a10| 64 29 3b 0d 42 6f 6f 6c | 65 61 6e 20 48 61 73 4d |d);.Bool|ean HasM|
|00000a20| 65 6d 6f 72 79 41 6c 65 | 72 74 28 76 6f 69 64 29 |emoryAle|rt(void)|
|00000a30| 3b 0d 73 68 6f 72 74 20 | 47 65 74 53 63 72 65 65 |;.short |GetScree|
|00000a40| 6e 48 65 69 67 68 74 28 | 76 6f 69 64 29 3b 0d 42 |nHeight(|void);.B|
|00000a50| 6f 6f 6c 65 61 6e 20 48 | 61 73 47 65 74 53 63 72 |oolean H|asGetScr|
|00000a60| 65 65 6e 48 65 69 67 68 | 74 28 76 6f 69 64 29 3b |eenHeigh|t(void);|
|00000a70| 0d 73 68 6f 72 74 20 47 | 65 74 53 63 72 65 65 6e |.short G|etScreen|
|00000a80| 57 69 64 74 68 28 76 6f | 69 64 29 3b 0d 42 6f 6f |Width(vo|id);.Boo|
|00000a90| 6c 65 61 6e 20 48 61 73 | 47 65 74 53 63 72 65 65 |lean Has|GetScree|
|00000aa0| 6e 57 69 64 74 68 28 76 | 6f 69 64 29 3b 0d 76 6f |nWidth(v|oid);.vo|
|00000ab0| 69 64 20 53 65 74 57 61 | 74 63 68 43 75 72 73 6f |id SetWa|tchCurso|
|00000ac0| 72 28 76 6f 69 64 29 3b | 0d 42 6f 6f 6c 65 61 6e |r(void);|.Boolean|
|00000ad0| 20 48 61 73 53 65 74 57 | 61 74 63 68 43 75 72 73 | HasSetW|atchCurs|
|00000ae0| 6f 72 28 76 6f 69 64 29 | 3b 0d 76 6f 69 64 20 44 |or(void)|;.void D|
|00000af0| 6f 45 76 65 6e 74 4c 6f | 6f 70 4f 6e 63 65 28 76 |oEventLo|opOnce(v|
|00000b00| 6f 69 64 29 3b 0d 42 6f | 6f 6c 65 61 6e 20 48 61 |oid);.Bo|olean Ha|
|00000b10| 73 44 6f 45 76 65 6e 74 | 4c 6f 6f 70 4f 6e 63 65 |sDoEvent|LoopOnce|
|00000b20| 28 76 6f 69 64 29 3b 0d | 48 61 6e 64 6c 65 20 47 |(void);.|Handle G|
|00000b30| 65 74 54 68 65 43 6c 69 | 70 28 76 6f 69 64 29 3b |etTheCli|p(void);|
|00000b40| 0d 42 6f 6f 6c 65 61 6e | 20 48 61 73 47 65 74 54 |.Boolean| HasGetT|
|00000b50| 68 65 43 6c 69 70 28 76 | 6f 69 64 29 3b 0d 73 68 |heClip(v|oid);.sh|
|00000b60| 6f 72 74 20 50 75 74 54 | 68 65 43 6c 69 70 28 63 |ort PutT|heClip(c|
|00000b70| 68 61 72 20 2a 6e 65 77 | 43 6c 69 70 53 74 72 29 |har *new|ClipStr)|
|00000b80| 3b 0d 42 6f 6f 6c 65 61 | 6e 20 48 61 73 50 75 74 |;.Boolea|n HasPut|
|00000b90| 54 68 65 43 6c 69 70 28 | 76 6f 69 64 29 3b 0d 0d |TheClip(|void);..|
|00000ba0| 2f 2f 20 4b 6c 75 64 67 | 65 20 72 65 71 75 69 72 |// Kludg|e requir|
|00000bb0| 65 64 20 62 79 20 43 6f | 64 65 57 61 72 72 69 6f |ed by Co|deWarrio|
|00000bc0| 72 20 36 0d 20 76 6f 69 | 64 20 28 2a 5f 5f 65 78 |r 6. voi|d (*__ex|
|00000bd0| 69 74 5f 70 72 6f 63 5f | 5f 29 28 76 6f 69 64 29 |it_proc_|_)(void)|
|00000be0| 3b 0d 0d 2f 2a 20 54 68 | 65 20 22 6d 61 69 6e 22 |;../* Th|e "main"|
|00000bf0| 20 74 68 61 74 20 69 73 | 20 63 61 6c 6c 65 64 20 | that is| called |
|00000c00| 66 72 6f 6d 20 74 68 65 | 20 72 75 6e 6e 69 6e 67 |from the| running|
|00000c10| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 2e 20 54 68 | applica|tion. Th|
|00000c20| 69 73 20 66 69 6c 65 20 | 69 73 0d 6b 65 70 74 20 |is file |is.kept |
|00000c30| 73 6d 61 6c 6c 20 61 6e | 64 20 69 6e 20 69 74 73 |small an|d in its|
|00000c40| 20 6f 77 6e 20 73 65 67 | 6d 65 6e 74 20 62 65 63 | own seg|ment bec|
|00000c50| 61 75 73 65 20 6c 6f 74 | 73 20 6f 66 20 6f 74 68 |ause lot|s of oth|
|00000c60| 65 72 20 74 68 69 6e 67 | 73 20 67 65 74 20 70 69 |er thing|s get pi|
|00000c70| 6c 65 64 0d 69 6e 74 6f | 20 68 65 72 65 20 61 73 |led.into| here as|
|00000c80| 20 77 65 6c 6c 20 2d 20 | 74 68 65 20 6a 75 6d 70 | well - |the jump|
|00000c90| 20 74 61 62 6c 65 20 66 | 6f 72 20 74 68 65 20 63 | table f|or the c|
|00000ca0| 6f 64 65 20 72 65 73 6f | 75 72 63 65 2c 20 66 6f |ode reso|urce, fo|
|00000cb0| 72 20 65 78 61 6d 70 6c | 65 2e 0d 53 6f 20 64 6f |r exampl|e..So do|
|00000cc0| 20 74 68 65 20 62 61 72 | 65 20 6d 69 6e 69 6d 75 | the bar|e minimu|
|00000cd0| 6d 20 2d 20 73 65 74 20 | 75 70 20 74 68 65 20 67 |m - set |up the g|
|00000ce0| 6c 6f 62 61 6c 20 72 65 | 67 69 73 74 65 72 20 72 |lobal re|gister r|
|00000cf0| 65 66 65 72 65 6e 63 65 | 2c 20 63 61 6c 6c 20 74 |eference|, call t|
|00000d00| 68 65 0d 63 6f 64 65 20 | 72 65 73 6f 75 72 63 65 |he.code |resource|
|00000d10| 20 6d 61 69 6e 20 66 75 | 6e 63 74 69 6f 6e 2c 20 | main fu|nction, |
|00000d20| 70 61 73 73 20 62 61 63 | 6b 20 61 20 72 65 73 75 |pass bac|k a resu|
|00000d30| 6c 74 20 63 6f 64 65 2c | 20 61 6e 64 20 72 65 73 |lt code,| and res|
|00000d40| 74 6f 72 65 20 74 68 65 | 0d 61 34 20 72 65 67 69 |tore the|.a4 regi|
|00000d50| 73 74 65 72 2e 20 46 75 | 6e 63 74 69 6f 6e 73 20 |ster. Fu|nctions |
|00000d60| 62 65 6c 6f 77 20 6d 61 | 69 6e 28 29 20 61 72 65 |below ma|in() are|
|00000d70| 20 74 68 65 20 65 78 74 | 65 6e 73 69 6f 6e 20 69 | the ext|ension i|
|00000d80| 6e 74 65 72 66 61 63 65 | 0d 66 75 6e 63 74 69 6f |nterface|.functio|
|00000d90| 6e 73 2c 20 77 68 69 63 | 68 20 6d 75 73 74 20 62 |ns, whic|h must b|
|00000da0| 65 20 69 6e 20 74 68 69 | 73 20 66 69 6c 65 20 74 |e in thi|s file t|
|00000db0| 6f 20 6d 61 6b 65 20 75 | 73 65 20 6f 66 20 74 68 |o make u|se of th|
|00000dc0| 65 20 6c 69 74 74 6c 65 | 20 66 75 6e 63 74 69 6f |e little| functio|
|00000dd0| 6e 73 0d 61 62 6f 76 65 | 20 74 68 61 74 20 73 61 |ns.above| that sa|
|00000de0| 76 65 20 61 6e 64 20 72 | 65 73 74 6f 72 65 20 61 |ve and r|estore a|
|00000df0| 34 2e 20 54 68 65 79 20 | 61 6c 6c 20 63 68 65 63 |4. They |all chec|
|00000e00| 6b 20 74 6f 20 73 65 65 | 20 74 68 61 74 20 74 68 |k to see| that th|
|00000e10| 65 20 65 78 74 65 6e 73 | 69 6f 6e 0d 69 6e 20 71 |e extens|ion.in q|
|00000e20| 75 65 73 74 69 6f 6e 20 | 68 61 73 20 62 65 65 6e |uestion |has been|
|00000e30| 20 70 61 73 73 65 64 20 | 66 72 6f 6d 20 74 68 65 | passed |from the|
|00000e40| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 2c 20 61 6e | applica|tion, an|
|00000e50| 64 20 69 66 20 6e 6f 74 | 20 65 69 74 68 65 72 20 |d if not| either |
|00000e60| 72 65 74 75 72 6e 0d 61 | 20 7a 65 72 6f 20 6f 72 |return.a| zero or|
|00000e70| 20 4e 55 4c 4c 20 6f 72 | 20 72 65 74 75 72 6e 20 | NULL or| return |
|00000e80| 61 20 73 61 66 65 20 67 | 65 6e 65 72 61 6c 20 76 |a safe g|eneral v|
|00000e90| 61 6c 75 65 2e 20 4e 6f | 20 65 78 74 65 6e 73 69 |alue. No| extensi|
|00000ea0| 6f 6e 20 73 68 6f 75 6c | 64 20 62 65 0d 65 73 73 |on shoul|d be.ess|
|00000eb0| 65 6e 74 69 61 6c 20 74 | 6f 20 74 68 65 20 6f 70 |ential t|o the op|
|00000ec0| 65 72 61 74 69 6f 6e 20 | 6f 66 20 74 68 65 20 63 |eration |of the c|
|00000ed0| 6f 64 65 20 72 65 73 6f | 75 72 63 65 2e 0d 2a 2f |ode reso|urce..*/|
|00000ee0| 0d 2f 2a 20 72 65 73 75 | 6c 74 73 3a 0d 3c 3d 20 |./* resu|lts:.<= |
|00000ef0| 2d 33 20 3a 20 63 6f 75 | 6e 74 73 20 61 73 20 2d |-3 : cou|nts as -|
|00000f00| 31 20 61 74 20 70 72 65 | 73 65 6e 74 0d 2d 32 20 |1 at pre|sent.-2 |
|00000f10| 3a 20 73 68 6f 77 20 73 | 74 64 65 72 72 0d 2d 31 |: show s|tderr.-1|
|00000f20| 20 3a 20 75 73 65 72 20 | 63 61 6e 63 65 6c 6c 65 | : user |cancelle|
|00000f30| 64 20 6f 72 20 65 72 72 | 6f 72 20 64 75 72 69 6e |d or err|or durin|
|00000f40| 67 20 64 69 61 6c 6f 67 | 20 2d 20 6e 6f 20 72 75 |g dialog| - no ru|
|00000f50| 6e 0d 30 20 20 3a 20 72 | 75 6e 20 4f 4b 2c 20 64 |n.0 : r|un OK, d|
|00000f60| 6f 20 6e 6f 74 68 69 6e | 67 20 73 70 65 63 69 61 |o nothin|g specia|
|00000f70| 6c 20 61 66 74 65 72 0d | 31 20 20 3a 20 73 68 6f |l after.|1 : sho|
|00000f80| 77 20 73 74 64 6f 75 74 | 0d 32 20 20 3a 20 73 68 |w stdout|.2 : sh|
|00000f90| 6f 77 20 61 6e 64 20 73 | 65 6c 65 63 74 20 73 74 |ow and s|elect st|
|00000fa0| 64 6f 75 74 0d 3e 20 32 | 20 3a 20 6e 6f 20 61 63 |dout.> 2| : no ac|
|00000fb0| 74 69 6f 6e 20 61 74 20 | 70 72 65 73 65 6e 74 20 |tion at |present |
|00000fc0| 28 63 6f 75 6e 74 73 20 | 61 73 20 65 71 75 69 76 |(counts |as equiv|
|00000fd0| 61 6c 65 6e 74 20 74 6f | 20 30 29 0d 2a 2f 0d 76 |alent to| 0).*/.v|
|00000fe0| 6f 69 64 20 6d 61 69 6e | 28 41 43 43 50 74 72 20 |oid main|(ACCPtr |
|00000ff0| 61 63 29 0d 09 7b 0d 09 | 73 68 6f 72 74 09 72 65 |ac)..{..|short.re|
|00001000| 73 75 6c 74 3b 0d 23 69 | 66 6e 64 65 66 20 70 6f |sult;.#i|fndef po|
|00001010| 77 65 72 63 0d 09 6c 6f | 6e 67 20 09 5f 61 70 70 |werc..lo|ng ._app|
|00001020| 5f 61 34 20 3d 20 53 65 | 74 43 75 72 72 65 6e 74 |_a4 = Se|tCurrent|
|00001030| 41 34 28 29 3b 09 2f 2f | 73 65 74 73 20 41 34 20 |A4();.//|sets A4 |
|00001040| 74 6f 20 70 6f 69 6e 74 | 20 74 6f 20 79 6f 75 72 |to point| to your|
|00001050| 20 63 6f 64 65 20 72 65 | 73 6f 75 72 63 65 73 20 | code re|sources |
|00001060| 67 6c 6f 62 61 6c 73 0d | 09 09 09 09 09 09 09 09 |globals.|........|
|00001070| 09 2f 2f 69 74 20 72 65 | 74 75 72 6e 73 20 77 68 |.//it re|turns wh|
|00001080| 61 74 27 73 20 63 75 72 | 72 65 6e 74 6c 79 20 69 |at's cur|rently i|
|00001090| 6e 20 41 34 20 73 6f 20 | 79 6f 75 20 63 61 6e 20 |n A4 so |you can |
|000010a0| 72 65 73 74 6f 72 65 20 | 69 74 20 6c 61 74 65 72 |restore |it later|
|000010b0| 0d 09 09 09 09 09 09 09 | 09 09 2f 2f 53 65 74 43 |........|..//SetC|
|000010c0| 75 72 72 65 6e 74 41 34 | 20 61 6e 64 20 53 65 74 |urrentA4| and Set|
|000010d0| 41 34 20 61 72 65 20 61 | 6e 61 6c 6f 67 6f 75 73 |A4 are a|nalogous|
|000010e0| 20 74 6f 20 53 65 74 43 | 75 72 72 65 6e 74 41 35 | to SetC|urrentA5|
|000010f0| 20 61 6e 64 20 53 65 74 | 41 35 0d 23 65 6e 64 69 | and Set|A5.#endi|
|00001100| 66 0d 09 65 78 74 65 72 | 6e 20 73 68 6f 72 74 20 |f..exter|n short |
|00001110| 41 57 4b 6d 61 69 6e 28 | 73 68 6f 72 74 20 61 72 |AWKmain(|short ar|
|00001120| 67 63 2c 20 63 68 61 72 | 20 2a 2a 61 72 67 76 29 |gc, char| **argv)|
|00001130| 3b 0d 09 65 78 74 65 72 | 6e 20 76 6f 69 64 20 64 |;..exter|n void d|
|00001140| 6f 5f 69 6e 70 75 74 28 | 76 6f 69 64 29 3b 0d 09 |o_input(|void);..|
|00001150| 65 78 74 65 72 6e 20 73 | 68 6f 72 74 20 50 72 6f |extern s|hort Pro|
|00001160| 67 72 65 73 73 28 63 68 | 61 72 20 2a 6d 73 67 2c |gress(ch|ar *msg,|
|00001170| 20 73 68 6f 72 74 20 6d | 73 67 4c 65 6e 29 3b 0d | short m|sgLen);.|
|00001180| 09 0d 09 2f 2a 20 55 6e | 63 6f 6d 6d 65 6e 74 20 |.../* Un|comment |
|00001190| 74 68 69 73 20 66 6f 72 | 20 61 20 76 65 72 73 69 |this for| a versi|
|000011a0| 6f 6e 20 22 73 61 6e 69 | 74 79 20 63 68 65 63 6b |on "sani|ty check|
|000011b0| 22 3a 20 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |": *****|********|
|000011c0| 2a 0d 09 69 66 20 28 61 | 63 2d 3e 76 65 72 73 69 |*..if (a|c->versi|
|000011d0| 6f 6e 20 3c 20 30 20 7c | 7c 20 61 63 2d 3e 76 65 |on < 0 ||| ac->ve|
|000011e0| 72 73 69 6f 6e 20 3e 20 | 31 30 30 29 0d 09 09 7b |rsion > |100)...{|
|000011f0| 0d 09 09 4f 4b 53 74 6f | 70 41 6c 65 72 74 28 22 |...OKSto|pAlert("|
|00001200| 56 65 72 73 69 6f 6e 20 | 6e 75 6d 62 65 72 20 70 |Version |number p|
|00001210| 61 73 73 65 64 20 62 79 | 20 63 61 6c 6c 69 6e 67 |assed by| calling|
|00001220| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 20 5c 0d 69 | applica|tion \.i|
|00001230| 73 20 69 6d 70 6f 73 73 | 69 62 6c 65 2e 20 50 6c |s imposs|ible. Pl|
|00001240| 65 61 73 65 20 66 69 78 | 20 74 68 65 20 61 70 70 |ease fix| the app|
|00001250| 6c 69 63 61 74 69 6f 6e | 20 62 65 66 6f 72 65 20 |lication| before |
|00001260| 74 72 79 69 6e 67 20 61 | 67 61 69 6e 2e 22 29 3b |trying a|gain.");|
|00001270| 0d 09 09 61 63 2d 3e 72 | 65 73 75 6c 74 20 3d 20 |...ac->r|esult = |
|00001280| 2d 31 3b 0d 09 09 28 76 | 6f 69 64 29 53 65 74 41 |-1;...(v|oid)SetA|
|00001290| 34 28 5f 61 70 70 5f 61 | 34 29 3b 0d 09 09 72 65 |4(_app_a|4);...re|
|000012a0| 74 75 72 6e 3b 0d 09 09 | 7d 0d 09 2a 2a 2a 2a 2a |turn;...|}..*****|
|000012b0| 2a 2a 2a 2a 2a 20 65 6e | 64 20 76 65 72 73 69 6f |***** en|d versio|
|000012c0| 6e 20 63 68 65 63 6b 20 | 2a 2f 0d 0d 09 67 61 63 |n check |*/...gac|
|000012d0| 63 20 3d 20 2a 61 63 3b | 20 2f 2a 20 6d 61 6b 65 |c = *ac;| /* make|
|000012e0| 20 61 20 67 6c 6f 62 61 | 6c 20 63 6f 70 79 20 2a | a globa|l copy *|
|000012f0| 2f 0d 0d 09 69 66 20 28 | 67 61 63 63 2e 76 65 72 |/...if (|gacc.ver|
|00001300| 73 69 6f 6e 20 3c 3d 20 | 31 29 0d 09 09 7b 0d 09 |sion <= |1)...{..|
|00001310| 09 67 61 63 63 2e 44 6f | 45 76 65 6e 74 4c 6f 6f |.gacc.Do|EventLoo|
|00001320| 70 4f 6e 63 65 5f 45 78 | 74 20 3d 20 4e 55 4c 4c |pOnce_Ex|t = NULL|
|00001330| 3b 0d 09 09 67 61 63 63 | 2e 47 65 74 41 70 70 43 |;...gacc|.GetAppC|
|00001340| 6c 69 70 5f 45 78 74 20 | 3d 20 4e 55 4c 4c 3b 0d |lip_Ext |= NULL;.|
|00001350| 09 09 7d 0d 09 69 66 20 | 28 48 61 73 44 6f 45 76 |..}..if |(HasDoEv|
|00001360| 65 6e 74 4c 6f 6f 70 4f | 6e 63 65 28 29 29 0d 09 |entLoopO|nce())..|
|00001370| 09 67 43 6f 6e 63 75 72 | 72 65 6e 74 20 3d 20 54 |.gConcur|rent = T|
|00001380| 52 55 45 3b 0d 09 65 6c | 73 65 0d 09 09 67 43 6f |RUE;..el|se...gCo|
|00001390| 6e 63 75 72 72 65 6e 74 | 20 3d 20 46 41 4c 53 45 |ncurrent| = FALSE|
|000013a0| 3b 0d 09 0d 09 2f 2a 20 | 63 61 6c 6c 20 27 74 72 |;..../* |call 'tr|
|000013b0| 75 65 27 20 6d 61 69 6e | 20 6f 66 20 63 6f 64 65 |ue' main| of code|
|000013c0| 20 72 65 73 6f 75 72 63 | 65 20 2a 2f 0d 09 72 65 | resourc|e */..re|
|000013d0| 73 75 6c 74 20 3d 20 49 | 6e 76 6f 6b 65 48 41 57 |sult = I|nvokeHAW|
|000013e0| 4b 28 29 3b 0d 09 61 63 | 2d 3e 72 65 73 75 6c 74 |K();..ac|->result|
|000013f0| 20 3d 20 72 65 73 75 6c | 74 3b 0d 23 69 66 6e 64 | = resul|t;.#ifnd|
|00001400| 65 66 20 70 6f 77 65 72 | 63 0d 09 2f 2f 52 65 73 |ef power|c..//Res|
|00001410| 65 74 20 41 34 20 74 6f | 20 77 68 61 74 20 69 74 |et A4 to| what it|
|00001420| 20 77 61 73 20 77 68 65 | 6e 20 77 65 20 65 6e 74 | was whe|n we ent|
|00001430| 65 72 65 64 2e 20 20 54 | 68 65 20 72 65 74 75 72 |ered. T|he retur|
|00001440| 6e 20 76 61 6c 75 65 20 | 28 77 68 69 63 68 20 77 |n value |(which w|
|00001450| 65 20 69 67 6e 6f 72 65 | 29 20 69 73 20 6f 75 72 |e ignore|) is our|
|00001460| 0d 09 2f 2f 67 6c 6f 62 | 61 6c 20 70 6f 69 6e 74 |..//glob|al point|
|00001470| 69 6e 67 20 41 34 2e 0d | 09 28 76 6f 69 64 29 53 |ing A4..|.(void)S|
|00001480| 65 74 41 34 28 5f 61 70 | 70 5f 61 34 29 3b 0d 09 |etA4(_ap|p_a4);..|
|00001490| 2f 2a 20 72 65 74 75 72 | 6e 20 6e 6f 74 68 69 6e |/* retur|n nothin|
|000014a0| 67 20 2d 20 63 6f 6d 6d | 75 6e 69 63 61 74 69 6f |g - comm|unicatio|
|000014b0| 6e 20 76 69 61 20 28 67 | 61 29 61 63 2d 3e 72 65 |n via (g|a)ac->re|
|000014c0| 73 75 6c 74 20 2a 2f 0d | 23 65 6e 64 69 66 0d 09 |sult */.|#endif..|
|000014d0| 7d 0d 0d 2f 2a 20 45 78 | 74 65 6e 73 69 6f 6e 20 |}../* Ex|tension |
|000014e0| 66 75 6e 63 74 69 6f 6e | 73 2e 20 53 65 65 20 43 |function|s. See C|
|000014f0| 61 6c 6c 5f 52 65 73 6f | 75 72 63 65 2e 63 20 66 |all_Reso|urce.c f|
|00001500| 6f 72 20 64 65 74 61 69 | 6c 73 0d 6f 6e 20 77 68 |or detai|ls.on wh|
|00001510| 61 74 20 74 68 65 73 65 | 20 64 6f 2e 20 45 6e 74 |at these| do. Ent|
|00001520| 65 72 41 63 74 20 73 75 | 70 70 6c 69 65 73 20 74 |erAct su|pplies t|
|00001530| 68 65 6d 20 61 6c 6c 2c | 20 62 75 74 20 79 6f 75 |hem all,| but you|
|00001540| 72 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 0d 64 6f |r applic|ation.do|
|00001550| 65 73 6e 27 74 20 68 61 | 76 65 20 74 6f 20 73 75 |esn't ha|ve to su|
|00001560| 70 70 6c 79 20 61 6e 79 | 20 6f 66 20 74 68 65 6d |pply any| of them|
|00001570| 2c 20 61 6e 64 20 79 6f | 75 72 20 63 6f 64 65 20 |, and yo|ur code |
|00001580| 72 65 73 6f 75 72 63 65 | 20 73 68 6f 75 6c 64 0d |resource| should.|
|00001590| 6e 6f 74 20 72 65 6c 79 | 20 6f 6e 20 61 6e 79 20 |not rely| on any |
|000015a0| 6f 66 20 74 68 65 6d 20 | 62 65 69 6e 67 20 61 76 |of them |being av|
|000015b0| 61 69 6c 61 62 6c 65 2e | 0d 0d 41 20 42 6f 6f 6c |ailable.|..A Bool|
|000015c0| 65 61 6e 20 63 6f 6d 70 | 61 6e 69 6f 6e 20 66 75 |ean comp|anion fu|
|000015d0| 6e 63 74 69 6f 6e 20 66 | 6f 72 20 65 61 63 68 20 |nction f|or each |
|000015e0| 65 78 74 65 6e 73 69 6f | 6e 20 72 65 70 6f 72 74 |extensio|n report|
|000015f0| 73 20 77 68 65 74 68 65 | 72 0d 74 68 65 20 65 78 |s whethe|r.the ex|
|00001600| 74 65 6e 73 69 6f 6e 20 | 69 73 20 61 76 61 69 6c |tension |is avail|
|00001610| 61 62 6c 65 20 66 6f 72 | 20 75 73 65 2e 20 0d 2a |able for| use. .*|
|00001620| 2f 0d 0d 73 68 6f 72 74 | 20 49 6e 44 69 63 74 69 |/..short| InDicti|
|00001630| 6f 6e 61 72 79 28 63 68 | 61 72 20 2a 74 6f 6b 65 |onary(ch|ar *toke|
|00001640| 6e 4e 61 6d 65 29 0d 09 | 7b 0d 09 41 43 43 50 74 |nName)..|{..ACCPt|
|00001650| 72 09 6c 61 63 63 70 20 | 3d 20 26 67 61 63 63 3b |r.laccp |= &gacc;|
|00001660| 20 2f 2a 20 6d 75 73 74 | 20 75 73 65 20 61 20 6c | /* must| use a l|
|00001670| 6f 63 61 6c 20 70 6f 69 | 6e 74 65 72 20 69 66 20 |ocal poi|nter if |
|00001680| 36 38 4b 20 2a 2f 0d 09 | 73 68 6f 72 74 09 72 65 |68K */..|short.re|
|00001690| 74 3b 0d 23 69 66 6e 64 | 65 66 20 70 6f 77 65 72 |t;.#ifnd|ef power|
|000016a0| 63 0d 09 6c 6f 6e 67 20 | 63 75 72 61 34 20 3d 20 |c..long |cura4 = |
|000016b0| 53 65 74 41 34 28 5f 61 | 70 70 5f 61 34 29 3b 0d |SetA4(_a|pp_a4);.|
|000016c0| 23 65 6e 64 69 66 0d 09 | 69 66 20 28 6c 61 63 63 |#endif..|if (lacc|
|000016d0| 70 2d 3e 49 6e 44 69 63 | 74 69 6f 6e 61 72 79 5f |p->InDic|tionary_|
|000016e0| 45 78 74 20 21 3d 20 4e | 55 4c 4c 29 0d 09 09 72 |Ext != N|ULL)...r|
|000016f0| 65 74 20 3d 20 28 2a 28 | 6c 61 63 63 70 2d 3e 49 |et = (*(|laccp->I|
|00001700| 6e 44 69 63 74 69 6f 6e | 61 72 79 5f 45 78 74 29 |nDiction|ary_Ext)|
|00001710| 29 28 74 6f 6b 65 6e 4e | 61 6d 65 29 3b 0d 09 65 |)(tokenN|ame);..e|
|00001720| 6c 73 65 0d 09 09 72 65 | 74 20 3d 20 30 3b 0d 23 |lse...re|t = 0;.#|
|00001730| 69 66 6e 64 65 66 20 70 | 6f 77 65 72 63 0d 09 28 |ifndef p|owerc..(|
|00001740| 76 6f 69 64 29 53 65 74 | 41 34 28 63 75 72 61 34 |void)Set|A4(cura4|
|00001750| 29 3b 0d 23 65 6e 64 69 | 66 0d 09 72 65 74 75 72 |);.#endi|f..retur|
|00001760| 6e 28 72 65 74 29 3b 0d | 09 7d 0d 0d 42 6f 6f 6c |n(ret);.|.}..Bool|
|00001770| 65 61 6e 20 48 61 73 49 | 6e 44 69 63 74 69 6f 6e |ean HasI|nDiction|
|00001780| 61 72 79 28 29 0d 09 7b | 0d 09 72 65 74 75 72 6e |ary()..{|..return|
|00001790| 28 67 61 63 63 2e 49 6e | 44 69 63 74 69 6f 6e 61 |(gacc.In|Dictiona|
|000017a0| 72 79 5f 45 78 74 20 21 | 3d 20 4e 55 4c 4c 29 3b |ry_Ext !|= NULL);|
|000017b0| 0d 09 7d 0d 0d 48 61 6e | 64 6c 65 20 47 65 74 46 |..}..Han|dle GetF|
|000017c0| 72 6f 6e 74 54 65 78 74 | 28 42 6f 6f 6c 65 61 6e |rontText|(Boolean|
|000017d0| 20 67 65 74 49 74 41 6c | 6c 29 0d 09 7b 0d 09 41 | getItAl|l)..{..A|
|000017e0| 43 43 50 74 72 09 6c 61 | 63 63 70 20 3d 20 26 67 |CCPtr.la|ccp = &g|
|000017f0| 61 63 63 3b 20 2f 2a 20 | 6d 75 73 74 20 75 73 65 |acc; /* |must use|
|00001800| 20 61 20 6c 6f 63 61 6c | 20 70 6f 69 6e 74 65 72 | a local| pointer|
|00001810| 20 2a 2f 0d 09 48 61 6e | 64 6c 65 09 72 65 74 3b | */..Han|dle.ret;|
|00001820| 0d 23 69 66 6e 64 65 66 | 20 70 6f 77 65 72 63 0d |.#ifndef| powerc.|
|00001830| 09 6c 6f 6e 67 20 63 75 | 72 61 34 20 3d 20 53 65 |.long cu|ra4 = Se|
|00001840| 74 41 34 28 5f 61 70 70 | 5f 61 34 29 3b 0d 23 65 |tA4(_app|_a4);.#e|
|00001850| 6e 64 69 66 0d 09 69 66 | 20 28 6c 61 63 63 70 2d |ndif..if| (laccp-|
|00001860| 3e 47 65 74 46 72 6f 6e | 74 54 65 78 74 5f 45 78 |>GetFron|tText_Ex|
|00001870| 74 20 21 3d 20 4e 55 4c | 4c 29 0d 09 09 72 65 74 |t != NUL|L)...ret|
|00001880| 20 3d 20 28 2a 28 6c 61 | 63 63 70 2d 3e 47 65 74 | = (*(la|ccp->Get|
|00001890| 46 72 6f 6e 74 54 65 78 | 74 5f 45 78 74 29 29 28 |FrontTex|t_Ext))(|
|000018a0| 67 65 74 49 74 41 6c 6c | 29 3b 0d 09 65 6c 73 65 |getItAll|);..else|
|000018b0| 0d 09 09 72 65 74 20 3d | 20 4e 55 4c 4c 3b 0d 23 |...ret =| NULL;.#|
|000018c0| 69 66 6e 64 65 66 20 70 | 6f 77 65 72 63 0d 09 28 |ifndef p|owerc..(|
|000018d0| 76 6f 69 64 29 53 65 74 | 41 34 28 63 75 72 61 34 |void)Set|A4(cura4|
|000018e0| 29 3b 0d 23 65 6e 64 69 | 66 0d 09 72 65 74 75 72 |);.#endi|f..retur|
|000018f0| 6e 28 72 65 74 29 3b 0d | 09 7d 0d 0d 42 6f 6f 6c |n(ret);.|.}..Bool|
|00001900| 65 61 6e 20 48 61 73 47 | 65 74 46 72 6f 6e 74 54 |ean HasG|etFrontT|
|00001910| 65 78 74 28 29 0d 09 7b | 0d 09 72 65 74 75 72 6e |ext()..{|..return|
|00001920| 28 67 61 63 63 2e 47 65 | 74 46 72 6f 6e 74 54 65 |(gacc.Ge|tFrontTe|
|00001930| 78 74 5f 45 78 74 20 21 | 3d 20 4e 55 4c 4c 29 3b |xt_Ext !|= NULL);|
|00001940| 0d 09 7d 0d 0d 76 6f 69 | 64 20 47 65 74 4e 65 78 |..}..voi|d GetNex|
|00001950| 74 4d 75 6c 74 69 46 69 | 6c 65 28 73 68 6f 72 74 |tMultiFi|le(short|
|00001960| 20 2a 70 61 6e 65 50 74 | 72 2c 20 73 68 6f 72 74 | *panePt|r, short|
|00001970| 20 2a 69 6e 64 65 78 50 | 74 72 2c 20 0d 09 09 73 | *indexP|tr, ...s|
|00001980| 68 6f 72 74 20 2a 76 52 | 65 66 4e 75 6d 50 74 72 |hort *vR|efNumPtr|
|00001990| 2c 20 63 68 61 72 20 2a | 66 69 6c 65 4e 61 6d 65 |, char *|fileName|
|000019a0| 2c 20 42 6f 6f 6c 65 61 | 6e 20 63 6c 65 61 72 46 |, Boolea|n clearF|
|000019b0| 6c 61 67 29 0d 09 7b 0d | 09 41 43 43 50 74 72 09 |lag)..{.|.ACCPtr.|
|000019c0| 6c 61 63 63 70 20 3d 20 | 26 67 61 63 63 3b 20 2f |laccp = |&gacc; /|
|000019d0| 2a 20 6d 75 73 74 20 75 | 73 65 20 61 20 6c 6f 63 |* must u|se a loc|
|000019e0| 61 6c 20 70 6f 69 6e 74 | 65 72 20 2a 2f 0d 23 69 |al point|er */.#i|
|000019f0| 66 6e 64 65 66 20 70 6f | 77 65 72 63 0d 09 6c 6f |fndef po|werc..lo|
|00001a00| 6e 67 20 63 75 72 61 34 | 20 3d 20 53 65 74 41 34 |ng cura4| = SetA4|
|00001a10| 28 5f 61 70 70 5f 61 34 | 29 3b 0d 23 65 6e 64 69 |(_app_a4|);.#endi|
|00001a20| 66 0d 09 69 66 20 28 6c | 61 63 63 70 2d 3e 47 65 |f..if (l|accp->Ge|
|00001a30| 74 4e 65 78 74 4d 75 6c | 74 69 46 69 6c 65 5f 45 |tNextMul|tiFile_E|
|00001a40| 78 74 20 21 3d 20 4e 55 | 4c 4c 29 0d 09 09 28 2a |xt != NU|LL)...(*|
|00001a50| 28 6c 61 63 63 70 2d 3e | 47 65 74 4e 65 78 74 4d |(laccp->|GetNextM|
|00001a60| 75 6c 74 69 46 69 6c 65 | 5f 45 78 74 29 29 28 70 |ultiFile|_Ext))(p|
|00001a70| 61 6e 65 50 74 72 2c 20 | 69 6e 64 65 78 50 74 72 |anePtr, |indexPtr|
|00001a80| 2c 0d 09 09 09 76 52 65 | 66 4e 75 6d 50 74 72 2c |,....vRe|fNumPtr,|
|00001a90| 20 66 69 6c 65 4e 61 6d | 65 2c 20 63 6c 65 61 72 | fileNam|e, clear|
|00001aa0| 46 6c 61 67 29 3b 0d 09 | 65 6c 73 65 0d 09 09 2a |Flag);..|else...*|
|00001ab0| 69 6e 64 65 78 50 74 72 | 20 3d 20 2d 31 3b 0d 23 |indexPtr| = -1;.#|
|00001ac0| 69 66 6e 64 65 66 20 70 | 6f 77 65 72 63 0d 09 28 |ifndef p|owerc..(|
|00001ad0| 76 6f 69 64 29 53 65 74 | 41 34 28 63 75 72 61 34 |void)Set|A4(cura4|
|00001ae0| 29 3b 0d 23 65 6e 64 69 | 66 0d 09 7d 0d 0d 42 6f |);.#endi|f..}..Bo|
|00001af0| 6f 6c 65 61 6e 20 48 61 | 73 47 65 74 4e 65 78 74 |olean Ha|sGetNext|
|00001b00| 4d 75 6c 74 69 46 69 6c | 65 28 29 0d 09 7b 0d 09 |MultiFil|e()..{..|
|00001b10| 72 65 74 75 72 6e 28 67 | 61 63 63 2e 47 65 74 4e |return(g|acc.GetN|
|00001b20| 65 78 74 4d 75 6c 74 69 | 46 69 6c 65 5f 45 78 74 |extMulti|File_Ext|
|00001b30| 20 21 3d 20 4e 55 4c 4c | 29 3b 0d 09 7d 0d 0d 73 | != NULL|);..}..s|
|00001b40| 68 6f 72 74 20 4f 4b 53 | 74 6f 70 41 6c 65 72 74 |hort OKS|topAlert|
|00001b50| 28 50 74 72 20 63 73 74 | 72 69 6e 67 50 74 72 29 |(Ptr cst|ringPtr)|
|00001b60| 0d 09 7b 0d 09 41 43 43 | 50 74 72 09 6c 61 63 63 |..{..ACC|Ptr.lacc|
|00001b70| 70 20 3d 20 26 67 61 63 | 63 3b 20 2f 2a 20 6d 75 |p = &gac|c; /* mu|
|00001b80| 73 74 20 75 73 65 20 61 | 20 6c 6f 63 61 6c 20 70 |st use a| local p|
|00001b90| 6f 69 6e 74 65 72 20 2a | 2f 0d 09 73 68 6f 72 74 |ointer *|/..short|
|00001ba0| 09 72 65 74 3b 0d 23 69 | 66 6e 64 65 66 20 70 6f |.ret;.#i|fndef po|
|00001bb0| 77 65 72 63 0d 09 6c 6f | 6e 67 20 63 75 72 61 34 |werc..lo|ng cura4|
|00001bc0| 20 3d 20 53 65 74 41 34 | 28 5f 61 70 70 5f 61 34 | = SetA4|(_app_a4|
|00001bd0| 29 3b 0d 23 65 6e 64 69 | 66 0d 09 69 66 20 28 6c |);.#endi|f..if (l|
|00001be0| 61 63 63 70 2d 3e 4f 4b | 53 74 6f 70 41 6c 65 72 |accp->OK|StopAler|
|00001bf0| 74 5f 45 78 74 20 21 3d | 20 4e 55 4c 4c 29 0d 09 |t_Ext !=| NULL)..|
|00001c00| 09 72 65 74 20 3d 20 28 | 2a 28 6c 61 63 63 70 2d |.ret = (|*(laccp-|
|00001c10| 3e 4f 4b 53 74 6f 70 41 | 6c 65 72 74 5f 45 78 74 |>OKStopA|lert_Ext|
|00001c20| 29 29 28 63 73 74 72 69 | 6e 67 50 74 72 29 3b 0d |))(cstri|ngPtr);.|
|00001c30| 09 65 6c 73 65 0d 09 09 | 72 65 74 20 3d 20 30 3b |.else...|ret = 0;|
|00001c40| 0d 23 69 66 6e 64 65 66 | 20 70 6f 77 65 72 63 0d |.#ifndef| powerc.|
|00001c50| 09 28 76 6f 69 64 29 53 | 65 74 41 34 28 63 75 72 |.(void)S|etA4(cur|
|00001c60| 61 34 29 3b 0d 23 65 6e | 64 69 66 0d 09 72 65 74 |a4);.#en|dif..ret|
|00001c70| 75 72 6e 28 72 65 74 29 | 3b 0d 09 7d 0d 0d 42 6f |urn(ret)|;..}..Bo|
|00001c80| 6f 6c 65 61 6e 20 48 61 | 73 4f 4b 53 74 6f 70 41 |olean Ha|sOKStopA|
|00001c90| 6c 65 72 74 28 29 0d 09 | 7b 0d 09 72 65 74 75 72 |lert()..|{..retur|
|00001ca0| 6e 28 67 61 63 63 2e 4f | 4b 53 74 6f 70 41 6c 65 |n(gacc.O|KStopAle|
|00001cb0| 72 74 5f 45 78 74 20 21 | 3d 20 4e 55 4c 4c 29 3b |rt_Ext !|= NULL);|
|00001cc0| 0d 09 7d 0d 0d 76 6f 69 | 64 20 4d 65 6d 6f 72 79 |..}..voi|d Memory|
|00001cd0| 41 6c 65 72 74 28 29 0d | 09 7b 0d 09 41 43 43 50 |Alert().|.{..ACCP|
|00001ce0| 74 72 09 6c 61 63 63 70 | 20 3d 20 26 67 61 63 63 |tr.laccp| = &gacc|
|00001cf0| 3b 20 2f 2a 20 6d 75 73 | 74 20 75 73 65 20 61 20 |; /* mus|t use a |
|00001d00| 6c 6f 63 61 6c 20 70 6f | 69 6e 74 65 72 20 2a 2f |local po|inter */|
|00001d10| 0d 23 69 66 6e 64 65 66 | 20 70 6f 77 65 72 63 0d |.#ifndef| powerc.|
|00001d20| 09 6c 6f 6e 67 20 63 75 | 72 61 34 20 3d 20 53 65 |.long cu|ra4 = Se|
|00001d30| 74 41 34 28 5f 61 70 70 | 5f 61 34 29 3b 0d 23 65 |tA4(_app|_a4);.#e|
|00001d40| 6e 64 69 66 0d 09 69 66 | 20 28 6c 61 63 63 70 2d |ndif..if| (laccp-|
|00001d50| 3e 4d 65 6d 6f 72 79 41 | 6c 65 72 74 5f 45 78 74 |>MemoryA|lert_Ext|
|00001d60| 20 21 3d 20 4e 55 4c 4c | 29 0d 09 09 28 2a 28 6c | != NULL|)...(*(l|
|00001d70| 61 63 63 70 2d 3e 4d 65 | 6d 6f 72 79 41 6c 65 72 |accp->Me|moryAler|
|00001d80| 74 5f 45 78 74 29 29 28 | 29 3b 0d 23 69 66 6e 64 |t_Ext))(|);.#ifnd|
|00001d90| 65 66 20 70 6f 77 65 72 | 63 0d 09 28 76 6f 69 64 |ef power|c..(void|
|00001da0| 29 53 65 74 41 34 28 63 | 75 72 61 34 29 3b 0d 23 |)SetA4(c|ura4);.#|
|00001db0| 65 6e 64 69 66 0d 09 7d | 0d 0d 42 6f 6f 6c 65 61 |endif..}|..Boolea|
|00001dc0| 6e 20 48 61 73 4d 65 6d | 6f 72 79 41 6c 65 72 74 |n HasMem|oryAlert|
|00001dd0| 28 29 0d 09 7b 0d 09 72 | 65 74 75 72 6e 28 67 61 |()..{..r|eturn(ga|
|00001de0| 63 63 2e 4d 65 6d 6f 72 | 79 41 6c 65 72 74 5f 45 |cc.Memor|yAlert_E|
|00001df0| 78 74 20 21 3d 20 4e 55 | 4c 4c 29 3b 0d 09 7d 0d |xt != NU|LL);..}.|
|00001e00| 0d 73 68 6f 72 74 20 47 | 65 74 53 63 72 65 65 6e |.short G|etScreen|
|00001e10| 48 65 69 67 68 74 28 29 | 0d 09 7b 0d 09 41 43 43 |Height()|..{..ACC|
|00001e20| 50 74 72 09 6c 61 63 63 | 70 20 3d 20 26 67 61 63 |Ptr.lacc|p = &gac|
|00001e30| 63 3b 20 2f 2a 20 6d 75 | 73 74 20 75 73 65 20 61 |c; /* mu|st use a|
|00001e40| 20 6c 6f 63 61 6c 20 70 | 6f 69 6e 74 65 72 20 2a | local p|ointer *|
|00001e50| 2f 0d 09 73 68 6f 72 74 | 09 09 72 65 74 3b 0d 23 |/..short|..ret;.#|
|00001e60| 69 66 6e 64 65 66 20 70 | 6f 77 65 72 63 0d 09 6c |ifndef p|owerc..l|
|00001e70| 6f 6e 67 20 63 75 72 61 | 34 20 3d 20 53 65 74 41 |ong cura|4 = SetA|
|00001e80| 34 28 5f 61 70 70 5f 61 | 34 29 3b 0d 23 65 6e 64 |4(_app_a|4);.#end|
|00001e90| 69 66 0d 09 69 66 20 28 | 6c 61 63 63 70 2d 3e 47 |if..if (|laccp->G|
|00001ea0| 65 74 53 63 72 65 65 6e | 48 65 69 67 68 74 5f 45 |etScreen|Height_E|
|00001eb0| 78 74 20 21 3d 20 4e 55 | 4c 4c 29 0d 09 09 72 65 |xt != NU|LL)...re|
|00001ec0| 74 20 3d 20 28 2a 28 6c | 61 63 63 70 2d 3e 47 65 |t = (*(l|accp->Ge|
|00001ed0| 74 53 63 72 65 65 6e 48 | 65 69 67 68 74 5f 45 78 |tScreenH|eight_Ex|
|00001ee0| 74 29 29 28 29 3b 0d 09 | 65 6c 73 65 0d 09 09 72 |t))();..|else...r|
|00001ef0| 65 74 20 3d 20 33 34 32 | 3b 20 2f 2a 20 6d 69 6e |et = 342|; /* min|
|00001f00| 69 6d 75 6d 20 70 6f 73 | 73 69 62 6c 65 20 2a 2f |imum pos|sible */|
|00001f10| 0d 23 69 66 6e 64 65 66 | 20 70 6f 77 65 72 63 0d |.#ifndef| powerc.|
|00001f20| 09 28 76 6f 69 64 29 53 | 65 74 41 34 28 63 75 72 |.(void)S|etA4(cur|
|00001f30| 61 34 29 3b 0d 23 65 6e | 64 69 66 0d 09 72 65 74 |a4);.#en|dif..ret|
|00001f40| 75 72 6e 28 72 65 74 29 | 3b 0d 09 7d 0d 0d 42 6f |urn(ret)|;..}..Bo|
|00001f50| 6f 6c 65 61 6e 20 48 61 | 73 47 65 74 53 63 72 65 |olean Ha|sGetScre|
|00001f60| 65 6e 48 65 69 67 68 74 | 28 29 0d 09 7b 0d 09 72 |enHeight|()..{..r|
|00001f70| 65 74 75 72 6e 28 67 61 | 63 63 2e 47 65 74 53 63 |eturn(ga|cc.GetSc|
|00001f80| 72 65 65 6e 48 65 69 67 | 68 74 5f 45 78 74 20 21 |reenHeig|ht_Ext !|
|00001f90| 3d 20 4e 55 4c 4c 29 3b | 0d 09 7d 0d 0d 73 68 6f |= NULL);|..}..sho|
|00001fa0| 72 74 20 47 65 74 53 63 | 72 65 65 6e 57 69 64 74 |rt GetSc|reenWidt|
|00001fb0| 68 28 29 0d 09 7b 0d 09 | 41 43 43 50 74 72 09 6c |h()..{..|ACCPtr.l|
|00001fc0| 61 63 63 70 20 3d 20 26 | 67 61 63 63 3b 20 2f 2a |accp = &|gacc; /*|
|00001fd0| 20 6d 75 73 74 20 75 73 | 65 20 61 20 6c 6f 63 61 | must us|e a loca|
|00001fe0| 6c 20 70 6f 69 6e 74 65 | 72 20 2a 2f 0d 09 73 68 |l pointe|r */..sh|
|00001ff0| 6f 72 74 09 09 72 65 74 | 3b 0d 23 69 66 6e 64 65 |ort..ret|;.#ifnde|
|00002000| 66 20 70 6f 77 65 72 63 | 0d 09 6c 6f 6e 67 20 63 |f powerc|..long c|
|00002010| 75 72 61 34 20 3d 20 53 | 65 74 41 34 28 5f 61 70 |ura4 = S|etA4(_ap|
|00002020| 70 5f 61 34 29 3b 0d 23 | 65 6e 64 69 66 0d 09 69 |p_a4);.#|endif..i|
|00002030| 66 20 28 6c 61 63 63 70 | 2d 3e 47 65 74 53 63 72 |f (laccp|->GetScr|
|00002040| 65 65 6e 57 69 64 74 68 | 5f 45 78 74 20 21 3d 20 |eenWidth|_Ext != |
|00002050| 4e 55 4c 4c 29 0d 09 09 | 72 65 74 20 3d 20 28 2a |NULL)...|ret = (*|
|00002060| 28 6c 61 63 63 70 2d 3e | 47 65 74 53 63 72 65 65 |(laccp->|GetScree|
|00002070| 6e 57 69 64 74 68 5f 45 | 78 74 29 29 28 29 3b 0d |nWidth_E|xt))();.|
|00002080| 09 65 6c 73 65 0d 09 09 | 72 65 74 20 3d 20 35 31 |.else...|ret = 51|
|00002090| 32 3b 20 2f 2a 20 6d 69 | 6e 69 6d 75 6d 20 70 6f |2; /* mi|nimum po|
|000020a0| 73 73 69 62 6c 65 20 2a | 2f 0d 23 69 66 6e 64 65 |ssible *|/.#ifnde|
|000020b0| 66 20 70 6f 77 65 72 63 | 0d 09 28 76 6f 69 64 29 |f powerc|..(void)|
|000020c0| 53 65 74 41 34 28 63 75 | 72 61 34 29 3b 0d 23 65 |SetA4(cu|ra4);.#e|
|000020d0| 6e 64 69 66 0d 09 72 65 | 74 75 72 6e 28 72 65 74 |ndif..re|turn(ret|
|000020e0| 29 3b 0d 09 7d 0d 0d 42 | 6f 6f 6c 65 61 6e 20 48 |);..}..B|oolean H|
|000020f0| 61 73 47 65 74 53 63 72 | 65 65 6e 57 69 64 74 68 |asGetScr|eenWidth|
|00002100| 28 29 0d 09 7b 0d 09 72 | 65 74 75 72 6e 28 67 61 |()..{..r|eturn(ga|
|00002110| 63 63 2e 47 65 74 53 63 | 72 65 65 6e 57 69 64 74 |cc.GetSc|reenWidt|
|00002120| 68 5f 45 78 74 20 21 3d | 20 4e 55 4c 4c 29 3b 0d |h_Ext !=| NULL);.|
|00002130| 09 7d 0d 0d 76 6f 69 64 | 20 53 65 74 57 61 74 63 |.}..void| SetWatc|
|00002140| 68 43 75 72 73 6f 72 28 | 29 0d 09 7b 0d 09 41 43 |hCursor(|)..{..AC|
|00002150| 43 50 74 72 09 6c 61 63 | 63 70 20 3d 20 26 67 61 |CPtr.lac|cp = &ga|
|00002160| 63 63 3b 20 2f 2a 20 6d | 75 73 74 20 75 73 65 20 |cc; /* m|ust use |
|00002170| 61 20 6c 6f 63 61 6c 20 | 70 6f 69 6e 74 65 72 20 |a local |pointer |
|00002180| 2a 2f 0d 23 69 66 6e 64 | 65 66 20 70 6f 77 65 72 |*/.#ifnd|ef power|
|00002190| 63 0d 09 6c 6f 6e 67 20 | 63 75 72 61 34 20 3d 20 |c..long |cura4 = |
|000021a0| 53 65 74 41 34 28 5f 61 | 70 70 5f 61 34 29 3b 0d |SetA4(_a|pp_a4);.|
|000021b0| 23 65 6e 64 69 66 0d 09 | 69 66 20 28 6c 61 63 63 |#endif..|if (lacc|
|000021c0| 70 2d 3e 53 65 74 57 61 | 74 63 68 43 75 72 73 6f |p->SetWa|tchCurso|
|000021d0| 72 5f 45 78 74 20 21 3d | 20 4e 55 4c 4c 29 0d 09 |r_Ext !=| NULL)..|
|000021e0| 09 28 2a 28 6c 61 63 63 | 70 2d 3e 53 65 74 57 61 |.(*(lacc|p->SetWa|
|000021f0| 74 63 68 43 75 72 73 6f | 72 5f 45 78 74 29 29 28 |tchCurso|r_Ext))(|
|00002200| 29 3b 0d 23 69 66 6e 64 | 65 66 20 70 6f 77 65 72 |);.#ifnd|ef power|
|00002210| 63 0d 09 28 76 6f 69 64 | 29 53 65 74 41 34 28 63 |c..(void|)SetA4(c|
|00002220| 75 72 61 34 29 3b 0d 23 | 65 6e 64 69 66 0d 09 7d |ura4);.#|endif..}|
|00002230| 0d 0d 42 6f 6f 6c 65 61 | 6e 20 48 61 73 53 65 74 |..Boolea|n HasSet|
|00002240| 57 61 74 63 68 43 75 72 | 73 6f 72 28 29 0d 09 7b |WatchCur|sor()..{|
|00002250| 0d 09 72 65 74 75 72 6e | 28 67 61 63 63 2e 53 65 |..return|(gacc.Se|
|00002260| 74 57 61 74 63 68 43 75 | 72 73 6f 72 5f 45 78 74 |tWatchCu|rsor_Ext|
|00002270| 20 21 3d 20 4e 55 4c 4c | 29 3b 0d 09 7d 0d 0d 76 | != NULL|);..}..v|
|00002280| 6f 69 64 20 44 6f 45 76 | 65 6e 74 4c 6f 6f 70 4f |oid DoEv|entLoopO|
|00002290| 6e 63 65 28 29 0d 09 7b | 0d 09 41 43 43 50 74 72 |nce()..{|..ACCPtr|
|000022a0| 09 6c 61 63 63 70 20 3d | 20 26 67 61 63 63 3b 20 |.laccp =| &gacc; |
|000022b0| 2f 2a 20 6d 75 73 74 20 | 75 73 65 20 61 20 6c 6f |/* must |use a lo|
|000022c0| 63 61 6c 20 70 6f 69 6e | 74 65 72 20 2a 2f 0d 23 |cal poin|ter */.#|
|000022d0| 69 66 6e 64 65 66 20 70 | 6f 77 65 72 63 0d 09 6c |ifndef p|owerc..l|
|000022e0| 6f 6e 67 20 63 75 72 61 | 34 20 3d 20 53 65 74 41 |ong cura|4 = SetA|
|000022f0| 34 28 5f 61 70 70 5f 61 | 34 29 3b 0d 23 65 6e 64 |4(_app_a|4);.#end|
|00002300| 69 66 0d 09 69 66 20 28 | 6c 61 63 63 70 2d 3e 44 |if..if (|laccp->D|
|00002310| 6f 45 76 65 6e 74 4c 6f | 6f 70 4f 6e 63 65 5f 45 |oEventLo|opOnce_E|
|00002320| 78 74 20 21 3d 20 4e 55 | 4c 4c 29 0d 09 09 28 2a |xt != NU|LL)...(*|
|00002330| 28 6c 61 63 63 70 2d 3e | 44 6f 45 76 65 6e 74 4c |(laccp->|DoEventL|
|00002340| 6f 6f 70 4f 6e 63 65 5f | 45 78 74 29 29 28 29 3b |oopOnce_|Ext))();|
|00002350| 0d 23 69 66 6e 64 65 66 | 20 70 6f 77 65 72 63 0d |.#ifndef| powerc.|
|00002360| 09 28 76 6f 69 64 29 53 | 65 74 41 34 28 63 75 72 |.(void)S|etA4(cur|
|00002370| 61 34 29 3b 0d 23 65 6e | 64 69 66 0d 09 7d 0d 0d |a4);.#en|dif..}..|
|00002380| 42 6f 6f 6c 65 61 6e 20 | 48 61 73 44 6f 45 76 65 |Boolean |HasDoEve|
|00002390| 6e 74 4c 6f 6f 70 4f 6e | 63 65 28 29 0d 09 7b 0d |ntLoopOn|ce()..{.|
|000023a0| 09 72 65 74 75 72 6e 28 | 67 61 63 63 2e 44 6f 45 |.return(|gacc.DoE|
|000023b0| 76 65 6e 74 4c 6f 6f 70 | 4f 6e 63 65 5f 45 78 74 |ventLoop|Once_Ext|
|000023c0| 20 21 3d 20 4e 55 4c 4c | 29 3b 0d 09 7d 0d 0d 48 | != NULL|);..}..H|
|000023d0| 61 6e 64 6c 65 20 47 65 | 74 54 68 65 43 6c 69 70 |andle Ge|tTheClip|
|000023e0| 28 29 0d 09 7b 0d 09 41 | 43 43 50 74 72 09 6c 61 |()..{..A|CCPtr.la|
|000023f0| 63 63 70 20 3d 20 26 67 | 61 63 63 3b 20 2f 2a 20 |ccp = &g|acc; /* |
|00002400| 6d 75 73 74 20 75 73 65 | 20 61 20 6c 6f 63 61 6c |must use| a local|
|00002410| 20 70 6f 69 6e 74 65 72 | 20 2a 2f 0d 09 48 61 6e | pointer| */..Han|
|00002420| 64 6c 65 09 72 65 74 3b | 0d 23 69 66 6e 64 65 66 |dle.ret;|.#ifndef|
|00002430| 20 70 6f 77 65 72 63 0d | 09 6c 6f 6e 67 20 63 75 | powerc.|.long cu|
|00002440| 72 61 34 20 3d 20 53 65 | 74 41 34 28 5f 61 70 70 |ra4 = Se|tA4(_app|
|00002450| 5f 61 34 29 3b 0d 23 65 | 6e 64 69 66 0d 09 69 66 |_a4);.#e|ndif..if|
|00002460| 20 28 6c 61 63 63 70 2d | 3e 47 65 74 41 70 70 43 | (laccp-|>GetAppC|
|00002470| 6c 69 70 5f 45 78 74 20 | 21 3d 20 4e 55 4c 4c 29 |lip_Ext |!= NULL)|
|00002480| 0d 09 09 72 65 74 20 3d | 20 28 2a 28 6c 61 63 63 |...ret =| (*(lacc|
|00002490| 70 2d 3e 47 65 74 41 70 | 70 43 6c 69 70 5f 45 78 |p->GetAp|pClip_Ex|
|000024a0| 74 29 29 28 29 3b 0d 09 | 65 6c 73 65 0d 09 09 72 |t))();..|else...r|
|000024b0| 65 74 20 3d 20 4e 55 4c | 4c 3b 0d 23 69 66 6e 64 |et = NUL|L;.#ifnd|
|000024c0| 65 66 20 70 6f 77 65 72 | 63 0d 09 28 76 6f 69 64 |ef power|c..(void|
|000024d0| 29 53 65 74 41 34 28 63 | 75 72 61 34 29 3b 0d 23 |)SetA4(c|ura4);.#|
|000024e0| 65 6e 64 69 66 0d 09 72 | 65 74 75 72 6e 28 72 65 |endif..r|eturn(re|
|000024f0| 74 29 3b 0d 09 7d 0d 0d | 42 6f 6f 6c 65 61 6e 20 |t);..}..|Boolean |
|00002500| 48 61 73 47 65 74 54 68 | 65 43 6c 69 70 28 29 0d |HasGetTh|eClip().|
|00002510| 09 7b 0d 09 72 65 74 75 | 72 6e 28 67 61 63 63 2e |.{..retu|rn(gacc.|
|00002520| 47 65 74 41 70 70 43 6c | 69 70 5f 45 78 74 20 21 |GetAppCl|ip_Ext !|
|00002530| 3d 20 4e 55 4c 4c 29 3b | 0d 09 7d 0d 0d 2f 2f 20 |= NULL);|..}..// |
|00002540| 4e 6f 74 65 20 66 6f 72 | 20 76 65 72 73 69 6f 6e |Note for| version|
|00002550| 20 33 20 74 68 65 20 76 | 65 72 73 69 6f 6e 20 69 | 3 the v|ersion i|
|00002560| 73 20 73 69 67 6e 61 6c | 6c 65 64 20 62 79 20 6c |s signal|led by l|
|00002570| 6f 6e 67 20 65 78 74 65 | 6e 64 49 44 20 3d 3d 20 |ong exte|ndID == |
|00002580| 27 56 45 52 33 27 0d 2f | 2f 20 69 6e 73 69 64 65 |'VER3'./|/ inside|
|00002590| 20 67 61 63 63 20 2d 2d | 20 66 6f 72 20 70 72 65 | gacc --| for pre|
|000025a0| 76 69 6f 75 73 20 76 65 | 72 73 69 6f 6e 73 2c 20 |vious ve|rsions, |
|000025b0| 74 68 65 20 6f 64 64 73 | 20 6f 66 20 74 68 69 73 |the odds| of this|
|000025c0| 20 6c 6f 6e 67 20 62 65 | 69 6e 67 20 73 65 74 0d | long be|ing set.|
|000025d0| 2f 2f 20 74 6f 20 65 78 | 61 63 74 6c 79 20 27 56 |// to ex|actly 'V|
|000025e0| 45 52 33 27 20 61 72 65 | 20 76 65 72 79 20 73 6d |ER3' are| very sm|
|000025f0| 61 6c 6c 2e 0d 0d 73 68 | 6f 72 74 20 50 75 74 54 |all...sh|ort PutT|
|00002600| 68 65 43 6c 69 70 28 63 | 68 61 72 20 2a 6e 65 77 |heClip(c|har *new|
|00002610| 43 6c 69 70 53 74 72 29 | 0d 09 7b 0d 09 41 43 43 |ClipStr)|..{..ACC|
|00002620| 50 74 72 09 6c 61 63 63 | 70 20 3d 20 26 67 61 63 |Ptr.lacc|p = &gac|
|00002630| 63 3b 20 2f 2a 20 6d 75 | 73 74 20 75 73 65 20 61 |c; /* mu|st use a|
|00002640| 20 6c 6f 63 61 6c 20 70 | 6f 69 6e 74 65 72 20 2a | local p|ointer *|
|00002650| 2f 0d 09 73 68 6f 72 74 | 09 72 65 74 20 3d 20 30 |/..short|.ret = 0|
|00002660| 3b 0d 23 69 66 6e 64 65 | 66 20 70 6f 77 65 72 63 |;.#ifnde|f powerc|
|00002670| 0d 09 6c 6f 6e 67 20 63 | 75 72 61 34 20 3d 20 53 |..long c|ura4 = S|
|00002680| 65 74 41 34 28 5f 61 70 | 70 5f 61 34 29 3b 0d 23 |etA4(_ap|p_a4);.#|
|00002690| 65 6e 64 69 66 0d 09 69 | 66 20 28 6c 61 63 63 70 |endif..i|f (laccp|
|000026a0| 2d 3e 65 78 74 65 6e 64 | 49 44 20 3d 3d 20 27 56 |->extend|ID == 'V|
|000026b0| 45 52 33 27 20 26 26 20 | 6c 61 63 63 70 2d 3e 50 |ER3' && |laccp->P|
|000026c0| 75 74 41 70 70 43 6c 69 | 70 5f 45 78 74 20 21 3d |utAppCli|p_Ext !=|
|000026d0| 20 4e 55 4c 4c 29 0d 09 | 09 72 65 74 20 3d 20 28 | NULL)..|.ret = (|
|000026e0| 2a 28 6c 61 63 63 70 2d | 3e 50 75 74 41 70 70 43 |*(laccp-|>PutAppC|
|000026f0| 6c 69 70 5f 45 78 74 29 | 29 28 6e 65 77 43 6c 69 |lip_Ext)|)(newCli|
|00002700| 70 53 74 72 29 3b 0d 23 | 69 66 6e 64 65 66 20 70 |pStr);.#|ifndef p|
|00002710| 6f 77 65 72 63 0d 09 28 | 76 6f 69 64 29 53 65 74 |owerc..(|void)Set|
|00002720| 41 34 28 63 75 72 61 34 | 29 3b 0d 23 65 6e 64 69 |A4(cura4|);.#endi|
|00002730| 66 0d 09 72 65 74 75 72 | 6e 28 72 65 74 29 3b 0d |f..retur|n(ret);.|
|00002740| 09 7d 0d 0d 42 6f 6f 6c | 65 61 6e 20 48 61 73 50 |.}..Bool|ean HasP|
|00002750| 75 74 54 68 65 43 6c 69 | 70 28 76 6f 69 64 29 0d |utTheCli|p(void).|
|00002760| 09 7b 0d 09 72 65 74 75 | 72 6e 28 67 61 63 63 2e |.{..retu|rn(gacc.|
|00002770| 65 78 74 65 6e 64 49 44 | 20 3d 3d 20 27 56 45 52 |extendID| == 'VER|
|00002780| 33 27 20 26 26 20 67 61 | 63 63 2e 50 75 74 41 70 |3' && ga|cc.PutAp|
|00002790| 70 43 6c 69 70 5f 45 78 | 74 20 21 3d 20 4e 55 4c |pClip_Ex|t != NUL|
|000027a0| 4c 29 3b 0d 09 7d 0d 0d | 00 00 00 00 00 00 00 00 |L);..}..|........|
|000027b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000027c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000027d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000027e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000027f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002800| 00 00 01 00 00 00 03 9c | 00 00 02 9c 00 00 00 a2 |........|........|
|00002810| 00 08 01 07 00 06 00 06 | 00 06 00 05 00 05 00 06 |........|........|
|00002820| 00 06 01 03 00 06 00 06 | 00 05 00 08 00 06 00 06 |........|........|
|00002830| 0b 43 6f 64 65 5f 4d 61 | 69 6e 2e 63 02 00 00 00 |.Code_Ma|in.c....|
|00002840| 54 45 58 54 4b 45 45 4e | 01 00 00 39 00 ea 00 00 |TEXTKEEN|...9....|
|00002850| 00 00 54 45 58 54 4b 45 | 45 4e 01 00 00 39 00 ea |..TEXTKE|EN...9..|
|00002860| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002870| 00 00 a6 27 e5 f7 00 00 | 27 28 00 00 04 3e 00 08 |...'....|'(...>..|
|00002880| 00 06 00 06 00 05 00 04 | 00 02 00 04 00 06 00 00 |........|........|
|00002890| 01 07 01 07 00 06 00 05 | 00 06 00 06 00 06 00 05 |........|........|
|000028a0| 00 05 00 05 00 05 00 05 | 00 05 00 05 00 05 00 05 |........|........|
|000028b0| 00 05 00 05 00 03 00 03 | 00 04 00 04 00 05 00 05 |........|........|
|000028c0| 00 05 00 05 00 05 00 05 | 00 05 00 05 00 05 00 05 |........|........|
|000028d0| 00 04 00 05 00 06 00 06 | 00 06 00 06 00 06 00 06 |........|........|
|000028e0| 00 09 00 09 00 09 01 04 | 00 04 00 06 00 09 00 07 |........|........|
|000028f0| 00 0a 00 06 00 05 00 05 | 00 06 00 06 00 05 00 06 |........|........|
|00002900| 00 00 00 04 00 06 00 04 | 00 00 02 1a 00 17 00 00 |........|........|
|00002910| 1f ee 00 00 1f fd 0f 44 | 6f 45 76 65 6e 74 4c 6f |.......D|oEventLo|
|00002920| 6f 70 4f 6e 63 65 00 00 | 16 4c 00 00 16 58 0d 47 |opOnce..|.L...X.G|
|00002930| 65 74 46 72 6f 6e 74 54 | 65 78 74 00 00 00 17 b0 |etFrontT|ext.....|
|00002940| 00 00 17 c0 11 47 65 74 | 4e 65 78 74 4d 75 6c 74 |.....Get|NextMult|
|00002950| 69 46 69 6c 65 00 00 00 | 1b ef 00 00 1b fe 0f 47 |iFile...|.......G|
|00002960| 65 74 53 63 72 65 65 6e | 48 65 69 67 68 74 00 00 |etScreen|Height..|
|00002970| 1d 61 00 00 1d 6f 0f 47 | 65 74 53 63 72 65 65 6e |.a...o.G|etScreen|
|00002980| 57 69 64 74 68 00 00 00 | 21 16 00 00 21 20 0b 47 |Width...|!...! .G|
|00002990| 65 74 54 68 65 43 6c 69 | 70 00 00 00 20 c8 00 00 |etTheCli|p... ...|
|000029a0| 20 da 13 48 61 73 44 6f | 45 76 65 6e 74 4c 6f 6f | ..HasDo|EventLoo|
|000029b0| 70 4f 6e 63 65 00 00 00 | 17 6a 00 00 17 79 0f 48 |pOnce...|.j...y.H|
|000029c0| 61 73 47 65 74 46 72 6f | 6e 74 54 65 78 74 00 00 |asGetFro|ntText..|
|000029d0| 19 32 00 00 19 45 13 48 | 61 73 47 65 74 4e 65 78 |.2...E.H|asGetNex|
|000029e0| 74 4d 75 6c 74 69 46 69 | 6c 65 00 00 1d 14 00 00 |tMultiFi|le......|
|000029f0| 1d 26 13 48 61 73 47 65 | 74 53 63 72 65 65 6e 48 |.&.HasGe|tScreenH|
|00002a00| 65 69 67 68 74 00 00 00 | 1e 83 00 00 1e 94 11 48 |eight...|.......H|
|00002a10| 61 73 47 65 74 53 63 72 | 65 65 6e 57 69 64 74 68 |asGetScr|eenWidth|
|00002a20| 00 00 22 16 00 00 22 23 | 0d 48 61 73 47 65 74 54 |.."..."#|.HasGetT|
|00002a30| 68 65 43 6c 69 70 00 00 | 16 04 00 00 16 13 0f 48 |heClip..|.......H|
|00002a40| 61 73 49 6e 44 69 63 74 | 69 6f 6e 61 72 79 00 00 |asInDict|ionary..|
|00002a50| 1b aa 00 00 1b b8 0f 48 | 61 73 4d 65 6d 6f 72 79 |.......H|asMemory|
|00002a60| 41 6c 65 72 74 00 00 00 | 1a 98 00 00 1a a6 0f 48 |Alert...|.......H|
|00002a70| 61 73 4f 4b 53 74 6f 70 | 41 6c 65 72 74 00 00 00 |asOKStop|Alert...|
|00002a80| 24 38 00 00 24 45 0d 48 | 61 73 50 75 74 54 68 65 |$8..$E.H|asPutThe|
|00002a90| 43 6c 69 70 00 00 1f a4 | 00 00 1f b5 11 48 61 73 |Clip....|.....Has|
|00002aa0| 53 65 74 57 61 74 63 68 | 43 75 72 73 6f 72 00 00 |SetWatch|Cursor..|
|00002ab0| 14 ea 00 00 14 f6 0d 49 | 6e 44 69 63 74 69 6f 6e |.......I|nDiction|
|00002ac0| 61 72 79 00 00 00 1a dc | 00 00 1a e7 0b 4d 65 6d |ary.....|.....Mem|
|00002ad0| 6f 72 79 41 6c 65 72 74 | 00 00 0e d5 00 00 0e d9 |oryAlert|........|
|00002ae0| 05 6d 61 69 6e 00 00 00 | 19 81 00 00 19 8c 0b 4f |.main...|.......O|
|00002af0| 4b 53 74 6f 70 41 6c 65 | 72 74 00 00 23 12 00 00 |KStopAle|rt..#...|
|00002b00| 23 1c 0b 50 75 74 54 68 | 65 43 6c 69 70 00 00 00 |#..PutTh|eClip...|
|00002b10| 1e cd 00 00 1e db 0f 53 | 65 74 57 61 74 63 68 43 |.......S|etWatchC|
|00002b20| 75 72 73 6f 72 00 00 00 | 00 0a 00 09 06 4d 6f 6e |ursor...|.....Mon|
|00002b30| 61 63 6f 00 00 00 00 04 | ab c1 c6 a4 00 00 00 08 |aco.....|........|
|00002b40| 00 2d 00 1b 02 91 02 0f | 00 00 00 48 00 09 4d 6f |.-......|...H..Mo|
|00002b50| 6e 61 63 6f 00 00 00 00 | 00 00 00 00 00 00 00 00 |naco....|........|
|00002b60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 03 |........|........|
|00002b70| 00 04 00 59 01 9b 02 d5 | 03 96 00 59 01 9b 02 d5 |...Y....|...Y....|
|00002b80| 03 96 ad c2 e5 45 00 00 | 1a bf 00 00 1a e0 00 00 |.....E..|........|
|00002b90| 1a 4e 01 00 00 00 00 04 | 00 01 00 01 00 00 01 00 |.N......|........|
|00002ba0| 00 00 03 9c 00 00 02 9c | 00 00 00 a2 01 3b 62 20 |........|.....;b |
|00002bb0| 0f cc 00 00 00 1c 00 a2 | 00 05 4d 50 53 52 00 01 |........|..MPSR..|
|00002bc0| 00 32 45 54 41 42 00 00 | 00 4a 45 46 4e 54 00 00 |.2ETAB..|.JEFNT..|
|00002bd0| 00 56 4a 41 47 5a 00 00 | 00 62 57 53 49 5a 00 00 |.VJAGZ..|.bWSIZ..|
|00002be0| 00 6e 4d 57 42 42 00 00 | 00 7a 03 ef ff ff 00 00 |.nMWBB..|.z......|
|00002bf0| 00 08 00 00 00 00 03 ed | ff ff 00 00 02 48 00 00 |........|.....H..|
|00002c00| 00 00 03 ec ff ff 00 00 | 00 00 00 00 00 00 03 eb |........|........|
|00002c10| ff ff 00 00 02 26 00 00 | 00 00 03 ed ff ff 00 00 |.....&..|........|
|00002c20| 02 34 00 00 00 00 03 ee | ff ff 00 00 02 3c 00 00 |.4......|.....<..|
|00002c30| 00 00 03 f0 ff ff 00 00 | 02 94 00 00 00 00 00 00 |........|........|
|00002c40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002c50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002c60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002c70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+