home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 …ember: Reference Library / Apple Developer Reference Library (December 1999) (Disk 1).iso / mac / Technical Documentation / Develop / develop Issue 19 / develop Issue 19 code / SimpliFace_V2.sea / SimpliFace_V2 / Sources / ObjModelEvents.h < prev    next >
MacBinary  |  1994-04-15  |  2.3 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, inited, Fri Apr 15 09:59:21 1994, modified Fri Apr 15 09:59:21 1994, creator 'MPS ', type ASCII, 1615 bytes "ObjModelEvents.h" , at 0x6cf 428 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 10 4f 62 6a 4d 6f 64 | 65 6c 45 76 65 6e 74 73 |..ObjMod|elEvents|
|00000010| 2e 68 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.h......|........|
|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 01 00 00 00 00 00 00 |.TEXTMPS| .......|
|00000050| 00 00 00 00 00 06 4f 00 | 00 01 ac a9 d4 4e 39 a9 |......O.|.....N9.|
|00000060| d4 4e 39 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.N9.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 ea 17 00 00 |........|........|
|00000080| 2f 2a 0d 09 46 69 6c 65 | 3a 09 09 4f 62 6a 4d 6f |/*..File|:..ObjMo|
|00000090| 64 65 6c 45 76 65 6e 74 | 73 2e 68 0d 0d 09 43 6f |delEvent|s.h...Co|
|000000a0| 6e 74 61 69 6e 73 3a 09 | 41 70 70 6c 65 20 45 76 |ntains:.|Apple Ev|
|000000b0| 65 6e 74 20 68 61 6e 64 | 6c 65 72 73 20 69 6e 74 |ent hand|lers int|
|000000c0| 65 72 66 61 63 65 0d 0d | 0d 09 44 65 76 65 6c 6f |erface..|..Develo|
|000000d0| 70 65 64 20 62 79 3a 0d | 0d 09 50 61 75 6c 20 47 |ped by:.|..Paul G|
|000000e0| 20 53 6d 69 74 68 20 28 | 63 6f 6d 6d 73 74 61 6c | Smith (|commstal|
|000000f0| 6b 20 68 71 20 26 20 46 | 75 6c 6c 20 4d 6f 6f 6e |k hq & F|ull Moon|
|00000100| 20 53 6f 66 74 77 61 72 | 65 2c 20 49 6e 63 29 0d | Softwar|e, Inc).|
|00000110| 0d 09 79 6f 75 20 63 61 | 6e 20 6c 65 61 76 65 20 |..you ca|n leave |
|00000120| 6d 65 73 73 61 67 65 73 | 20 61 74 20 28 55 4b 29 |messages| at (UK)|
|00000130| 3a 20 30 37 32 37 20 38 | 34 34 32 33 32 3b 20 28 |: 0727 8|44232; (|
|00000140| 55 53 29 3a 20 34 30 38 | 20 32 35 33 20 37 31 39 |US): 408| 253 719|
|00000150| 39 0d 09 42 55 54 20 49 | 20 70 72 65 66 65 72 20 |9..BUT I| prefer |
|00000160| 74 6f 20 62 65 20 63 6f | 6e 74 61 63 74 65 64 20 |to be co|ntacted |
|00000170| 62 79 20 65 2d 6d 61 69 | 6c 0d 09 41 70 70 6c 65 |by e-mai|l..Apple|
|00000180| 4c 69 6e 6b 3a 20 09 43 | 4f 4d 4d 53 54 41 4c 4b |Link: .C|OMMSTALK|
|00000190| 2e 48 51 0d 09 49 6e 74 | 65 72 6e 65 74 3a 20 09 |.HQ..Int|ernet: .|
|000001a0| 43 4f 4d 4d 53 54 41 4c | 4b 2e 48 51 40 61 70 70 |COMMSTAL|K.HQ@app|
|000001b0| 6c 65 6c 69 6e 6b 2e 61 | 70 70 6c 65 2e 63 6f 6d |lelink.a|pple.com|
|000001c0| 0d 0d 09 22 53 69 6d 70 | 6c 69 46 61 63 65 32 22 |..."Simp|liFace2"|
|000001d0| 20 53 61 6d 70 6c 65 20 | 63 6f 64 65 20 74 6f 20 | Sample |code to |
|000001e0| 61 63 63 6f 6d 70 61 6e | 79 20 64 65 76 65 6c 6f |accompan|y develo|
|000001f0| 70 20 61 72 74 69 63 6c | 65 0d 09 6f 6e 20 74 65 |p articl|e..on te|
|00000200| 63 68 6e 69 71 75 65 73 | 20 66 6f 72 20 63 6f 6e |chniques| for con|
|00000210| 74 72 6f 6c 6c 69 6e 67 | 20 73 63 72 69 70 74 20 |trolling| script |
|00000220| 69 6e 68 65 72 69 74 61 | 6e 63 65 2e 0d 09 0d 09 |inherita|nce.....|
|00000230| 0d 0d 0d 09 41 70 70 6c | 65 20 45 76 65 6e 74 20 |....Appl|e Event |
|00000240| 68 61 6e 64 6c 65 72 73 | 20 66 6f 72 20 53 69 6d |handlers| for Sim|
|00000250| 70 6c 69 46 61 63 65 32 | 0d 0d 2a 2f 0d 0d 23 69 |pliFace2|..*/..#i|
|00000260| 66 6e 64 65 66 20 5f 5f | 41 45 4f 4d 45 56 45 4e |fndef __|AEOMEVEN|
|00000270| 54 53 5f 5f 0d 23 64 65 | 66 69 6e 65 20 5f 5f 41 |TS__.#de|fine __A|
|00000280| 45 4f 4d 45 56 45 4e 54 | 53 5f 5f 0d 0d 0d 23 69 |EOMEVENT|S__...#i|
|00000290| 66 6e 64 65 66 20 5f 5f | 41 50 50 4c 45 45 56 45 |fndef __|APPLEEVE|
|000002a0| 4e 54 53 5f 5f 0d 23 69 | 6e 63 6c 75 64 65 20 22 |NTS__.#i|nclude "|
|000002b0| 41 70 70 6c 65 45 76 65 | 6e 74 73 2e 68 22 0d 23 |AppleEve|nts.h".#|
|000002c0| 65 6e 64 69 66 0d 0d 23 | 69 66 6e 64 65 66 20 5f |endif..#|ifndef _|
|000002d0| 5f 50 41 53 43 41 4c 53 | 54 52 49 4e 47 5f 5f 0d |_PASCALS|TRING__.|
|000002e0| 23 69 6e 63 6c 75 64 65 | 20 3c 50 61 73 63 61 6c |#include| <Pascal|
|000002f0| 53 74 72 69 6e 67 2e 68 | 3e 0d 23 65 6e 64 69 66 |String.h|>.#endif|
|00000300| 0d 0d 0d 2f 2f 20 69 6e | 73 74 61 6c 6c 61 74 69 |...// in|stallati|
|00000310| 6f 6e 0d 0d 70 61 73 63 | 61 6c 20 4f 53 45 72 72 |on..pasc|al OSErr|
|00000320| 20 49 6e 73 74 61 6c 6c | 45 76 65 6e 74 48 61 6e | Install|EventHan|
|00000330| 64 6c 65 72 73 28 76 6f | 69 64 29 3b 0d 0d 70 61 |dlers(vo|id);..pa|
|00000340| 73 63 61 6c 20 4f 53 45 | 72 72 20 44 65 49 6e 73 |scal OSE|rr DeIns|
|00000350| 74 61 6c 6c 45 76 65 6e | 74 48 61 6e 64 6c 65 72 |tallEven|tHandler|
|00000360| 73 28 76 6f 69 64 29 3b | 0d 0d 0d 4f 53 45 72 72 |s(void);|...OSErr|
|00000370| 20 47 65 74 43 75 72 72 | 65 6e 74 41 70 70 46 69 | GetCurr|entAppFi|
|00000380| 6c 65 53 70 65 63 28 73 | 68 6f 72 74 20 2a 76 52 |leSpec(s|hort *vR|
|00000390| 65 66 4e 75 6d 2c 20 6c | 6f 6e 67 20 2a 64 69 72 |efNum, l|ong *dir|
|000003a0| 49 44 2c 20 53 74 72 69 | 6e 67 50 74 72 20 66 69 |ID, Stri|ngPtr fi|
|000003b0| 6c 65 4e 61 6d 65 29 3b | 0d 0d 76 6f 69 64 20 47 |leName);|..void G|
|000003c0| 65 74 43 75 72 72 41 70 | 70 4e 61 6d 65 28 43 53 |etCurrAp|pName(CS|
|000003d0| 74 72 32 35 35 26 20 61 | 70 70 4e 61 6d 65 29 3b |tr255& a|ppName);|
|000003e0| 0d 0d 0d 2f 2f 20 73 70 | 65 63 69 61 6c 20 41 70 |...// sp|ecial Ap|
|000003f0| 70 6c 65 20 45 76 65 6e | 74 73 0d 0d 73 74 61 74 |ple Even|ts..stat|
|00000400| 69 63 09 70 61 73 63 61 | 6c 20 4f 53 45 72 72 20 |ic.pasca|l OSErr |
|00000410| 47 65 74 41 45 54 45 41 | 45 76 74 48 61 6e 64 6c |GetAETEA|EvtHandl|
|00000420| 65 72 20 28 41 70 70 6c | 65 45 76 65 6e 74 20 2a |er (Appl|eEvent *|
|00000430| 74 68 65 45 76 65 6e 74 | 2c 20 0d 09 09 09 09 09 |theEvent|, ......|
|00000440| 09 09 09 09 09 41 70 70 | 6c 65 45 76 65 6e 74 20 |.....App|leEvent |
|00000450| 2a 74 68 65 52 65 70 6c | 79 2c 20 0d 09 09 09 09 |*theRepl|y, .....|
|00000460| 09 09 09 09 09 09 6c 6f | 6e 67 20 74 68 65 52 65 |......lo|ng theRe|
|00000470| 66 43 6f 6e 29 3b 0d 0d | 0d 2f 2f 20 6f 62 6a 65 |fCon);..|.// obje|
|00000480| 63 74 20 6d 6f 64 65 6c | 20 41 70 70 6c 65 20 45 |ct model| Apple E|
|00000490| 76 65 6e 74 73 0d 09 0d | 73 74 61 74 69 63 09 70 |vents...|static.p|
|000004a0| 61 73 63 61 6c 20 4f 53 | 45 72 72 20 53 74 64 41 |ascal OS|Err StdA|
|000004b0| 45 76 74 50 72 65 48 61 | 6e 64 6c 65 72 20 28 41 |EvtPreHa|ndler (A|
|000004c0| 70 70 6c 65 45 76 65 6e | 74 20 2a 74 68 65 45 76 |ppleEven|t *theEv|
|000004d0| 65 6e 74 2c 20 0d 09 09 | 09 09 09 09 09 09 09 09 |ent, ...|........|
|000004e0| 41 70 70 6c 65 45 76 65 | 6e 74 20 2a 74 68 65 52 |AppleEve|nt *theR|
|000004f0| 65 70 6c 79 2c 20 0d 09 | 09 09 09 09 09 09 09 09 |eply, ..|........|
|00000500| 09 6c 6f 6e 67 20 74 68 | 65 52 65 66 43 6f 6e 29 |.long th|eRefCon)|
|00000510| 3b 0d 09 0d 73 74 61 74 | 69 63 09 70 61 73 63 61 |;...stat|ic.pasca|
|00000520| 6c 20 4f 53 45 72 72 20 | 52 71 64 41 45 76 74 48 |l OSErr |RqdAEvtH|
|00000530| 61 6e 64 6c 65 72 09 20 | 20 20 28 41 70 70 6c 65 |andler. | (Apple|
|00000540| 45 76 65 6e 74 20 2a 74 | 68 65 45 76 65 6e 74 2c |Event *t|heEvent,|
|00000550| 20 0d 09 09 09 09 09 09 | 09 09 09 09 41 70 70 6c | .......|....Appl|
|00000560| 65 45 76 65 6e 74 20 2a | 74 68 65 52 65 70 6c 79 |eEvent *|theReply|
|00000570| 2c 20 0d 09 09 09 09 09 | 09 09 09 09 09 6c 6f 6e |, ......|.....lon|
|00000580| 67 20 74 68 65 52 65 66 | 43 6f 6e 29 3b 0d 0d 73 |g theRef|Con);..s|
|00000590| 74 61 74 69 63 09 70 61 | 73 63 61 6c 20 4f 53 45 |tatic.pa|scal OSE|
|000005a0| 72 72 20 53 74 64 41 45 | 76 74 48 61 6e 64 6c 65 |rr StdAE|vtHandle|
|000005b0| 72 09 20 20 20 28 41 70 | 70 6c 65 45 76 65 6e 74 |r. (Ap|pleEvent|
|000005c0| 20 2a 74 68 65 45 76 65 | 6e 74 2c 20 0d 09 09 09 | *theEve|nt, ....|
|000005d0| 09 09 09 09 09 09 09 41 | 70 70 6c 65 45 76 65 6e |.......A|ppleEven|
|000005e0| 74 20 2a 74 68 65 52 65 | 70 6c 79 2c 20 0d 09 09 |t *theRe|ply, ...|
|000005f0| 09 09 09 09 09 09 09 09 | 6c 6f 6e 67 20 74 68 65 |........|long the|
|00000600| 52 65 66 43 6f 6e 29 3b | 0d 0d 73 74 61 74 69 63 |RefCon);|..static|
|00000610| 20 20 70 61 73 63 61 6c | 20 42 6f 6f 6c 65 61 6e | pascal| Boolean|
|00000620| 20 53 74 64 49 64 6c 65 | 46 75 6e 63 74 69 6f 6e | StdIdle|Function|
|00000630| 20 28 45 76 65 6e 74 52 | 65 63 6f 72 64 20 2a 74 | (EventR|ecord *t|
|00000640| 68 65 45 76 65 6e 74 52 | 65 63 6f 72 64 2c 0d 09 |heEventR|ecord,..|
|00000650| 09 09 09 09 09 09 09 09 | 09 6c 6f 6e 67 20 2a 73 |........|.long *s|
|00000660| 6c 65 65 70 54 69 6d 65 | 2c 0d 09 09 09 09 09 09 |leepTime|,.......|
|00000670| 09 09 09 09 52 67 6e 48 | 61 6e 64 6c 65 20 2a 6d |....RgnH|andle *m|
|00000680| 6f 75 73 65 52 67 6e 29 | 3b 0d 0d 0d 2f 2f 20 2d |ouseRgn)|;...// -|
|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 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000006c0| 2d 2d 2d 2d 2d 2d 0d 0d | 23 65 6e 64 69 66 0d 00 |------..|#endif..|
|000006d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000700| 00 00 01 00 00 00 01 6e | 00 00 00 6e 00 00 00 3e |.......n|...n...>|
|00000710| 00 00 10 20 0c 43 54 4c | 4b 63 61 6c 6c 2e 70 2e |... .CTL|Kcall.p.|
|00000720| 6f 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |o.......|........|
|00000730| 10 4f 62 6a 4d 6f 64 65 | 6c 45 76 65 6e 74 73 2e |.ObjMode|lEvents.|
|00000740| 68 6a 02 00 00 00 54 45 | 58 54 4d 50 53 20 01 00 |hj....TE|XTMPS ..|
|00000750| 00 00 54 45 58 54 4d 50 | 53 20 01 00 ff ff ff ff |..TEXTMP|S ......|
|00000760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000770| 00 00 a8 38 b9 5c 00 00 | 06 4f 00 00 01 ac 00 00 |...8.\..|.O......|
|00000780| 00 00 00 00 00 00 00 00 | 00 00 05 52 25 00 00 00 |........|...R%...|
|00000790| 10 20 0f 4d 69 73 63 41 | 45 75 74 69 6c 73 2e 63 |. .MiscA|Eutils.c|
|000007a0| 2e 6f 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.o......|........|
|000007b0| 00 00 00 00 05 53 25 00 | 00 00 10 20 16 55 44 6f |.....S%.|... .UDo|
|000007c0| 63 75 6d 65 6e 74 43 54 | 53 65 72 76 65 72 2e 63 |cumentCT|Server.c|
|000007d0| 70 2e 6f 00 00 00 00 00 | 00 00 00 00 00 00 05 65 |p.o.....|.......e|
|000007e0| 25 00 00 00 10 5e 0a 43 | 54 41 45 64 65 66 73 2e |%....^.C|TAEdefs.|
|000007f0| 72 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |r.......|........|
|00000800| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 65 72 73 |...H..Mo|naco.ers|
|00000810| 20 69 6e 74 65 72 66 61 | 63 65 0d 0d 09 43 6f 70 | interfa|ce...Cop|
|00000820| 79 72 69 67 68 74 00 06 | 00 04 00 2a 00 76 01 f1 |yright..|...*.v..|
|00000830| 02 72 00 78 00 18 01 dd | 02 3d a9 d4 15 f9 00 00 |.r.x....|.=......|
|00000840| 05 23 00 00 05 31 00 00 | 02 81 01 00 00 00 00 1e |.#...1..|........|
|00000850| 00 2a 00 76 01 f1 02 72 | 00 78 00 18 01 dd 02 3d |.*.v...r|.x.....=|
|00000860| 00 00 02 81 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000870| 01 00 00 00 01 6e 00 00 | 00 6e 00 00 00 3e 00 df |.....n..|.n...>..|
|00000880| 59 78 22 28 00 00 00 1c | 00 3e 00 00 4d 50 53 52 |Yx"(....|.>..MPSR|
|00000890| 00 01 00 0a 03 ed ff ff | 00 00 00 00 00 00 00 00 |........|........|
|000008a0| 03 f0 ff ff 00 00 00 4c | 00 e1 b2 64 00 00 00 00 |.......L|...d....|
|000008b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+