home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 …ember: Reference Library / Apple Developer Reference Library (December 1999) (Disk 1).iso / pc / technical documentation / develop / develop issue 25 / develop issue 25 code / toolfrontend.sea / ToolFrontEnd / ToolFrontEnd Source / Common Files / ToolFrontEnd.h next >
MacBinary  |  1996-03-04  |  2.5 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, inited, Mon Mar 4 12:26:45 1996, modified Mon Mar 4 12:26:45 1996, creator 'CWIE', type ASCII, 1880 bytes "ToolFrontEnd.h" , at 0x7d8 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 0e 54 6f 6f 6c 46 72 | 6f 6e 74 45 6e 64 2e 68 |..ToolFr|ontEnd.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 01 00 00 00 00 00 00 |.TEXTCWI|E.......|
|00000050| 00 00 00 00 00 07 58 00 | 00 01 9a ad 60 d8 55 ad |......X.|....`.U.|
|00000060| 60 d8 55 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |`.U.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 f8 7a 00 00 |........|.....z..|
|00000080| 2f 2a 0d 20 2a 20 20 54 | 6f 6f 6c 46 72 6f 6e 74 |/*. * T|oolFront|
|00000090| 45 6e 64 2e 68 20 2d 20 | 54 6f 6f 6c 20 53 65 72 |End.h - |Tool Ser|
|000000a0| 76 65 72 20 46 72 6f 6e | 74 20 45 6e 64 20 44 72 |ver Fron|t End Dr|
|000000b0| 6f 70 2d 49 6e 20 50 72 | 65 66 65 72 65 6e 63 65 |op-In Pr|eference|
|000000c0| 73 0d 20 2a 2f 0d 0d 23 | 69 66 6e 64 65 66 20 5f |s. */..#|ifndef _|
|000000d0| 48 5f 54 6f 6f 6c 46 72 | 6f 6e 74 45 6e 64 0d 23 |H_ToolFr|ontEnd.#|
|000000e0| 64 65 66 69 6e 65 20 5f | 48 5f 54 6f 6f 6c 46 72 |define _|H_ToolFr|
|000000f0| 6f 6e 74 45 6e 64 0d 0d | 23 69 66 6e 64 65 66 20 |ontEnd..|#ifndef |
|00000100| 5f 5f 54 59 50 45 53 5f | 5f 0d 23 69 6e 63 6c 75 |__TYPES_|_.#inclu|
|00000110| 64 65 20 3c 54 79 70 65 | 73 2e 68 3e 0d 23 65 6e |de <Type|s.h>.#en|
|00000120| 64 69 66 0d 0d 23 69 6e | 63 6c 75 64 65 20 22 44 |dif..#in|clude "D|
|00000130| 72 6f 70 49 6e 43 6f 6d | 70 69 6c 65 72 2e 68 22 |ropInCom|piler.h"|
|00000140| 0d 0d 0d 23 70 72 61 67 | 6d 61 20 6f 70 74 69 6f |...#prag|ma optio|
|00000150| 6e 73 20 61 6c 69 67 6e | 3d 6d 61 63 36 38 6b 0d |ns align|=mac68k.|
|00000160| 0d 0d 2f 2a 20 74 68 69 | 73 20 69 73 20 74 68 65 |../* thi|s is the|
|00000170| 20 6e 61 6d 65 20 6f 66 | 20 74 68 65 20 70 61 6e | name of| the pan|
|00000180| 65 6c 2c 20 61 73 20 73 | 68 6f 77 6e 20 69 6e 20 |el, as s|hown in |
|00000190| 74 68 65 20 46 69 6e 64 | 65 72 20 2a 2f 0d 23 64 |the Find|er */.#d|
|000001a0| 65 66 69 6e 65 20 6b 54 | 6f 6f 6c 46 72 6f 6e 74 |efine kT|oolFront|
|000001b0| 45 6e 64 50 61 6e 65 6c | 4e 61 6d 65 09 22 5c 70 |EndPanel|Name."\p|
|000001c0| 54 6f 6f 6c 46 72 6f 6e | 74 45 6e 64 20 50 61 6e |ToolFron|tEnd Pan|
|000001d0| 65 6c 22 0d 0d 0d 2f 2a | 0d 20 2a 09 41 70 70 6c |el".../*|. *.Appl|
|000001e0| 65 53 63 72 69 70 74 20 | 64 69 63 74 69 6f 6e 61 |eScript |dictiona|
|000001f0| 72 79 20 69 6e 66 6f 2e | 0d 20 2a 2f 0d 0d 65 6e |ry info.|. */..en|
|00000200| 75 6d 20 7b 0d 2f 2a 09 | 53 79 6d 62 6f 6c 69 63 |um {./*.|Symbolic|
|00000210| 20 4e 61 6d 65 09 09 09 | 09 20 20 20 43 6f 64 65 | Name...|. Code|
|00000220| 09 09 41 45 54 45 20 54 | 65 72 6d 69 6e 6f 6c 6f |..AETE T|erminolo|
|00000230| 67 79 09 09 2a 2f 0d 09 | 63 6c 61 73 73 5f 54 6f |gy..*/..|class_To|
|00000240| 6f 6c 46 72 6f 6e 74 45 | 6e 64 09 09 09 3d 20 27 |olFrontE|nd...= '|
|00000250| 54 53 46 45 27 2c 0d 0d | 09 70 72 65 66 73 54 46 |TSFE',..|.prefsTF|
|00000260| 45 5f 49 6e 63 6c 75 64 | 65 46 69 6c 65 09 09 3d |E_Includ|eFile..=|
|00000270| 20 27 54 46 30 31 27 2c | 09 2f 2a 20 50 72 6f 6a | 'TF01',|./* Proj|
|00000280| 65 63 74 20 54 79 70 65 | 09 09 09 2a 2f 0d 09 70 |ect Type|...*/..p|
|00000290| 72 65 66 73 54 46 45 5f | 46 69 6c 65 45 78 74 65 |refsTFE_|FileExte|
|000002a0| 6e 73 69 6f 6e 09 09 3d | 20 27 54 46 30 32 27 2c |nsion..=| 'TF02',|
|000002b0| 09 2f 2a 20 50 72 6f 6a | 65 63 74 20 54 79 70 65 |./* Proj|ect Type|
|000002c0| 09 09 09 2a 2f 0d 09 0d | 09 2f 2a 20 65 6e 75 6d |...*/...|./* enum|
|000002d0| 65 72 61 74 69 6f 6e 20 | 66 6f 72 20 66 69 6c 65 |eration |for file|
|000002e0| 20 65 78 74 65 6e 73 69 | 6f 6e 20 2a 2f 0d 09 65 | extensi|on */..e|
|000002f0| 6e 75 6d 65 72 61 74 69 | 6f 6e 5f 46 69 6c 65 45 |numerati|on_FileE|
|00000300| 78 74 65 6e 73 69 6f 6e | 09 3d 20 27 54 46 30 33 |xtension|.= 'TF03|
|00000310| 27 2c 0d 09 65 6e 75 6d | 5f 45 78 74 65 6e 73 69 |',..enum|_Extensi|
|00000320| 6f 6e 5f 53 74 72 69 6e | 67 09 09 3d 20 27 54 46 |on_Strin|g..= 'TF|
|00000330| 30 34 27 2c 09 2f 2a 20 | 65 78 74 65 6e 73 69 6f |04',./* |extensio|
|00000340| 6e 20 73 74 72 69 6e 67 | 09 09 2a 2f 0d 09 65 6e |n string|..*/..en|
|00000350| 75 6d 5f 45 78 74 65 6e | 73 69 6f 6e 5f 43 6f 6d |um_Exten|sion_Com|
|00000360| 6d 61 6e 64 09 09 3d 20 | 27 54 46 30 35 27 2c 09 |mand..= |'TF05',.|
|00000370| 2f 2a 20 63 6f 6d 6d 61 | 6e 64 20 73 74 72 69 6e |/* comma|nd strin|
|00000380| 67 09 09 2a 2f 0d 09 65 | 6e 75 6d 5f 45 78 74 65 |g..*/..e|num_Exte|
|00000390| 6e 73 69 6f 6e 5f 53 63 | 61 6e 6e 65 72 09 09 3d |nsion_Sc|anner..=|
|000003a0| 20 27 54 46 30 36 27 2c | 09 2f 2a 20 73 63 61 6e | 'TF06',|./* scan|
|000003b0| 6e 65 72 09 09 09 09 2a | 2f 0d 09 65 6e 75 6d 5f |ner....*|/..enum_|
|000003c0| 45 78 74 65 6e 73 69 6f | 6e 5f 49 6e 63 50 61 72 |Extensio|n_IncPar|
|000003d0| 61 6d 09 09 3d 20 27 54 | 46 30 37 27 09 2f 2a 20 |am..= 'T|F07'./* |
|000003e0| 69 6e 63 6c 75 64 65 20 | 70 61 72 61 6d 65 74 65 |include |paramete|
|000003f0| 72 09 2a 2f 0d 7d 3b 0d | 0d 0d 2f 2a 09 54 68 69 |r.*/.};.|../*.Thi|
|00000400| 73 20 69 73 20 74 68 65 | 20 73 74 72 75 63 74 75 |s is the| structu|
|00000410| 72 65 20 74 68 61 74 20 | 69 73 20 6d 61 6e 69 70 |re that |is manip|
|00000420| 75 6c 61 74 65 64 20 62 | 79 20 74 68 65 20 70 61 |ulated b|y the pa|
|00000430| 6e 65 6c 2e 20 2a 2f 0d | 0d 74 79 70 65 64 65 66 |nel. */.|.typedef|
|00000440| 20 73 74 72 75 63 74 20 | 54 6f 6f 6c 46 72 6f 6e | struct |ToolFron|
|00000450| 74 45 6e 64 50 72 65 66 | 20 7b 0d 09 73 68 6f 72 |tEndPref| {..shor|
|00000460| 74 09 09 09 76 65 72 73 | 69 6f 6e 3b 09 09 09 2f |t...vers|ion;.../|
|00000470| 2a 20 76 65 72 73 69 6f | 6e 20 23 20 6f 66 20 70 |* versio|n # of p|
|00000480| 72 65 66 73 20 64 61 74 | 61 09 2a 2f 0d 09 53 74 |refs dat|a.*/..St|
|00000490| 72 32 35 35 09 09 09 73 | 63 72 69 70 74 49 6e 63 |r255...s|criptInc|
|000004a0| 6c 75 64 65 46 69 6c 65 | 3b 09 2f 2f 20 74 68 65 |ludeFile|;.// the|
|000004b0| 20 6e 61 6d 65 20 6f 66 | 20 74 68 65 20 73 63 72 | name of| the scr|
|000004c0| 69 70 74 20 69 6e 63 6c | 75 64 65 20 66 69 6c 65 |ipt incl|ude file|
|000004d0| 0d 09 73 68 6f 72 74 09 | 09 09 6e 75 6d 45 78 74 |..short.|..numExt|
|000004e0| 65 6e 73 69 6f 6e 73 3b | 09 09 2f 2f 20 6e 75 6d |ensions;|..// num|
|000004f0| 62 65 72 20 6f 66 20 65 | 78 74 65 6e 73 69 6f 6e |ber of e|xtension|
|00000500| 73 0d 09 73 74 72 75 63 | 74 20 45 78 74 65 6e 73 |s..struc|t Extens|
|00000510| 69 6f 6e 45 6e 74 72 79 | 0d 09 7b 0d 09 09 53 74 |ionEntry|..{...St|
|00000520| 72 31 35 09 09 65 78 74 | 65 6e 73 69 6f 6e 3b 09 |r15..ext|ension;.|
|00000530| 09 09 2f 2f 20 65 78 74 | 65 6e 73 69 6f 6e 20 6f |..// ext|ension o|
|00000540| 66 20 74 68 65 73 65 20 | 66 69 6c 65 73 0d 09 09 |f these |files...|
|00000550| 53 74 72 33 31 09 09 73 | 63 61 6e 6e 65 72 3b 09 |Str31..s|canner;.|
|00000560| 09 09 2f 2f 20 73 63 61 | 6e 6e 65 72 20 66 6f 72 |..// sca|nner for|
|00000570| 20 69 6e 63 6c 75 64 65 | 20 66 69 6c 65 73 0d 09 | include| files..|
|00000580| 09 53 74 72 31 35 09 09 | 69 6e 63 6c 75 64 65 46 |.Str15..|includeF|
|00000590| 69 6c 65 41 72 67 3b 09 | 09 2f 2f 20 61 72 67 75 |ileArg;.|.// argu|
|000005a0| 6d 65 6e 74 20 70 72 65 | 66 69 78 20 66 6f 72 20 |ment pre|fix for |
|000005b0| 61 6e 20 69 6e 63 6c 75 | 64 65 20 66 69 6c 65 0d |an inclu|de file.|
|000005c0| 09 09 53 74 72 32 35 35 | 09 09 63 6f 6d 6d 61 6e |..Str255|..comman|
|000005d0| 64 54 65 6d 70 6c 61 74 | 65 3b 09 2f 2f 20 74 65 |dTemplat|e;.// te|
|000005e0| 6d 70 6c 61 74 65 20 63 | 6f 6d 6d 61 6e 64 20 66 |mplate c|ommand f|
|000005f0| 6f 72 20 54 6f 6f 6c 53 | 65 72 76 65 72 0d 09 7d |or ToolS|erver..}|
|00000600| 09 09 09 09 65 78 74 65 | 6e 73 69 6f 6e 73 5b 31 |....exte|nsions[1|
|00000610| 5d 3b 09 09 2f 2f 20 61 | 72 72 61 79 20 6f 66 20 |];..// a|rray of |
|00000620| 65 78 74 65 6e 73 69 6f | 6e 73 20 2d 2d 20 76 61 |extensio|ns -- va|
|00000630| 72 69 61 62 6c 65 20 73 | 69 7a 65 64 0d 7d 20 54 |riable s|ized.} T|
|00000640| 6f 6f 6c 46 72 6f 6e 74 | 45 6e 64 50 72 65 66 2c |oolFront|EndPref,|
|00000650| 20 2a 2a 54 6f 6f 6c 46 | 72 6f 6e 74 45 6e 64 50 | **ToolF|rontEndP|
|00000660| 72 65 66 48 61 6e 64 6c | 65 3b 0d 0d 0d 2f 2f 20 |refHandl|e;...// |
|00000670| 73 74 61 74 75 73 20 73 | 74 72 75 63 74 75 72 65 |status s|tructure|
|00000680| 20 70 61 73 73 65 64 20 | 61 72 6f 75 6e 64 20 69 | passed |around i|
|00000690| 6e 74 65 72 6e 61 6c 6c | 79 0d 0d 23 64 65 66 69 |nternall|y..#defi|
|000006a0| 6e 65 20 4d 41 58 46 4f | 4c 44 45 52 50 41 54 48 |ne MAXFO|LDERPATH|
|000006b0| 53 20 31 32 38 20 2f 2f | 20 67 65 74 20 72 65 61 |S 128 //| get rea|
|000006c0| 6c 2e 2e 2e 2e 0d 0d 74 | 79 70 65 64 65 66 20 73 |l......t|ypedef s|
|000006d0| 74 72 75 63 74 0d 7b 0d | 09 43 6f 6d 70 69 6c 65 |truct.{.|.Compile|
|000006e0| 72 50 61 72 61 6d 65 74 | 65 72 42 6c 6f 63 6b 20 |rParamet|erBlock |
|000006f0| 2a 63 70 62 3b 0d 09 6c | 6f 6e 67 20 6c 69 6e 65 |*cpb;..l|ong line|
|00000700| 63 6f 75 6e 74 3b 0d 09 | 73 68 6f 72 74 20 6e 75 |count;..|short nu|
|00000710| 6d 46 6f 6c 64 65 72 50 | 61 74 68 73 3b 0d 09 73 |mFolderP|aths;..s|
|00000720| 74 72 75 63 74 0d 09 7b | 0d 09 09 73 68 6f 72 74 |truct..{|...short|
|00000730| 20 76 52 65 66 4e 75 6d | 3b 0d 09 09 6c 6f 6e 67 | vRefNum|;...long|
|00000740| 20 64 69 72 49 44 3b 0d | 09 09 48 61 6e 64 6c 65 | dirID;.|..Handle|
|00000750| 20 70 61 74 68 3b 0d 09 | 7d 20 66 6f 6c 64 65 72 | path;..|} folder|
|00000760| 50 61 74 68 73 5b 4d 41 | 58 46 4f 4c 44 45 52 50 |Paths[MA|XFOLDERP|
|00000770| 41 54 48 53 5d 3b 0d 09 | 73 74 72 75 63 74 20 53 |ATHS];..|struct S|
|00000780| 63 61 6e 6e 65 72 53 74 | 61 74 75 73 20 2a 73 63 |cannerSt|atus *sc|
|00000790| 61 6e 53 74 61 74 75 73 | 3b 0d 7d 20 54 6f 6f 6c |anStatus|;.} Tool|
|000007a0| 46 72 6f 6e 74 45 6e 64 | 53 74 61 74 75 73 3b 0d |FrontEnd|Status;.|
|000007b0| 0d 0d 23 70 72 61 67 6d | 61 20 6f 70 74 69 6f 6e |..#pragm|a option|
|000007c0| 73 20 61 6c 69 67 6e 3d | 72 65 73 65 74 0d 0d 0d |s align=|reset...|
|000007d0| 23 65 6e 64 69 66 0d 0d | 00 00 00 00 00 00 00 00 |#endif..|........|
|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 |........|........|
|00000800| 00 00 01 00 00 00 01 54 | 00 00 00 54 00 00 00 46 |.......T|...T...F|
|00000810| 09 09 20 42 6f 6f 6c 65 | 61 6e 20 2a 72 65 61 64 |.. Boole|an *read|
|00000820| 4f 6e 6c 79 29 3b 0d 65 | 78 74 65 72 6e 20 42 6f |Only);.e|xtern Bo|
|00000830| 0e 54 6f 6f 6c 46 72 6f | 6e 74 45 6e 64 2e 68 74 |.ToolFro|ntEnd.ht|
|00000840| 02 00 00 00 54 45 58 54 | 43 57 49 45 01 00 ff ff |....TEXT|CWIE....|
|00000850| 00 00 54 45 58 54 43 57 | 49 45 01 00 ff ff ff ff |..TEXTCW|IE......|
|00000860| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000870| 00 00 ab 8a 07 0d 00 00 | 07 58 00 00 01 9a 65 72 |........|.X....er|
|00000880| 65 29 3b 0d 65 78 74 65 | 72 6e 20 42 6f 6f 6c 65 |e);.exte|rn Boole|
|00000890| 61 6e 20 4d 79 53 74 64 | 50 75 74 46 69 6c 65 28 |an MyStd|PutFile(|
|000008a0| 53 74 72 69 6e 67 50 74 | 72 20 70 72 6f 6d 70 74 |StringPt|r prompt|
|000008b0| 2c 20 53 74 72 69 6e 67 | 50 74 72 20 6e 61 6d 65 |, String|Ptr name|
|000008c0| 2c 20 0d 09 09 09 09 09 | 09 09 53 74 61 6e 64 61 |, ......|..Standa|
|000008d0| 72 64 46 69 6c 65 52 65 | 70 6c 79 20 2a 72 65 70 |rdFileRe|ply *rep|
|000008e0| 6c 79 2c 20 73 68 6f 72 | 74 20 77 68 65 72 65 29 |ly, shor|t where)|
|000008f0| 3b 0d 65 78 74 65 72 6e | 20 42 6f 6f 6c 65 61 6e |;.extern| Boolean|
|00000900| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 00 00 00 |...H..Mo|naco....|
|00000910| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000920| 00 00 00 00 00 00 00 03 | 00 04 00 28 00 0a 01 c2 |........|...(....|
|00000930| 02 80 00 28 00 0a 01 c2 | 02 80 ad 5b 69 67 00 00 |...(....|...[ig..|
|00000940| 06 f0 00 00 06 f7 00 00 | 05 8e 01 00 00 00 00 04 |........|........|
|00000950| 00 01 00 01 00 00 01 00 | 00 00 01 54 00 00 00 54 |........|...T...T|
|00000960| 00 00 00 46 01 98 17 90 | 32 ae 00 00 00 1c 00 46 |...F....|2......F|
|00000970| 00 01 4d 50 53 52 00 00 | 00 12 4d 57 42 42 00 00 |..MPSR..|..MWBB..|
|00000980| 00 1e 03 ed ff ff 00 00 | 00 00 00 00 00 00 03 f0 |........|........|
|00000990| ff ff 00 00 00 4c 00 00 | 00 00 00 00 00 00 00 00 |.....L..|........|
|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 |........|........|
+--------+-------------------------+-------------------------+--------+--------+