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 23 / develop issue 23 code / projectdrag 1.1b8.sea / ProjectDrag 1.1b8 / Sources / ProjectDrag Sources / SourceServer.h < prev    next >
MacBinary  |  1995-07-07  |  2.3 KB  |  [TEXT/MPS ]

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, Fri Jul 7 12:57:13 1995, modified Fri Jul 7 12:57:13 1995, creator 'MPS ', type ASCII, 1602 bytes "SourceServer.h" , at 0x6c2 428 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[MPS ]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0e 53 6f 75 72 63 65 | 53 65 72 76 65 72 2e 68 |..Source|Server.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 4d 50 53 | 20 01 00 00 00 00 00 00 |.TEXTMPS| .......|
|00000050| 00 00 00 00 00 06 42 00 | 00 01 ac ac 23 17 e9 ac |......B.|....#...|
|00000060| 23 17 e9 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 04 1b 00 00 |........|........|
|00000080| 2f 2a 20 53 6f 75 72 63 | 65 53 65 72 76 65 72 2e |/* Sourc|eServer.|
|00000090| 68 3a 20 48 6f 77 20 74 | 6f 20 63 72 65 61 74 65 |h: How t|o create|
|000000a0| 20 61 6e 64 20 73 65 6e | 64 20 61 6e 20 41 70 70 | and sen|d an App|
|000000b0| 6c 65 45 76 65 6e 74 20 | 74 6f 20 53 6f 75 72 63 |leEvent |to Sourc|
|000000c0| 65 53 65 72 76 65 72 20 | 66 6f 72 20 50 72 6f 6a |eServer |for Proj|
|000000d0| 65 63 74 44 72 61 67 2e | 0d 20 2a 0d 20 2a 20 41 |ectDrag.|. *. * A|
|000000e0| 20 73 65 74 20 6f 66 20 | 61 70 70 6c 65 74 73 20 | set of |applets |
|000000f0| 66 6f 72 20 64 72 61 67 | 20 61 6e 64 20 64 72 6f |for drag| and dro|
|00000100| 70 20 73 6f 75 72 63 65 | 20 63 6f 6e 74 72 6f 6c |p source| control|
|00000110| 20 62 79 20 54 69 6d 20 | 4d 61 72 6f 6e 65 79 2e | by Tim |Maroney.|
|00000120| 0d 20 2a 20 53 65 65 20 | 64 65 76 65 6c 6f 70 2c |. * See |develop,|
|00000130| 20 69 73 73 75 65 20 32 | 33 20 66 6f 72 20 64 65 | issue 2|3 for de|
|00000140| 74 61 69 6c 73 2e 0d 20 | 2a 0d 20 2a 20 42 75 69 |tails.. |*. * Bui|
|00000150| 6c 74 20 6f 6e 20 44 72 | 6f 70 53 68 65 6c 6c 20 |lt on Dr|opShell |
|00000160| 62 79 20 4c 65 6f 6e 61 | 72 64 20 52 6f 73 65 6e |by Leona|rd Rosen|
|00000170| 74 68 6f 6c 2c 20 53 74 | 65 70 68 61 6e 20 53 6f |thol, St|ephan So|
|00000180| 6d 6f 67 79 69 2c 20 61 | 6e 64 20 4d 61 72 73 68 |mogyi, a|nd Marsh|
|00000190| 61 6c 6c 20 43 6c 6f 77 | 2c 0d 20 2a 20 61 6e 64 |all Clow|,. * and|
|000001a0| 20 75 73 69 6e 67 20 74 | 68 65 20 4d 6f 72 65 46 | using t|he MoreF|
|000001b0| 69 6c 65 73 20 75 74 69 | 6c 69 74 69 65 73 20 62 |iles uti|lities b|
|000001c0| 79 20 4a 69 6d 20 4c 75 | 74 68 65 72 2e 0d 20 2a |y Jim Lu|ther.. *|
|000001d0| 0d 20 2a 20 54 68 69 73 | 20 73 6f 66 74 77 61 72 |. * This| softwar|
|000001e0| 65 20 69 73 20 66 72 65 | 65 2c 20 62 75 74 20 64 |e is fre|e, but d|
|000001f0| 6f 6e 27 74 20 6d 6f 64 | 69 66 79 20 61 6e 64 20 |on't mod|ify and |
|00000200| 72 65 64 69 73 74 72 69 | 62 75 74 65 20 69 74 20 |redistri|bute it |
|00000210| 77 69 74 68 6f 75 74 0d | 20 2a 20 63 68 61 6e 67 |without.| * chang|
|00000220| 69 6e 67 20 74 68 65 20 | 73 74 61 74 75 73 20 77 |ing the |status w|
|00000230| 69 6e 64 6f 77 20 74 6f | 20 69 6e 64 69 63 61 74 |indow to| indicat|
|00000240| 65 20 79 6f 75 72 20 6e | 61 6d 65 20 61 6e 64 20 |e your n|ame and |
|00000250| 79 6f 75 72 20 63 68 61 | 6e 67 65 73 21 0d 20 2a |your cha|nges!. *|
|00000260| 2f 0d 20 0d 23 69 66 6e | 64 65 66 20 5f 5f 50 52 |/. .#ifn|def __PR|
|00000270| 4f 4a 45 43 54 44 52 41 | 47 5f 5f 0d 23 64 65 66 |OJECTDRA|G__.#def|
|00000280| 69 6e 65 20 5f 5f 50 52 | 4f 4a 45 43 54 44 52 41 |ine __PR|OJECTDRA|
|00000290| 47 5f 5f 0d 0d 23 69 6e | 63 6c 75 64 65 20 3c 54 |G__..#in|clude <T|
|000002a0| 79 70 65 73 2e 68 3e 0d | 23 69 6e 63 6c 75 64 65 |ypes.h>.|#include|
|000002b0| 20 3c 41 6c 69 61 73 65 | 73 2e 68 3e 0d 23 69 6e | <Aliase|s.h>.#in|
|000002c0| 63 6c 75 64 65 20 3c 41 | 70 70 6c 65 45 76 65 6e |clude <A|ppleEven|
|000002d0| 74 73 2e 68 3e 0d 23 69 | 6e 63 6c 75 64 65 20 3c |ts.h>.#i|nclude <|
|000002e0| 46 69 6c 65 73 2e 68 3e | 0d 0d 23 69 6e 63 6c 75 |Files.h>|..#inclu|
|000002f0| 64 65 20 22 50 44 55 74 | 69 6c 69 74 69 65 73 2e |de "PDUt|ilities.|
|00000300| 68 22 0d 0d 23 64 65 66 | 69 6e 65 20 6b 53 6f 75 |h"..#def|ine kSou|
|00000310| 72 63 65 53 65 72 76 65 | 72 43 72 65 61 74 6f 72 |rceServe|rCreator|
|00000320| 20 27 4d 50 53 50 27 0d | 23 64 65 66 69 6e 65 20 | 'MPSP'.|#define |
|00000330| 6b 53 6f 75 72 63 65 53 | 65 72 76 65 72 54 79 70 |kSourceS|erverTyp|
|00000340| 65 20 27 4d 50 53 50 27 | 0d 23 64 65 66 69 6e 65 |e 'MPSP'|.#define|
|00000350| 20 6b 50 72 6f 6a 65 63 | 74 6f 72 50 61 74 68 53 | kProjec|torPathS|
|00000360| 65 70 61 72 61 74 6f 72 | 20 30 78 42 41 0d 0d 4f |eparator| 0xBA..O|
|00000370| 53 45 72 72 20 53 6f 75 | 72 63 65 53 65 72 76 65 |SErr Sou|rceServe|
|00000380| 72 43 6f 6d 6d 61 6e 64 | 28 41 45 44 65 73 63 20 |rCommand|(AEDesc |
|00000390| 2a 63 6f 6d 6d 61 6e 64 | 2c 20 43 53 74 72 69 6e |*command|, CStrin|
|000003a0| 67 48 61 6e 64 6c 65 20 | 2a 6f 75 74 70 75 74 2c |gHandle |*output,|
|000003b0| 20 43 53 74 72 69 6e 67 | 48 61 6e 64 6c 65 20 2a | CString|Handle *|
|000003c0| 64 69 61 67 6e 6f 73 74 | 69 63 2c 0d 09 09 09 09 |diagnost|ic,.....|
|000003d0| 09 09 09 41 45 49 64 6c | 65 55 50 50 20 69 64 6c |...AEIdl|eUPP idl|
|000003e0| 65 50 72 6f 63 2c 20 41 | 45 46 69 6c 74 65 72 55 |eProc, A|EFilterU|
|000003f0| 50 50 20 66 69 6c 74 65 | 72 50 72 6f 63 29 3b 0d |PP filte|rProc);.|
|00000400| 0d 4f 53 45 72 72 20 43 | 72 65 61 74 65 43 6f 6d |.OSErr C|reateCom|
|00000410| 6d 61 6e 64 28 41 45 44 | 65 73 63 20 2a 63 6f 6d |mand(AED|esc *com|
|00000420| 6d 61 6e 64 2c 20 43 53 | 74 72 69 6e 67 20 63 6f |mand, CS|tring co|
|00000430| 6d 6d 61 6e 64 54 65 78 | 74 29 3b 0d 0d 4f 53 45 |mmandTex|t);..OSE|
|00000440| 72 72 20 41 64 64 43 6f | 6d 6d 65 6e 74 41 72 67 |rr AddCo|mmentArg|
|00000450| 28 41 45 44 65 73 63 20 | 2a 63 6f 6d 6d 61 6e 64 |(AEDesc |*command|
|00000460| 2c 20 53 74 72 69 6e 67 | 50 74 72 20 63 6f 6d 6d |, String|Ptr comm|
|00000470| 65 6e 74 29 3b 0d 4f 53 | 45 72 72 20 41 64 64 44 |ent);.OS|Err AddD|
|00000480| 69 72 41 72 67 28 41 45 | 44 65 73 63 20 2a 63 6f |irArg(AE|Desc *co|
|00000490| 6d 6d 61 6e 64 2c 20 73 | 68 6f 72 74 20 76 52 65 |mmand, s|hort vRe|
|000004a0| 66 4e 75 6d 2c 20 6c 6f | 6e 67 20 66 6f 6c 64 65 |fNum, lo|ng folde|
|000004b0| 72 49 44 29 3b 0d 4f 53 | 45 72 72 20 41 64 64 50 |rID);.OS|Err AddP|
|000004c0| 72 6f 6a 65 63 74 41 72 | 67 28 41 45 44 65 73 63 |rojectAr|g(AEDesc|
|000004d0| 20 2a 63 6f 6d 6d 61 6e | 64 2c 20 53 74 72 69 6e | *comman|d, Strin|
|000004e0| 67 50 74 72 20 70 72 6f | 6a 65 63 74 4e 61 6d 65 |gPtr pro|jectName|
|000004f0| 29 3b 0d 4f 53 45 72 72 | 20 41 64 64 55 73 65 72 |);.OSErr| AddUser|
|00000500| 41 72 67 28 41 45 44 65 | 73 63 20 2a 63 6f 6d 6d |Arg(AEDe|sc *comm|
|00000510| 61 6e 64 2c 20 53 74 72 | 69 6e 67 50 74 72 20 75 |and, Str|ingPtr u|
|00000520| 73 65 72 4e 61 6d 65 29 | 3b 0d 4f 53 45 72 72 20 |serName)|;.OSErr |
|00000530| 41 64 64 46 69 6c 65 4e | 61 6d 65 41 72 67 28 41 |AddFileN|ameArg(A|
|00000540| 45 44 65 73 63 20 2a 63 | 6f 6d 6d 61 6e 64 2c 20 |EDesc *c|ommand, |
|00000550| 46 53 53 70 65 63 20 2a | 66 69 6c 65 29 3b 0d 4f |FSSpec *|file);.O|
|00000560| 53 45 72 72 20 41 64 64 | 50 53 74 72 69 6e 67 41 |SErr Add|PStringA|
|00000570| 72 67 28 41 45 44 65 73 | 63 20 2a 63 6f 6d 6d 61 |rg(AEDes|c *comma|
|00000580| 6e 64 2c 20 53 74 72 69 | 6e 67 50 74 72 20 73 74 |nd, Stri|ngPtr st|
|00000590| 72 69 6e 67 29 3b 0d 4f | 53 45 72 72 20 41 64 64 |ring);.O|SErr Add|
|000005a0| 43 53 74 72 69 6e 67 41 | 72 67 28 41 45 44 65 73 |CStringA|rg(AEDes|
|000005b0| 63 20 2a 63 6f 6d 6d 61 | 6e 64 2c 20 43 53 74 72 |c *comma|nd, CStr|
|000005c0| 69 6e 67 20 73 74 72 69 | 6e 67 29 3b 0d 0d 4f 53 |ing stri|ng);..OS|
|000005d0| 45 72 72 20 4d 6f 75 6e | 74 50 72 6f 6a 65 63 74 |Err Moun|tProject|
|000005e0| 28 41 6c 69 61 73 48 61 | 6e 64 6c 65 20 70 72 6f |(AliasHa|ndle pro|
|000005f0| 6a 65 63 74 41 6c 69 61 | 73 29 3b 0d 4f 53 45 72 |jectAlia|s);.OSEr|
|00000600| 72 20 53 65 6e 64 43 6f | 6d 6d 61 6e 64 28 41 45 |r SendCo|mmand(AE|
|00000610| 44 65 73 63 20 2a 63 6f | 6d 6d 61 6e 64 29 3b 0d |Desc *co|mmand);.|
|00000620| 4f 53 45 72 72 20 4d 6f | 75 6e 74 50 72 6f 6a 65 |OSErr Mo|untProje|
|00000630| 63 74 46 72 6f 6d 43 4b | 49 44 28 43 4b 49 44 48 |ctFromCK|ID(CKIDH|
|00000640| 61 6e 64 6c 65 20 74 68 | 65 43 4b 49 44 2c 20 53 |andle th|eCKID, S|
|00000650| 74 72 69 6e 67 50 74 72 | 20 70 72 6f 6a 65 63 74 |tringPtr| project|
|00000660| 4e 61 6d 65 29 3b 0d 4f | 53 45 72 72 20 4d 6f 75 |Name);.O|SErr Mou|
|00000670| 6e 74 50 72 6f 6a 65 63 | 74 46 72 6f 6d 46 6f 6c |ntProjec|tFromFol|
|00000680| 64 65 72 28 73 68 6f 72 | 74 20 76 52 65 66 4e 75 |der(shor|t vRefNu|
|00000690| 6d 2c 20 6c 6f 6e 67 20 | 66 6f 6c 64 65 72 49 44 |m, long |folderID|
|000006a0| 2c 20 53 74 72 69 6e 67 | 50 74 72 20 70 72 6f 6a |, String|Ptr proj|
|000006b0| 65 63 74 4e 61 6d 65 29 | 3b 0d 0d 23 65 6e 64 69 |ectName)|;..#endi|
|000006c0| 66 0d 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |f.......|........|
|000006d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000700| 00 00 01 00 00 00 01 6e | 00 00 00 6e 00 00 00 3e |.......n|...n...>|
|00000710| 00 18 00 8e f2 cb 00 00 | 08 21 00 20 00 00 00 00 |........|.!. ....|
|00000720| 00 00 00 45 00 00 00 1a | 00 8e f2 e3 00 00 08 22 |...E....|......."|
|00000730| 0e 53 6f 75 72 63 65 53 | 65 72 76 65 72 2e 68 72 |.SourceS|erver.hr|
|00000740| 02 00 00 00 54 45 58 54 | 4d 50 53 20 01 00 ff ff |....TEXT|MPS ....|
|00000750| 00 00 54 45 58 54 4d 50 | 53 20 01 00 ff ff ff ff |..TEXTMP|S ......|
|00000760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000770| 00 00 ab d1 63 50 00 00 | 06 42 00 00 01 ac 00 28 |....cP..|.B.....(|
|00000780| 00 8e f3 5d 00 00 08 26 | 00 20 00 00 00 00 00 00 |...]...&|. ......|
|00000790| 00 45 00 00 00 1f 00 8e | f3 85 00 00 08 27 00 20 |.E......|.....'. |
|000007a0| 00 00 00 00 00 00 00 45 | 00 00 00 21 00 8e f3 a4 |.......E|...!....|
|000007b0| 00 00 08 28 00 20 00 00 | 00 00 00 00 00 45 00 00 |...(. ..|.....E..|
|000007c0| 00 1a 00 8e f3 c5 00 00 | 08 29 00 20 00 00 00 00 |........|.). ....|
|000007d0| 00 00 00 45 00 00 00 1c | 00 8e f3 df 00 00 08 2a |...E....|.......*|
|000007e0| 00 20 00 00 00 00 00 00 | 00 45 00 00 00 1d 00 8e |. ......|.E......|
|000007f0| f3 fb 00 00 08 2b 00 20 | 00 00 00 00 00 00 00 45 |.....+. |.......E|
|00000800| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 35 20 6f |...H..Mo|naco.5 o|
|00000810| 01 54 3f 80 74 2c 20 53 | 74 72 32 35 35 20 64 69 |.T?.t, S|tr255 di|
|00000820| 61 67 6e 6f 73 74 00 06 | 00 04 00 2a 00 05 02 61 |agnost..|...*...a|
|00000830| 02 01 00 2c 00 05 00 f8 | 02 7b ac 22 df a9 00 00 |...,....|.{."....|
|00000840| 05 4e 00 00 05 4e 00 00 | 01 fc 01 00 00 00 00 1e |.N...N..|........|
|00000850| 00 2a 00 05 02 61 02 01 | 00 2c 00 05 00 f8 02 7b |.*...a..|.,.....{|
|00000860| 00 00 01 fc 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000870| 01 00 00 00 01 6e 00 00 | 00 6e 00 00 00 3e 01 43 |.....n..|.n...>.C|
|00000880| 41 48 28 08 00 00 00 1c | 00 3e 00 00 4d 50 53 52 |AH(.....|.>..MPSR|
|00000890| 00 01 00 0a 03 ed ff ff | 00 00 00 00 00 00 00 00 |........|........|
|000008a0| 03 f0 ff ff 00 00 00 4c | 01 4d c8 1c 00 00 00 00 |.......L|.M......|
|000008b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+