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 / AMReminder / AMReminderData.h < prev    next >
MacBinary  |  1997-06-10  |  2.0 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
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, Tue Jun 10 12:23:34 1997, modified Tue Jun 10 12:23:34 1997, creator 'CWIE', type ASCII, 1504 bytes "AMReminderData.h" , at 0x660 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 10 41 4d 52 65 6d 69 | 6e 64 65 72 44 61 74 61 |..AMRemi|nderData|
|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 43 57 49 | 45 00 00 00 00 00 00 00 |.TEXTCWI|E.......|
|00000050| 00 00 00 00 00 05 e0 00 | 00 01 1e af c3 30 06 af |........|.....0..|
|00000060| c3 30 06 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 54 16 00 00 |........|....T...|
|00000080| 2f 2a 20 41 4d 52 65 6d | 69 6e 64 65 72 44 61 74 |/* AMRem|inderDat|
|00000090| 61 2e 68 20 2d 2d 20 61 | 70 70 6c 69 63 61 74 69 |a.h -- a|pplicati|
|000000a0| 6f 6e 2d 73 70 65 63 69 | 66 69 63 20 64 61 74 61 |on-speci|fic data|
|000000b0| 20 6d 61 6e 61 67 65 6d | 65 6e 74 20 2a 2f 0d 2f | managem|ent */./|
|000000c0| 2a 20 43 72 65 61 74 65 | 64 20 36 2f 31 30 2f 39 |* Create|d 6/10/9|
|000000d0| 37 20 31 32 3a 32 33 20 | 50 4d 20 62 79 20 41 70 |7 12:23 |PM by Ap|
|000000e0| 70 4d 61 6b 65 72 20 2a | 2f 0d 0d 2f 2a 20 44 65 |pMaker *|/../* De|
|000000f0| 66 69 6e 65 20 74 68 65 | 20 63 72 65 61 74 6f 72 |fine the| creator|
|00000100| 20 74 79 70 65 20 61 6e | 64 20 66 69 6c 65 20 74 | type an|d file t|
|00000110| 79 70 65 20 66 6f 72 20 | 79 6f 75 72 20 61 70 70 |ype for |your app|
|00000120| 6c 69 63 61 74 69 6f 6e | 2e 20 2a 2f 0d 0d 23 64 |lication|. */..#d|
|00000130| 65 66 69 6e 65 20 6b 53 | 69 67 6e 61 74 75 72 65 |efine kS|ignature|
|00000140| 09 09 27 58 58 58 58 27 | 0d 23 64 65 66 69 6e 65 |..'XXXX'|.#define|
|00000150| 20 6b 46 69 6c 65 54 79 | 70 65 09 09 27 54 45 58 | kFileTy|pe..'TEX|
|00000160| 54 27 0d 0d 2f 2a 20 44 | 65 66 69 6e 65 20 61 6e |T'../* D|efine an|
|00000170| 79 20 61 70 70 72 6f 70 | 72 69 61 74 65 20 64 61 |y approp|riate da|
|00000180| 74 61 20 73 74 72 75 63 | 74 75 72 65 73 20 66 6f |ta struc|tures fo|
|00000190| 72 20 79 6f 75 72 20 61 | 70 70 6c 69 63 61 74 69 |r your a|pplicati|
|000001a0| 6f 6e 2e 20 2a 2f 0d 2f | 2a 20 41 64 64 20 61 6e |on. */./|* Add an|
|000001b0| 79 20 6e 65 65 64 65 64 | 20 66 69 65 6c 64 73 20 |y needed| fields |
|000001c0| 74 6f 20 47 6c 6f 62 61 | 6c 27 73 20 57 69 6e 49 |to Globa|l's WinI|
|000001d0| 6e 66 6f 52 65 63 20 73 | 6f 20 74 68 61 74 20 65 |nfoRec s|o that e|
|000001e0| 61 63 68 20 77 69 6e 64 | 6f 77 20 2a 2f 0d 2f 2a |ach wind|ow */./*|
|000001f0| 20 63 61 6e 20 68 61 76 | 65 20 69 74 73 20 6f 77 | can hav|e its ow|
|00000200| 6e 20 73 65 74 20 6f 66 | 20 64 61 74 61 2e 20 59 |n set of| data. Y|
|00000210| 6f 75 72 20 66 75 6e 63 | 74 69 6f 6e 73 20 77 69 |our func|tions wi|
|00000220| 6c 6c 20 75 73 65 20 22 | 63 75 72 2d 3e 22 20 2a |ll use "|cur->" *|
|00000230| 2f 0d 2f 2a 20 74 6f 20 | 61 63 63 65 73 73 20 74 |/./* to |access t|
|00000240| 68 65 20 64 61 74 61 2e | 20 48 65 72 65 2c 20 69 |he data.| Here, i|
|00000250| 6e 20 74 68 65 20 69 6e | 74 65 72 66 61 63 65 20 |n the in|terface |
|00000260| 73 65 63 74 69 6f 6e 2c | 20 79 6f 75 20 73 68 6f |section,| you sho|
|00000270| 75 6c 64 20 2a 2f 0d 2f | 2a 20 64 65 66 69 6e 65 |uld */./|* define|
|00000280| 20 6f 6e 6c 79 20 74 68 | 6f 73 65 20 74 79 70 65 | only th|ose type|
|00000290| 73 20 77 68 69 63 68 20 | 61 72 65 20 69 6e 74 65 |s which |are inte|
|000002a0| 6e 64 65 64 20 74 6f 20 | 62 65 20 76 69 73 69 62 |nded to |be visib|
|000002b0| 6c 65 20 74 6f 20 2a 2f | 0d 2f 2a 20 6d 6f 64 75 |le to */|./* modu|
|000002c0| 6c 65 73 20 6f 75 74 73 | 69 64 65 20 74 68 69 73 |les outs|ide this|
|000002d0| 20 6f 6e 65 2e 20 4c 61 | 74 65 72 2c 20 69 6e 20 | one. La|ter, in |
|000002e0| 74 68 65 20 69 6d 70 6c | 65 6d 65 6e 74 61 74 69 |the impl|ementati|
|000002f0| 6f 6e 20 73 65 63 74 69 | 6f 6e 2c 20 2a 2f 0d 2f |on secti|on, */./|
|00000300| 2a 20 79 6f 75 20 63 61 | 6e 20 64 65 66 69 6e 65 |* you ca|n define|
|00000310| 20 61 64 64 69 74 69 6f | 6e 61 6c 20 22 70 72 69 | additio|nal "pri|
|00000320| 76 61 74 65 22 20 64 61 | 74 61 20 73 74 72 75 63 |vate" da|ta struc|
|00000330| 74 75 72 65 73 2e 20 2a | 2f 0d 0d 74 79 70 65 64 |tures. *|/..typed|
|00000340| 65 66 20 73 74 72 75 63 | 74 20 7b 0d 09 09 73 68 |ef struc|t {...sh|
|00000350| 6f 72 74 09 09 64 61 74 | 61 3b 0d 09 7d 20 59 6f |ort..dat|a;..} Yo|
|00000360| 75 72 53 74 75 66 66 3b | 0d 0d 2f 2a 2d 2d 2d 2d |urStuff;|../*----|
|00000370| 2d 2d 2d 2d 2d 2d 2a 2f | 0d 2f 2a 20 4f 70 65 6e |------*/|./* Open|
|00000380| 2c 20 43 6c 6f 73 65 2c | 20 52 65 61 64 2c 20 57 |, Close,| Read, W|
|00000390| 72 69 74 65 2c 20 49 6e | 69 74 2c 20 61 6e 64 20 |rite, In|it, and |
|000003a0| 44 69 73 70 6f 73 65 20 | 61 72 65 20 63 61 6c 6c |Dispose |are call|
|000003b0| 65 64 20 62 79 20 74 68 | 65 20 2a 2f 0d 2f 2a 20 |ed by th|e */./* |
|000003c0| 41 70 70 4d 61 6b 65 72 | 2d 67 65 6e 65 72 61 74 |AppMaker|-generat|
|000003d0| 65 64 20 46 69 6c 65 4d | 20 6d 6f 64 75 6c 65 20 |ed FileM| module |
|000003e0| 74 6f 20 64 6f 20 61 70 | 70 6c 69 63 61 74 69 6f |to do ap|plicatio|
|000003f0| 6e 2d 73 70 65 63 69 66 | 69 63 20 66 69 6c 65 20 |n-specif|ic file |
|00000400| 61 63 63 65 73 73 69 6e | 67 2e 20 2a 2f 0d 0d 42 |accessin|g. */..B|
|00000410| 6f 6f 6c 65 61 6e 09 4f | 70 65 6e 41 70 70 46 69 |oolean.O|penAppFi|
|00000420| 6c 65 09 09 28 46 53 53 | 70 65 63 2a 09 66 69 6c |le..(FSS|pec*.fil|
|00000430| 65 53 70 65 63 2c 0d 09 | 09 09 09 09 09 20 73 68 |eSpec,..|..... sh|
|00000440| 6f 72 74 09 09 2a 66 52 | 65 66 4e 75 6d 29 3b 0d |ort..*fR|efNum);.|
|00000450| 76 6f 69 64 09 43 6c 6f | 73 65 41 70 70 46 69 6c |void.Clo|seAppFil|
|00000460| 65 09 28 73 68 6f 72 74 | 09 09 66 52 65 66 4e 75 |e.(short|..fRefNu|
|00000470| 6d 29 3b 0d 76 6f 69 64 | 09 52 65 61 64 41 70 70 |m);.void|.ReadApp|
|00000480| 46 69 6c 65 09 09 28 73 | 68 6f 72 74 09 09 66 52 |File..(s|hort..fR|
|00000490| 65 66 4e 75 6d 29 3b 0d | 76 6f 69 64 09 57 72 69 |efNum);.|void.Wri|
|000004a0| 74 65 41 70 70 46 69 6c | 65 09 28 73 68 6f 72 74 |teAppFil|e.(short|
|000004b0| 09 09 66 52 65 66 4e 75 | 6d 29 3b 0d 76 6f 69 64 |..fRefNu|m);.void|
|000004c0| 09 49 6e 69 74 41 70 70 | 44 61 74 61 09 09 28 76 |.InitApp|Data..(v|
|000004d0| 6f 69 64 29 3b 0d 76 6f | 69 64 09 44 69 73 70 6f |oid);.vo|id.Dispo|
|000004e0| 73 65 41 70 70 44 61 74 | 61 09 28 76 6f 69 64 29 |seAppDat|a.(void)|
|000004f0| 3b 0d 0d 2f 2a 20 54 68 | 65 73 65 20 66 75 6e 63 |;../* Th|ese func|
|00000500| 74 69 6f 6e 73 20 61 72 | 65 20 66 6f 72 20 61 63 |tions ar|e for ac|
|00000510| 63 65 73 73 69 6e 67 20 | 79 6f 75 72 20 64 61 74 |cessing |your dat|
|00000520| 61 20 61 73 20 6c 6f 67 | 69 63 61 6c 20 63 68 75 |a as log|ical chu|
|00000530| 6e 6b 73 2e 20 2a 2f 0d | 2f 2a 20 54 68 65 79 20 |nks. */.|/* They |
|00000540| 61 72 65 20 6a 75 73 74 | 20 6d 6f 64 65 6c 73 20 |are just| models |
|00000550| 66 6f 72 20 79 6f 75 72 | 20 6f 77 6e 20 61 63 63 |for your| own acc|
|00000560| 65 73 73 6f 72 20 66 75 | 6e 63 74 69 6f 6e 73 3b |essor fu|nctions;|
|00000570| 20 2a 2f 0d 2f 2a 20 74 | 68 65 79 20 61 72 65 6e | */./* t|hey aren|
|00000580| 27 74 20 63 61 6c 6c 65 | 64 20 62 79 20 61 6e 79 |'t calle|d by any|
|00000590| 20 41 70 70 4d 61 6b 65 | 72 2d 67 65 6e 65 72 61 | AppMake|r-genera|
|000005a0| 74 65 64 20 63 6f 64 65 | 2e 20 2a 2f 0d 2f 2a 20 |ted code|. */./* |
|000005b0| 52 65 70 6c 61 63 65 20 | 74 68 65 6d 20 77 69 74 |Replace |them wit|
|000005c0| 68 20 77 68 61 74 65 76 | 65 72 20 69 73 20 73 75 |h whatev|er is su|
|000005d0| 69 74 61 62 6c 65 20 66 | 6f 72 20 79 6f 75 72 20 |itable f|or your |
|000005e0| 61 70 70 6c 69 63 61 74 | 69 6f 6e 2e 20 2a 2f 0d |applicat|ion. */.|
|000005f0| 0d 76 6f 69 64 09 41 64 | 64 53 74 75 66 66 09 09 |.void.Ad|dStuff..|
|00000600| 28 59 6f 75 72 53 74 75 | 66 66 09 09 2a 73 74 75 |(YourStu|ff..*stu|
|00000610| 66 66 29 3b 0d 76 6f 69 | 64 09 44 65 6c 65 74 65 |ff);.voi|d.Delete|
|00000620| 53 74 75 66 66 09 09 28 | 76 6f 69 64 29 3b 0d 42 |Stuff..(|void);.B|
|00000630| 6f 6f 6c 65 61 6e 09 47 | 65 74 53 74 75 66 66 09 |oolean.G|etStuff.|
|00000640| 09 28 76 6f 69 64 29 3b | 0d 76 6f 69 64 09 50 75 |.(void);|.void.Pu|
|00000650| 74 53 74 75 66 66 09 09 | 28 76 6f 69 64 29 3b 0d |tStuff..|(void);.|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000680| 00 00 01 00 00 00 01 00 | 00 00 00 00 00 00 00 1e |........|........|
|00000690| 20 43 72 65 61 74 65 64 | 20 36 2f 31 30 2f 39 37 | Created| 6/10/97|
|000006a0| 20 31 32 3a 32 33 20 50 | 4d 20 62 79 20 41 70 70 | 12:23 P|M by App|
|000006b0| 10 41 4d 52 65 6d 69 6e | 64 65 72 44 61 74 61 2e |.AMRemin|derData.|
|000006c0| 68 44 02 00 00 00 54 45 | 58 54 43 57 49 45 00 00 |hD....TE|XTCWIE..|
|000006d0| 00 00 54 45 58 54 43 57 | 49 45 00 00 c7 b3 c0 f6 |..TEXTCW|IE......|
|000006e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006f0| 00 00 af c2 f7 c6 00 00 | 05 e0 00 00 01 1e 6f 62 |........|......ob|
|00000700| 61 6c 73 2e 68 22 0d 0d | 2f 2a 2d 2d 2d 2d 2d 2d |als.h"..|/*------|
|00000710| 2d 2d 2d 2d 2a 2f 0d 76 | 6f 69 64 09 44 6f 49 64 |----*/.v|oid.DoId|
|00000720| 6c 65 09 28 76 6f 69 64 | 29 3b 0d 0d 76 6f 69 64 |le.(void|);..void|
|00000730| 09 4f 70 65 6e 57 69 6e | 64 6f 77 73 09 09 09 28 |.OpenWin|dows...(|
|00000740| 46 53 53 70 65 63 2a 09 | 09 66 69 6c 65 53 70 65 |FSSpec*.|.fileSpe|
|00000750| 63 2c 0d 09 09 09 09 09 | 09 09 20 73 68 6f 72 74 |c,......|.. short|
|00000760| 09 09 09 66 52 65 66 4e | 75 6d 29 3b 0d 76 6f 69 |...fRefN|um);.voi|
|00000770| 64 09 43 6c 6f 73 65 43 | 75 72 57 69 6e 64 6f 77 |d.CloseC|urWindow|
|00000780| 00 00 01 00 00 00 01 00 | 00 00 00 00 00 00 00 1e |........|........|
|00000790| 00 00 00 00 00 00 00 00 | 00 1c 00 1e ff ff 00 00 |........|........|
|000007a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+