home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Demos / Bowers Development / AppMaker 2.1.sit / AppMaker 2.1 / Examples / Procedural / Gadgets / GadgetsMain.c < prev    next >
MacBinary  |  1997-06-10  |  1.1 KB  |  [TEXT/CWIE]

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, Tue Jun 10 12:24:59 1997, modified Tue Jun 10 12:24:59 1997, creator 'CWIE', type ASCII, 572 bytes "GadgetsMain.c" , at 0x2bc 286 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[CWIE]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0d 47 61 64 67 65 74 | 73 4d 61 69 6e 2e 63 00 |..Gadget|sMain.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 43 57 49 | 45 00 00 00 00 00 00 00 |.TEXTCWI|E.......|
|00000050| 00 00 00 00 00 02 3c 00 | 00 01 1e af c3 30 5b af |......<.|.....0[.|
|00000060| c3 30 5b 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.0[.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 0f b0 00 00 |........|........|
|00000080| 2f 2a 20 47 61 64 67 65 | 74 73 4d 61 69 6e 2e 63 |/* Gadge|tsMain.c|
|00000090| 20 2d 2d 20 4d 61 69 6e | 20 2a 2f 0d 2f 2a 20 43 | -- Main| */./* C|
|000000a0| 72 65 61 74 65 64 20 36 | 2f 31 30 2f 39 37 20 31 |reated 6|/10/97 1|
|000000b0| 32 3a 32 34 20 50 4d 20 | 62 79 20 41 70 70 4d 61 |2:24 PM |by AppMa|
|000000c0| 6b 65 72 20 2a 2f 0d 0d | 23 69 6e 63 6c 75 64 65 |ker */..|#include|
|000000d0| 20 3c 54 79 70 65 73 2e | 68 3e 0d 23 69 6e 63 6c | <Types.|h>.#incl|
|000000e0| 75 64 65 20 3c 51 75 69 | 63 6b 64 72 61 77 2e 68 |ude <Qui|ckdraw.h|
|000000f0| 3e 0d 23 69 6e 63 6c 75 | 64 65 20 3c 43 6f 6e 74 |>.#inclu|de <Cont|
|00000100| 72 6f 6c 73 2e 68 3e 0d | 23 69 6e 63 6c 75 64 65 |rols.h>.|#include|
|00000110| 20 3c 44 69 61 6c 6f 67 | 73 2e 68 3e 0d 23 69 6e | <Dialog|s.h>.#in|
|00000120| 63 6c 75 64 65 20 3c 45 | 76 65 6e 74 73 2e 68 3e |clude <E|vents.h>|
|00000130| 0d 23 69 6e 63 6c 75 64 | 65 20 3c 4c 69 73 74 73 |.#includ|e <Lists|
|00000140| 2e 68 3e 0d 23 69 6e 63 | 6c 75 64 65 20 3c 4d 65 |.h>.#inc|lude <Me|
|00000150| 6e 75 73 2e 68 3e 0d 23 | 69 6e 63 6c 75 64 65 20 |nus.h>.#|include |
|00000160| 3c 54 65 78 74 45 64 69 | 74 2e 68 3e 0d 0d 23 69 |<TextEdi|t.h>..#i|
|00000170| 6e 63 6c 75 64 65 20 22 | 47 6c 6f 62 61 6c 73 2e |nclude "|Globals.|
|00000180| 68 22 0d 23 69 6e 63 6c | 75 64 65 20 22 52 65 73 |h".#incl|ude "Res|
|00000190| 6f 75 72 63 65 44 65 66 | 73 2e 68 22 0d 23 69 6e |ourceDef|s.h".#in|
|000001a0| 63 6c 75 64 65 20 22 45 | 76 65 6e 74 4c 6f 6f 70 |clude "E|ventLoop|
|000001b0| 2e 68 22 0d 23 69 6e 63 | 6c 75 64 65 20 22 46 69 |.h".#inc|lude "Fi|
|000001c0| 6c 65 4d 2e 68 22 0d 0d | 2f 2a 2d 2d 2d 2d 2d 2d |leM.h"..|/*------|
|000001d0| 2d 2d 2d 2d 2a 2f 0d 73 | 68 6f 72 74 09 6d 61 69 |----*/.s|hort.mai|
|000001e0| 6e 09 28 76 6f 69 64 29 | 3b 0d 0d 2f 2a 2d 2d 2d |n.(void)|;../*---|
|000001f0| 2d 2d 2d 2d 2d 2d 2d 2a | 2f 0d 73 68 6f 72 74 09 |-------*|/.short.|
|00000200| 6d 61 69 6e 20 28 29 0d | 7b 0d 09 49 6e 69 74 69 |main ().|{..Initi|
|00000210| 61 6c 69 7a 65 20 28 29 | 3b 0d 09 69 66 20 28 73 |alize ()|;..if (s|
|00000220| 79 73 43 6f 6e 66 69 67 | 2e 68 61 73 41 70 70 6c |ysConfig|.hasAppl|
|00000230| 65 45 76 65 6e 74 73 29 | 20 7b 0d 09 09 2f 2a 20 |eEvents)| {.../* |
|00000240| 77 61 69 74 20 66 6f 72 | 20 4f 41 70 70 2c 20 4f |wait for| OApp, O|
|00000250| 44 6f 63 2c 20 6f 72 20 | 50 44 6f 63 20 41 70 70 |Doc, or |PDoc App|
|00000260| 6c 65 45 76 65 6e 74 20 | 2a 2f 0d 09 7d 20 65 6c |leEvent |*/..} el|
|00000270| 73 65 20 7b 0d 09 09 4f | 70 65 6e 41 70 70 20 28 |se {...O|penApp (|
|00000280| 29 3b 0d 09 7d 0d 09 4d | 61 69 6e 4c 6f 6f 70 20 |);..}..M|ainLoop |
|00000290| 28 29 3b 0d 0d 09 72 65 | 74 75 72 6e 20 28 30 29 |();...re|turn (0)|
|000002a0| 3b 0d 7d 20 2f 2a 6d 61 | 69 6e 2a 2f 0d 0d 2f 2a |;.} /*ma|in*/../*|
|000002b0| 20 47 61 64 67 65 74 73 | 20 2a 2f 0d 00 00 00 00 | Gadgets| */.....|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 01 00 00 00 01 00 | 00 00 00 00 00 00 00 1e |........|........|
|00000310| 88 00 00 00 e6 00 00 77 | 77 00 00 00 e7 00 00 55 |.......w|w......U|
|00000320| 55 00 00 00 e8 00 00 44 | 44 00 00 00 e9 00 00 22 |U......D|D......"|
|00000330| 0d 47 61 64 67 65 74 73 | 4d 61 69 6e 2e 63 02 00 |.Gadgets|Main.c..|
|00000340| 00 00 54 45 58 54 43 57 | 49 45 00 00 c8 1b c0 36 |..TEXTCW|IE.....6|
|00000350| 00 00 54 45 58 54 43 57 | 49 45 00 00 c8 1b c0 36 |..TEXTCW|IE.....6|
|00000360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000370| 00 00 af c2 f8 1b 00 00 | 02 3c 00 00 01 1e 00 00 |........|.<......|
|00000380| 00 00 22 22 00 f4 00 00 | 00 00 11 11 00 f5 ee ee |..""....|........|
|00000390| ee ee ee ee 00 f6 dd dd | dd dd dd dd 00 f7 bb bb |........|........|
|000003a0| bb bb bb bb 00 f8 aa aa | aa aa aa aa 00 f9 88 88 |........|........|
|000003b0| 88 88 88 88 00 fa 77 77 | 77 77 77 77 00 fb 55 55 |......ww|wwww..UU|
|000003c0| 55 55 55 55 00 fc 44 44 | 44 44 44 44 00 fd 22 22 |UUUU..DD|DDDD..""|
|000003d0| 22 22 64 22 22 00 fe 11 | 11 11 11 11 11 00 ff 00 |""d""...|........|
|000003e0| 00 00 00 00 00 00 03 00 | 00 00 1e 00 20 00 03 00 |........|.... ...|
|000003f0| 00 00 1e 00 20 00 01 06 | 00 00 e3 ff fe 00 0a 01 |.... ...|........|
|00000400| 00 00 01 00 00 00 01 00 | 00 00 00 00 00 00 00 1e |........|........|
|00000410| 00 00 00 00 00 00 00 00 | 00 1c 00 1e ff ff 00 00 |........|........|
|00000420| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000430| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000440| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000450| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000460| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000470| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+