home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Demos / Bowers Development / AppMaker 2.1.sit / AppMaker 2.1 / Examples / PowerPlant / NeoAccess / CReminderEntry.h < prev   
MacBinary  |  1996-10-26  |  2.5 KB  |  [TEXT/CWIE]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

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

You can browse this item here: CReminderEntry.h

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, Sat Oct 26 16:26:42 1996, modified Sat Oct 26 16:26:42 1996, creator 'CWIE', type ASCII, 2039 bytes "CReminderEntry.h" , at 0x877 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 43 52 65 6d 69 6e | 64 65 72 45 6e 74 72 79 |..CRemin|derEntry|
|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 07 f7 00 | 00 01 1e ae 98 24 82 ae |........|.....$..|
|00000060| 98 24 82 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 cb 6c 00 00 |........|.....l..|
|00000080| 2f 2f 20 43 52 65 6d 69 | 6e 64 65 72 45 6e 74 72 |// CRemi|nderEntr|
|00000090| 79 20 2d 2d 20 64 61 74 | 61 20 63 6f 6e 74 61 69 |y -- dat|a contai|
|000000a0| 6e 65 72 20 63 6c 61 73 | 73 20 66 6f 72 20 41 4d |ner clas|s for AM|
|000000b0| 52 65 6d 69 6e 64 65 72 | 0d 2f 2f 20 43 72 65 61 |Reminder|.// Crea|
|000000c0| 74 65 64 20 31 30 2f 32 | 36 2f 39 36 20 34 3a 32 |ted 10/2|6/96 4:2|
|000000d0| 36 20 50 4d 20 62 79 20 | 41 70 70 4d 61 6b 65 72 |6 PM by |AppMaker|
|000000e0| 0d 0d 23 70 72 61 67 6d | 61 20 6f 6e 63 65 0d 0d |..#pragm|a once..|
|000000f0| 23 69 6e 63 6c 75 64 65 | 20 3c 50 50 5f 50 72 65 |#include| <PP_Pre|
|00000100| 66 69 78 2e 68 3e 0d 0d | 23 69 6e 63 6c 75 64 65 |fix.h>..|#include|
|00000110| 20 22 4e 65 6f 54 79 70 | 65 73 2e 68 22 0d 23 69 | "NeoTyp|es.h".#i|
|00000120| 6e 63 6c 75 64 65 20 43 | 4e 65 6f 50 65 72 73 69 |nclude C|NeoPersi|
|00000130| 73 74 48 0d 0d 63 6c 61 | 73 73 20 43 4e 65 6f 44 |stH..cla|ss CNeoD|
|00000140| 61 74 61 62 61 73 65 3b | 0d 63 6c 61 73 73 20 43 |atabase;|.class C|
|00000150| 4e 65 6f 4d 65 74 61 43 | 6c 61 73 73 3b 0d 0d 63 |NeoMetaC|lass;..c|
|00000160| 6f 6e 73 74 20 4e 65 6f | 49 44 09 09 6b 52 65 6d |onst Neo|ID..kRem|
|00000170| 69 6e 64 65 72 45 6e 74 | 72 79 49 44 20 3d 20 32 |inderEnt|ryID = 2|
|00000180| 31 3b 0d 0d 2f 2f 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |1;..//--|--------|
|00000190| 0d 63 6c 61 73 73 20 43 | 52 65 6d 69 6e 64 65 72 |.class C|Reminder|
|000001a0| 45 6e 74 72 79 20 3a 20 | 70 75 62 6c 69 63 20 43 |Entry : |public C|
|000001b0| 4e 65 6f 50 65 72 73 69 | 73 74 20 7b 0d 70 75 62 |NeoPersi|st {.pub|
|000001c0| 6c 69 63 3a 0d 09 09 09 | 09 43 52 65 6d 69 6e 64 |lic:....|.CRemind|
|000001d0| 65 72 45 6e 74 72 79 20 | 28 29 3b 0d 09 09 09 09 |erEntry |();.....|
|000001e0| 43 52 65 6d 69 6e 64 65 | 72 45 6e 74 72 79 09 28 |CReminde|rEntry.(|
|000001f0| 43 4e 65 6f 44 61 74 61 | 62 61 73 65 09 2a 69 6e |CNeoData|base.*in|
|00000200| 46 69 6c 65 29 3b 0d 09 | 76 69 72 74 75 61 6c 09 |File);..|virtual.|
|00000210| 09 7e 43 52 65 6d 69 6e | 64 65 72 45 6e 74 72 79 |.~CRemin|derEntry|
|00000220| 20 28 29 3b 0d 0d 2f 2f | 20 61 63 63 65 73 73 6f | ();..//| accesso|
|00000230| 72 73 0d 09 76 6f 69 64 | 09 09 47 65 74 44 61 74 |rs..void|..GetDat|
|00000240| 65 46 69 65 6c 64 09 28 | 53 74 72 69 6e 67 50 74 |eField.(|StringPt|
|00000250| 72 09 74 65 78 74 29 20 | 63 6f 6e 73 74 3b 0d 09 |r.text) |const;..|
|00000260| 76 6f 69 64 09 09 53 65 | 74 44 61 74 65 46 69 65 |void..Se|tDateFie|
|00000270| 6c 64 09 28 43 6f 6e 73 | 74 53 74 72 32 35 35 50 |ld.(Cons|tStr255P|
|00000280| 61 72 61 6d 09 74 65 78 | 74 29 3b 0d 09 76 6f 69 |aram.tex|t);..voi|
|00000290| 64 09 09 47 65 74 54 69 | 6d 65 46 69 65 6c 64 09 |d..GetTi|meField.|
|000002a0| 28 53 74 72 69 6e 67 50 | 74 72 09 74 65 78 74 29 |(StringP|tr.text)|
|000002b0| 20 63 6f 6e 73 74 3b 0d | 09 76 6f 69 64 09 09 53 | const;.|.void..S|
|000002c0| 65 74 54 69 6d 65 46 69 | 65 6c 64 09 28 43 6f 6e |etTimeFi|eld.(Con|
|000002d0| 73 74 53 74 72 32 35 35 | 50 61 72 61 6d 09 74 65 |stStr255|Param.te|
|000002e0| 78 74 29 3b 0d 09 76 6f | 69 64 09 09 47 65 74 4d |xt);..vo|id..GetM|
|000002f0| 65 73 73 61 67 65 46 69 | 65 6c 64 09 28 53 74 72 |essageFi|eld.(Str|
|00000300| 69 6e 67 50 74 72 09 74 | 65 78 74 29 20 63 6f 6e |ingPtr.t|ext) con|
|00000310| 73 74 3b 0d 09 76 6f 69 | 64 09 09 53 65 74 4d 65 |st;..voi|d..SetMe|
|00000320| 73 73 61 67 65 46 69 65 | 6c 64 09 28 43 6f 6e 73 |ssageFie|ld.(Cons|
|00000330| 74 53 74 72 32 35 35 50 | 61 72 61 6d 09 74 65 78 |tStr255P|aram.tex|
|00000340| 74 29 3b 0d 09 6c 6f 6e | 67 09 09 47 65 74 41 6d |t);..lon|g..GetAm|
|00000350| 50 6d 43 68 6f 69 63 65 | 09 28 29 20 63 6f 6e 73 |PmChoice|.() cons|
|00000360| 74 20 7b 72 65 74 75 72 | 6e 20 6d 41 6d 50 6d 43 |t {retur|n mAmPmC|
|00000370| 68 6f 69 63 65 3b 7d 0d | 09 76 6f 69 64 09 09 53 |hoice;}.|.void..S|
|00000380| 65 74 41 6d 50 6d 43 68 | 6f 69 63 65 09 28 6c 6f |etAmPmCh|oice.(lo|
|00000390| 6e 67 09 09 73 74 61 74 | 65 29 3b 0d 09 42 6f 6f |ng..stat|e);..Boo|
|000003a0| 6c 65 61 6e 09 09 47 65 | 74 53 68 6f 77 41 6c 65 |lean..Ge|tShowAle|
|000003b0| 72 74 43 68 65 63 6b 09 | 28 29 20 63 6f 6e 73 74 |rtCheck.|() const|
|000003c0| 20 7b 72 65 74 75 72 6e | 20 6d 53 68 6f 77 41 6c | {return| mShowAl|
|000003d0| 65 72 74 43 68 65 63 6b | 3b 7d 0d 09 76 6f 69 64 |ertCheck|;}..void|
|000003e0| 09 09 53 65 74 53 68 6f | 77 41 6c 65 72 74 43 68 |..SetSho|wAlertCh|
|000003f0| 65 63 6b 09 28 42 6f 6f | 6c 65 61 6e 09 09 73 74 |eck.(Boo|lean..st|
|00000400| 61 74 65 29 3b 0d 09 42 | 6f 6f 6c 65 61 6e 09 09 |ate);..B|oolean..|
|00000410| 47 65 74 50 6c 61 79 53 | 6f 75 6e 64 43 68 65 63 |GetPlayS|oundChec|
|00000420| 6b 09 28 29 20 63 6f 6e | 73 74 20 7b 72 65 74 75 |k.() con|st {retu|
|00000430| 72 6e 20 6d 50 6c 61 79 | 53 6f 75 6e 64 43 68 65 |rn mPlay|SoundChe|
|00000440| 63 6b 3b 7d 0d 09 76 6f | 69 64 09 09 53 65 74 50 |ck;}..vo|id..SetP|
|00000450| 6c 61 79 53 6f 75 6e 64 | 43 68 65 63 6b 09 28 42 |laySound|Check.(B|
|00000460| 6f 6f 6c 65 61 6e 09 09 | 73 74 61 74 65 29 3b 0d |oolean..|state);.|
|00000470| 09 42 6f 6f 6c 65 61 6e | 09 09 47 65 74 53 68 6f |.Boolean|..GetSho|
|00000480| 77 49 63 6f 6e 43 68 65 | 63 6b 09 28 29 20 63 6f |wIconChe|ck.() co|
|00000490| 6e 73 74 20 7b 72 65 74 | 75 72 6e 20 6d 53 68 6f |nst {ret|urn mSho|
|000004a0| 77 49 63 6f 6e 43 68 65 | 63 6b 3b 7d 0d 09 76 6f |wIconChe|ck;}..vo|
|000004b0| 69 64 09 09 53 65 74 53 | 68 6f 77 49 63 6f 6e 43 |id..SetS|howIconC|
|000004c0| 68 65 63 6b 09 28 42 6f | 6f 6c 65 61 6e 09 09 73 |heck.(Bo|olean..s|
|000004d0| 74 61 74 65 29 3b 0d 09 | 73 68 6f 72 74 09 09 47 |tate);..|short..G|
|000004e0| 65 74 53 6f 75 6e 64 49 | 6e 64 65 78 09 28 29 20 |etSoundI|ndex.() |
|000004f0| 63 6f 6e 73 74 20 7b 72 | 65 74 75 72 6e 20 6d 53 |const {r|eturn mS|
|00000500| 6f 75 6e 64 49 6e 64 65 | 78 3b 7d 0d 09 76 6f 69 |oundInde|x;}..voi|
|00000510| 64 09 09 53 65 74 53 6f | 75 6e 64 49 6e 64 65 78 |d..SetSo|undIndex|
|00000520| 09 28 73 68 6f 72 74 09 | 09 73 74 61 74 65 29 3b |.(short.|.state);|
|00000530| 0d 0d 2f 2f 20 4e 65 6f | 50 65 72 73 69 73 74 0d |..// Neo|Persist.|
|00000540| 09 73 74 61 74 69 63 09 | 43 4e 65 6f 4d 65 74 61 |.static.|CNeoMeta|
|00000550| 43 6c 61 73 73 2a 09 09 | 47 65 74 4d 65 74 61 43 |Class*..|GetMetaC|
|00000560| 6c 61 73 73 20 28 29 3b | 0d 09 73 74 61 74 69 63 |lass ();|..static|
|00000570| 09 76 6f 69 64 09 09 09 | 09 41 64 64 4d 65 74 61 |.void...|.AddMeta|
|00000580| 43 6c 61 73 73 20 28 29 | 3b 0d 09 73 74 61 74 69 |Class ()|;..stati|
|00000590| 63 09 43 4e 65 6f 50 65 | 72 73 69 73 74 2a 09 09 |c.CNeoPe|rsist*..|
|000005a0| 4e 65 77 20 28 29 3b 0d | 09 73 74 61 74 69 63 09 |New ();.|.static.|
|000005b0| 43 52 65 6d 69 6e 64 65 | 72 45 6e 74 72 79 2a 09 |CReminde|rEntry*.|
|000005c0| 09 46 69 6e 64 42 79 49 | 44 09 28 43 4e 65 6f 44 |.FindByI|D.(CNeoD|
|000005d0| 61 74 61 62 61 73 65 09 | 09 2a 61 46 69 6c 65 2c |atabase.|.*aFile,|
|000005e0| 0d 09 09 09 09 09 09 09 | 09 09 09 63 6f 6e 73 74 |........|...const|
|000005f0| 20 4e 65 6f 49 44 09 09 | 09 61 49 44 2c 0d 09 09 | NeoID..|.aID,...|
|00000600| 09 09 09 09 09 09 09 09 | 63 6f 6e 73 74 20 42 6f |........|const Bo|
|00000610| 6f 6c 65 61 6e 09 09 61 | 44 65 65 70 6c 79 2c 0d |olean..a|Deeply,.|
|00000620| 09 09 09 09 09 09 09 09 | 09 09 09 20 20 4e 65 6f |........|... Neo|
|00000630| 54 65 73 74 46 75 6e 63 | 31 09 61 46 75 6e 63 20 |TestFunc|1.aFunc |
|00000640| 3d 20 6e 69 6c 2c 0d 09 | 09 09 09 09 09 09 09 09 |= nil,..|........|
|00000650| 09 09 20 20 76 6f 69 64 | 09 09 09 2a 61 50 61 72 |.. void|...*aPar|
|00000660| 61 6d 20 3d 20 6e 69 6c | 2c 0d 09 09 09 09 09 09 |am = nil|,.......|
|00000670| 09 09 09 09 63 6f 6e 73 | 74 20 4e 65 6f 4c 6f 63 |....cons|t NeoLoc|
|00000680| 6b 54 79 70 65 09 61 4c | 6f 63 6b 20 3d 20 6b 4e |kType.aL|ock = kN|
|00000690| 65 6f 44 65 66 61 75 6c | 74 4c 6f 63 6b 29 3b 0d |eoDefaul|tLock);.|
|000006a0| 0d 09 76 69 72 74 75 61 | 6c 20 4e 65 6f 49 44 09 |..virtua|l NeoID.|
|000006b0| 09 67 65 74 43 6c 61 73 | 73 49 44 09 09 28 29 20 |.getClas|sID..() |
|000006c0| 63 6f 6e 73 74 20 7b 72 | 65 74 75 72 6e 20 6b 52 |const {r|eturn kR|
|000006d0| 65 6d 69 6e 64 65 72 45 | 6e 74 72 79 49 44 3b 7d |eminderE|ntryID;}|
|000006e0| 0d 09 76 69 72 74 75 61 | 6c 20 6c 6f 6e 67 09 09 |..virtua|l long..|
|000006f0| 67 65 74 46 69 6c 65 4c | 65 6e 67 74 68 09 28 29 |getFileL|ength.()|
|00000700| 20 63 6f 6e 73 74 3b 0d | 0d 2f 2f 20 49 2f 4f 0d | const;.|.// I/O.|
|00000710| 09 76 69 72 74 75 61 6c | 20 76 6f 69 64 09 09 72 |.virtual| void..r|
|00000720| 65 61 64 4f 62 6a 65 63 | 74 09 09 28 43 4e 65 6f |eadObjec|t..(CNeo|
|00000730| 53 74 72 65 61 6d 09 09 | 2a 61 53 74 72 65 61 6d |Stream..|*aStream|
|00000740| 2c 0d 09 09 09 09 09 09 | 09 09 09 63 6f 6e 73 74 |,.......|...const|
|00000750| 20 4e 65 6f 54 61 67 09 | 09 61 54 61 67 29 3b 0d | NeoTag.|.aTag);.|
|00000760| 09 76 69 72 74 75 61 6c | 20 76 6f 69 64 09 09 77 |.virtual| void..w|
|00000770| 72 69 74 65 4f 62 6a 65 | 63 74 09 09 28 43 4e 65 |riteObje|ct..(CNe|
|00000780| 6f 53 74 72 65 61 6d 09 | 09 2a 61 53 74 72 65 61 |oStream.|.*aStrea|
|00000790| 6d 2c 0d 09 09 09 09 09 | 09 09 09 09 63 6f 6e 73 |m,......|....cons|
|000007a0| 74 20 4e 65 6f 54 61 67 | 09 09 61 54 61 67 29 3b |t NeoTag|..aTag);|
|000007b0| 0d 0d 70 72 69 76 61 74 | 65 3a 0d 09 53 74 72 33 |..privat|e:..Str3|
|000007c0| 31 09 09 6d 44 61 74 65 | 46 69 65 6c 64 3b 0d 09 |1..mDate|Field;..|
|000007d0| 53 74 72 33 31 09 09 6d | 54 69 6d 65 46 69 65 6c |Str31..m|TimeFiel|
|000007e0| 64 3b 0d 09 53 74 72 32 | 35 35 09 09 6d 4d 65 73 |d;..Str2|55..mMes|
|000007f0| 73 61 67 65 46 69 65 6c | 64 3b 0d 09 6c 6f 6e 67 |sageFiel|d;..long|
|00000800| 09 09 6d 41 6d 50 6d 43 | 68 6f 69 63 65 3b 0d 09 |..mAmPmC|hoice;..|
|00000810| 42 6f 6f 6c 65 61 6e 09 | 09 6d 53 68 6f 77 41 6c |Boolean.|.mShowAl|
|00000820| 65 72 74 43 68 65 63 6b | 3b 0d 09 42 6f 6f 6c 65 |ertCheck|;..Boole|
|00000830| 61 6e 09 09 6d 50 6c 61 | 79 53 6f 75 6e 64 43 68 |an..mPla|ySoundCh|
|00000840| 65 63 6b 3b 0d 09 42 6f | 6f 6c 65 61 6e 09 09 6d |eck;..Bo|olean..m|
|00000850| 53 68 6f 77 49 63 6f 6e | 43 68 65 63 6b 3b 0d 09 |ShowIcon|Check;..|
|00000860| 73 68 6f 72 74 09 09 6d | 53 6f 75 6e 64 49 6e 64 |short..m|SoundInd|
|00000870| 65 78 3b 0d 7d 3b 0d 00 | 00 00 00 00 00 00 00 00 |ex;.};..|........|
|00000880| 00 00 01 00 00 00 01 00 | 00 00 00 00 00 00 00 1e |........|........|
|00000890| 63 2e 63 70 20 2d 2d 20 | 44 6f 63 75 6d 65 6e 74 |c.cp -- |Document|
|000008a0| 20 6d 65 74 68 6f 64 73 | 0d 2f 2f 20 43 72 65 61 | methods|.// Crea|
|000008b0| 10 43 52 65 6d 69 6e 64 | 65 72 45 6e 74 72 79 2e |.CRemind|erEntry.|
|000008c0| 68 6e 02 00 00 00 54 45 | 58 54 43 57 49 45 00 00 |hn....TE|XTCWIE..|
|000008d0| 00 00 54 45 58 54 43 57 | 49 45 00 00 64 90 64 40 |..TEXTCW|IE..d.d@|
|000008e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008f0| 00 00 ae 97 ec 42 00 00 | 07 f7 00 00 01 1e 69 6e |.....B..|......in|
|00000900| 64 65 72 44 61 74 61 2e | 68 22 0d 0d 23 69 6e 63 |derData.|h"..#inc|
|00000910| 6c 75 64 65 20 22 43 4d | 61 69 6e 57 69 6e 64 6f |lude "CM|ainWindo|
|00000920| 77 2e 68 22 0d 23 69 6e | 63 6c 75 64 65 20 22 43 |w.h".#in|clude "C|
|00000930| 6d 64 43 6f 64 65 73 2e | 68 22 0d 23 69 6e 63 6c |mdCodes.|h".#incl|
|00000940| 75 64 65 20 22 43 41 64 | 64 2e 68 22 0d 0d 23 69 |ude "CAd|d.h"..#i|
|00000950| 6e 63 6c 75 64 65 20 3c | 4c 46 69 6c 65 2e 68 3e |nclude <|LFile.h>|
|00000960| 0d 23 69 6e 63 6c 75 64 | 65 20 3c 4c 50 6c 61 63 |.#includ|e <LPlac|
|00000970| 65 48 6f 6c 64 65 72 2e | 68 3e 0d 23 69 6e 63 6c |eHolder.|h>.#incl|
|00000980| 00 00 01 00 00 00 01 00 | 00 00 00 00 00 00 00 1e |........|........|
|00000990| 00 00 00 00 00 00 00 00 | 00 1c 00 1e ff ff 00 00 |........|........|
|000009a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+