home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 1999 November / Macworld (1999-11).dmg / Updaters / WhiteCap 3.0.4 / WhiteCap Source.sit / WhiteCap Source / Common / io / Headers / CEgFileSpec.h < prev    next >
MacBinary  |  1999-07-13  |  2.1 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: CEgFileSpec.h

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, Tue Jul 13 21:53:57 1999, modified Tue Jul 13 21:53:57 1999, creator 'CWIE', type ASCII, 1505 bytes "CEgFileSpec.h" , at 0x661 410 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 43 45 67 46 69 6c | 65 53 70 65 63 2e 68 00 |..CEgFil|eSpec.h.|
|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 05 e1 00 | 00 01 9a b3 b1 9e 35 b3 |........|......5.|
|00000060| b1 9e 35 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |..5.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 6b 80 00 00 |........|....k...|
|00000080| 23 69 66 6e 64 65 66 20 | 5f 43 45 47 46 49 4c 45 |#ifndef |_CEGFILE|
|00000090| 53 50 45 43 5f 0d 23 64 | 65 66 69 6e 65 20 5f 43 |SPEC_.#d|efine _C|
|000000a0| 45 47 46 49 4c 45 53 50 | 45 43 5f 0d 0d 0d 23 69 |EGFILESP|EC_...#i|
|000000b0| 6e 63 6c 75 64 65 20 22 | 55 74 69 6c 53 74 72 2e |nclude "|UtilStr.|
|000000c0| 68 22 0d 23 69 6e 63 6c | 75 64 65 20 22 43 45 67 |h".#incl|ude "CEg|
|000000d0| 45 72 72 2e 68 22 0d 0d | 0d 63 6c 61 73 73 20 43 |Err.h"..|.class C|
|000000e0| 45 67 46 69 6c 65 53 70 | 65 63 20 7b 0d 0d 09 70 |EgFileSp|ec {...p|
|000000f0| 72 6f 74 65 63 74 65 64 | 3a 0d 09 09 55 74 69 6c |rotected|:...Util|
|00000100| 53 74 72 09 09 09 09 09 | 6d 53 70 65 63 44 61 74 |Str.....|mSpecDat|
|00000110| 61 3b 0d 09 09 6c 6f 6e | 67 09 09 09 09 09 6d 46 |a;...lon|g.....mF|
|00000120| 69 6c 65 54 79 70 65 3b | 0d 09 09 0d 09 09 0d 09 |ileType;|........|
|00000130| 70 75 62 6c 69 63 3a 0d | 09 09 09 09 09 09 09 09 |public:.|........|
|00000140| 43 45 67 46 69 6c 65 53 | 70 65 63 28 29 3b 0d 09 |CEgFileS|pec();..|
|00000150| 09 09 09 09 09 09 09 43 | 45 67 46 69 6c 65 53 70 |.......C|EgFileSp|
|00000160| 65 63 28 20 63 6f 6e 73 | 74 20 63 68 61 72 2a 20 |ec( cons|t char* |
|00000170| 69 6e 50 61 74 68 4e 61 | 6d 65 2c 20 6c 6f 6e 67 |inPathNa|me, long|
|00000180| 20 69 6e 54 79 70 65 20 | 3d 20 27 54 45 58 54 27 | inType |= 'TEXT'|
|00000190| 20 20 29 3b 0d 09 09 09 | 09 09 09 09 09 43 45 67 | );....|.....CEg|
|000001a0| 46 69 6c 65 53 70 65 63 | 28 20 63 6f 6e 73 74 20 |FileSpec|( const |
|000001b0| 43 45 67 46 69 6c 65 53 | 70 65 63 26 20 69 6e 53 |CEgFileS|pec& inS|
|000001c0| 70 65 63 20 29 3b 0d 09 | 09 09 09 09 09 09 09 0d |pec );..|........|
|000001d0| 09 09 09 09 09 09 09 09 | 0d 09 09 09 09 09 09 09 |........|........|
|000001e0| 09 0d 09 09 2f 2f 09 52 | 65 74 75 72 6e 73 20 31 |....//.R|eturns 1|
|000001f0| 20 69 73 20 74 68 65 20 | 66 69 6c 65 20 69 73 20 | is the |file is |
|00000200| 66 6f 75 6e 64 2c 20 32 | 20 69 66 20 74 68 65 20 |found, 2| if the |
|00000210| 66 6f 6c 64 65 72 20 69 | 73 20 66 6f 75 6e 64 2c |folder i|s found,|
|00000220| 20 30 20 69 66 20 6e 6f | 74 20 66 6f 75 6e 64 0d | 0 if no|t found.|
|00000230| 09 09 69 6e 74 09 09 09 | 09 09 09 45 78 69 73 74 |..int...|...Exist|
|00000240| 73 28 29 20 63 6f 6e 73 | 74 3b 0d 09 09 0d 09 09 |s() cons|t;......|
|00000250| 76 6f 69 64 09 09 09 09 | 09 41 73 73 69 67 6e 28 |void....|.Assign(|
|00000260| 20 63 6f 6e 73 74 20 43 | 45 67 46 69 6c 65 53 70 | const C|EgFileSp|
|00000270| 65 63 26 20 69 6e 53 70 | 65 63 20 29 3b 0d 09 09 |ec& inSp|ec );...|
|00000280| 76 6f 69 64 09 09 09 09 | 09 41 73 73 69 67 6e 50 |void....|.AssignP|
|00000290| 61 74 68 4e 61 6d 65 28 | 20 63 6f 6e 73 74 20 63 |athName(| const c|
|000002a0| 68 61 72 2a 20 69 6e 50 | 61 74 68 4e 61 6d 65 20 |har* inP|athName |
|000002b0| 29 3b 0d 09 09 76 6f 69 | 64 09 09 09 09 09 41 73 |);...voi|d.....As|
|000002c0| 73 69 67 6e 28 20 63 6f | 6e 73 74 20 76 6f 69 64 |sign( co|nst void|
|000002d0| 2a 20 69 6e 4f 53 53 70 | 65 63 50 74 72 2c 20 6c |* inOSSp|ecPtr, l|
|000002e0| 6f 6e 67 20 69 6e 54 79 | 70 65 20 3d 20 27 54 45 |ong inTy|pe = 'TE|
|000002f0| 58 54 27 20 29 3b 0d 09 | 09 0d 09 09 43 45 67 45 |XT' );..|....CEgE|
|00000300| 72 72 09 09 09 09 09 44 | 75 70 6c 69 63 61 74 65 |rr.....D|uplicate|
|00000310| 28 20 63 6f 6e 73 74 20 | 43 45 67 46 69 6c 65 53 |( const |CEgFileS|
|00000320| 70 65 63 26 20 69 6e 44 | 65 73 74 53 70 65 63 20 |pec& inD|estSpec |
|00000330| 29 20 63 6f 6e 73 74 3b | 0d 09 09 76 6f 69 64 09 |) const;|...void.|
|00000340| 09 09 09 09 53 61 76 65 | 41 73 28 20 63 6f 6e 73 |....Save|As( cons|
|00000350| 74 20 43 45 67 46 69 6c | 65 53 70 65 63 26 20 69 |t CEgFil|eSpec& i|
|00000360| 6e 44 65 73 74 53 70 65 | 63 20 29 20 63 6f 6e 73 |nDestSpe|c ) cons|
|00000370| 74 3b 0d 09 09 76 6f 69 | 64 09 09 09 09 09 43 68 |t;...voi|d.....Ch|
|00000380| 61 6e 67 65 45 78 74 28 | 20 63 6f 6e 73 74 20 63 |angeExt(| const c|
|00000390| 68 61 72 2a 20 69 6e 45 | 78 74 20 29 3b 0d 09 09 |har* inE|xt );...|
|000003a0| 0d 09 09 76 6f 69 64 09 | 09 09 09 09 44 65 6c 65 |...void.|....Dele|
|000003b0| 74 65 28 29 20 63 6f 6e | 73 74 3b 0d 09 09 6c 6f |te() con|st;...lo|
|000003c0| 6e 67 09 09 09 09 09 47 | 65 74 54 79 70 65 28 29 |ng.....G|etType()|
|000003d0| 20 63 6f 6e 73 74 3b 0d | 09 09 76 6f 69 64 09 09 | const;.|..void..|
|000003e0| 09 09 09 53 65 74 54 79 | 70 65 28 20 6c 6f 6e 67 |...SetTy|pe( long|
|000003f0| 20 69 6e 54 79 70 65 20 | 29 3b 0d 09 09 0d 09 09 | inType |);......|
|00000400| 63 6f 6e 73 74 20 76 6f | 69 64 2a 09 09 09 09 4f |const vo|id*....O|
|00000410| 53 53 70 65 63 28 29 20 | 63 6f 6e 73 74 3b 0d 09 |SSpec() |const;..|
|00000420| 09 0d 09 09 2f 2f 09 50 | 6f 73 74 3a 09 52 65 74 |....//.P|ost:.Ret|
|00000430| 75 72 6e 73 20 74 68 65 | 20 66 69 6c 65 6e 61 6d |urns the| filenam|
|00000440| 65 20 6f 66 20 74 68 69 | 73 20 73 70 65 63 20 28 |e of thi|s spec (|
|00000450| 77 69 74 68 6f 75 74 20 | 65 78 74 65 6e 73 69 6f |without |extensio|
|00000460| 6e 29 0d 09 09 2f 2f 09 | 55 73 67 61 65 3a 09 22 |n)...//.|Usgae:."|
|00000470| 42 6c 61 68 2e 42 4c 22 | 20 3d 3d 3e 09 52 65 74 |Blah.BL"| ==>.Ret|
|00000480| 75 72 6e 73 20 22 42 6c | 61 68 22 20 69 6e 20 3c |urns "Bl|ah" in <|
|00000490| 6f 75 74 46 69 6c 65 4e | 61 6d 65 3e 0d 09 09 76 |outFileN|ame>...v|
|000004a0| 6f 69 64 09 09 09 09 09 | 47 65 74 46 69 6c 65 4e |oid.....|GetFileN|
|000004b0| 61 6d 65 28 20 55 74 69 | 6c 53 74 72 26 20 6f 75 |ame( Uti|lStr& ou|
|000004c0| 74 46 69 6c 65 4e 61 6d | 65 20 29 20 63 6f 6e 73 |tFileNam|e ) cons|
|000004d0| 74 3b 0d 09 09 0d 09 09 | 2f 2f 09 50 6f 73 74 3a |t;......|//.Post:|
|000004e0| 09 53 65 74 73 20 74 68 | 69 73 20 73 70 65 63 27 |.Sets th|is spec'|
|000004f0| 73 20 66 69 6c 65 6e 61 | 6d 65 2c 20 6b 65 65 70 |s filena|me, keep|
|00000500| 69 6e 67 20 74 68 65 20 | 70 61 74 68 20 69 6e 66 |ing the |path inf|
|00000510| 6f 72 6d 61 74 69 6f 6e | 20 74 68 65 20 73 61 6d |ormation| the sam|
|00000520| 65 2e 0d 09 09 76 6f 69 | 64 09 09 09 09 09 52 65 |e....voi|d.....Re|
|00000530| 6e 61 6d 65 28 20 63 6f | 6e 73 74 20 55 74 69 6c |name( co|nst Util|
|00000540| 53 74 72 26 20 69 6e 4e | 65 77 4e 61 6d 65 20 29 |Str& inN|ewName )|
|00000550| 3b 0d 09 09 0d 09 09 2f | 2f 09 50 6f 73 74 3a 09 |;....../|/.Post:.|
|00000560| 3c 69 6e 54 79 70 65 3e | 20 77 69 6c 6c 20 62 65 |<inType>| will be|
|00000570| 20 61 70 70 65 6e 64 65 | 64 20 6f 6e 74 6f 20 74 | appende|d onto t|
|00000580| 68 65 20 65 6e 64 20 6f | 66 20 3c 69 6f 53 74 72 |he end o|f <ioStr|
|00000590| 3e 2e 0d 09 09 2f 2f 09 | 45 78 3a 09 09 54 79 70 |>....//.|Ex:..Typ|
|000005a0| 65 54 6f 45 78 74 28 20 | 22 62 6c 61 68 22 2c 20 |eToExt( |"blah", |
|000005b0| 27 2e 41 42 27 20 29 20 | 72 65 74 75 72 6e 73 20 |'.AB' ) |returns |
|000005c0| 22 62 6c 61 68 2e 41 42 | 22 20 69 6e 20 69 6f 53 |"blah.AB|" in ioS|
|000005d0| 74 72 2e 0d 09 09 73 74 | 61 74 69 63 20 76 6f 69 |tr....st|atic voi|
|000005e0| 64 09 09 09 09 54 79 70 | 65 54 6f 45 78 74 28 20 |d....Typ|eToExt( |
|000005f0| 55 74 69 6c 53 74 72 26 | 20 69 6f 53 74 72 2c 20 |UtilStr&| ioStr, |
|00000600| 6c 6f 6e 67 20 69 6e 54 | 79 70 65 20 29 3b 0d 09 |long inT|ype );..|
|00000610| 09 0d 09 09 0d 09 09 0d | 09 09 76 6f 69 64 09 09 |........|..void..|
|00000620| 09 09 09 41 73 73 69 67 | 6e 46 6f 6c 64 65 72 28 |...Assig|nFolder(|
|00000630| 20 63 6f 6e 73 74 20 63 | 68 61 72 2a 20 69 6e 46 | const c|har* inF|
|00000640| 6f 6c 64 65 72 4e 61 6d | 65 20 29 3b 0d 09 09 0d |olderNam|e );....|
|00000650| 7d 3b 09 09 09 0d 0d 23 | 65 6e 64 69 66 0d 0d 0d |};.....#|endif...|
|00000660| 0d 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 54 | 00 00 00 54 00 00 00 46 |.......T|...T...F|
|00000690| 73 74 72 69 70 20 53 74 | 61 74 69 63 20 49 6e 69 |strip St|atic Ini|
|000006a0| 74 69 61 6c 69 7a 61 74 | 69 6f 6e 20 43 6f 64 65 |tializat|ion Code|
|000006b0| 0d 43 45 67 46 69 6c 65 | 53 70 65 63 2e 68 70 70 |.CEgFile|Spec.hpp|
|000006c0| 68 70 70 73 54 77 69 73 | 74 2e 6d 70 33 70 33 6e |hppsTwis|t.mp3p3n|
|000006d0| 00 00 50 61 72 74 53 49 | 54 21 00 00 00 00 00 00 |..PartSI|T!......|
|000006e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006f0| 00 00 b2 48 36 07 00 00 | 00 00 00 00 01 9a 00 ff |...H6...|........|
|00000700| ff ff ff 0a 4c 69 6e 6b | 20 4d 6f 64 65 3a 0e 4e |....Link| Mode:.N|
|00000710| 6f 72 6d 61 6c 20 4c 69 | 6e 6b 69 6e 67 00 00 00 |ormal Li|nking...|
|00000720| 00 0e 46 61 73 74 65 72 | 20 4c 69 6e 6b 69 6e 67 |..Faster| Linking|
|00000730| 00 00 00 00 0e 53 6c 6f | 77 65 72 20 4c 69 6e 6b |.....Slo|wer Link|
|00000740| 69 6e 67 00 00 00 00 00 | 00 00 00 45 00 05 00 12 |ing.....|...E....|
|00000750| 28 75 73 65 73 20 6d 6f | 72 65 20 6d 65 6d 6f 72 |(uses mo|re memor|
|00000760| 79 29 12 28 75 73 65 73 | 20 6c 65 73 73 20 6d 65 |y).(uses| less me|
|00000770| 6d 6f 72 79 29 0d 45 6e | 74 72 79 20 50 6f 69 6e |mory).En|try Poin|
|00000780| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 00 00 00 |...H..Mo|naco....|
|00000790| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007a0| 00 00 00 00 00 00 00 03 | 00 04 00 6d 00 0d 02 63 |........|...m...c|
|000007b0| 02 6d 00 6d 00 0d 02 63 | 02 6d b3 b1 57 e5 00 00 |.m.m...c|.m..W...|
|000007c0| 01 be 00 00 01 be 00 00 | 01 15 01 00 00 00 00 04 |........|........|
|000007d0| 00 01 00 01 00 00 01 00 | 00 00 01 54 00 00 00 54 |........|...T...T|
|000007e0| 00 00 00 46 03 9c 2e 18 | 18 3e 00 00 00 1c 00 46 |...F....|.>.....F|
|000007f0| 00 01 4d 50 53 52 00 00 | 00 12 4d 57 42 42 00 00 |..MPSR..|..MWBB..|
|00000800| 00 1e 03 ed ff ff 00 00 | 00 00 00 00 00 00 03 f0 |........|........|
|00000810| ff ff 00 00 00 4c 00 00 | 00 00 00 00 00 00 00 00 |.....L..|........|
|00000820| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000830| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000840| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000850| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000860| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000870| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+