home *** CD-ROM | disk | FTP | other *** search
/ Australian Personal Computer 1999 July / APC47-2.ISO / mac / macamp / macamp.sit / MacAMP 1.0b7 ƒ / Visual Plugins Programming / LevelMeter++ / Source / visual.h < prev   
MacBinary  |  1999-01-30  |  6.8 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: visual.h

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Sat Jan 30 07:43:53 1999, modified Sat Jan 30 07:43:53 1999, creator 'CWIE', type ASCII, 6195 bytes "visual.h" , at 0x18b3 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 08 76 69 73 75 61 6c | 2e 68 00 00 00 00 00 00 |..visual|.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 18 33 00 | 00 01 9a b2 d8 af 09 b2 |......3.|........|
|00000060| d8 af 09 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 72 6c 00 00 |........|....rl..|
|00000080| 23 70 72 61 67 6d 61 20 | 6f 6e 63 65 0d 0d 2f 2a |#pragma |once../*|
|00000090| 0d 09 56 69 73 75 61 6c | 20 50 6c 75 67 2d 69 6e |..Visual| Plug-in|
|000000a0| 20 41 50 49 0d 09 a9 31 | 39 39 38 2c 20 40 73 6f | API...1|998, @so|
|000000b0| 66 74 0d 09 0d 09 44 65 | 73 63 72 69 70 74 69 6f |ft....De|scriptio|
|000000c0| 6e 3a 09 54 68 65 20 70 | 6c 75 67 69 6e 20 41 50 |n:.The p|lugin AP|
|000000d0| 49 20 66 6f 72 20 4d 61 | 63 41 6d 70 20 76 69 73 |I for Ma|cAmp vis|
|000000e0| 75 61 6c 20 70 6c 75 67 | 69 6e 73 2e 0d 09 56 65 |ual plug|ins...Ve|
|000000f0| 72 73 69 6f 6e 3a 09 09 | 31 2e 32 0d 09 52 65 6c |rsion:..|1.2..Rel|
|00000100| 65 61 73 65 64 3a 09 09 | 31 2f 33 30 2f 39 39 0d |eased:..|1/30/99.|
|00000110| 09 43 6f 6d 70 61 74 69 | 62 69 6c 69 74 79 3a 09 |.Compati|bility:.|
|00000120| 4d 61 63 41 6d 70 20 31 | 2e 30 62 37 2b 0d 09 56 |MacAmp 1|.0b7+..V|
|00000130| 65 72 73 69 6f 6e 20 68 | 69 73 74 6f 72 79 3a 0d |ersion h|istory:.|
|00000140| 09 0d 09 20 44 61 74 65 | 09 57 68 6f 09 09 43 68 |... Date|.Who..Ch|
|00000150| 61 6e 67 65 73 0d 09 2d | 2d 2d 2d 2d 2d 2b 2d 2d |anges..-|-----+--|
|00000160| 2d 2d 2d 2d 2b 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |----+---|--------|
|00000170| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000180| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000190| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 0d 09 30 31 33 |--------|---..013|
|000001a0| 30 39 39 09 53 4b 09 09 | 41 64 64 65 64 20 65 78 |099.SK..|Added ex|
|000001b0| 74 65 6e 64 65 64 20 73 | 74 75 66 66 20 66 6f 72 |tended s|tuff for|
|000001c0| 20 31 2e 31 20 70 6c 75 | 67 69 6e 73 2e 0d 09 30 | 1.1 plu|gins...0|
|000001d0| 39 30 35 39 38 09 53 4b | 09 09 43 6f 6d 6d 65 6e |90598.SK|..Commen|
|000001e0| 74 65 64 20 74 68 65 20 | 66 69 6c 65 2c 20 63 6c |ted the |file, cl|
|000001f0| 65 61 6e 65 64 20 74 68 | 65 20 75 6e 6e 65 73 65 |eaned th|e unnese|
|00000200| 73 73 61 72 79 20 73 74 | 75 66 66 2e 0d 09 30 39 |ssary st|uff...09|
|00000210| 30 31 39 38 20 20 53 4b | 09 09 49 6e 69 74 69 61 |0198 SK|..Initia|
|00000220| 6c 20 72 65 6c 65 61 73 | 65 0d 2a 2f 0d 0d 23 64 |l releas|e.*/..#d|
|00000230| 65 66 69 6e 65 20 56 50 | 5f 41 50 49 5f 56 45 52 |efine VP|_API_VER|
|00000240| 53 49 4f 4e 09 09 30 78 | 30 31 0d 23 64 65 66 69 |SION..0x|01.#defi|
|00000250| 6e 65 20 56 50 5f 45 58 | 54 5f 41 50 49 5f 56 45 |ne VP_EX|T_API_VE|
|00000260| 52 53 49 4f 4e 09 30 78 | 30 32 0d 0d 2f 2f 20 50 |RSION.0x|02..// P|
|00000270| 6c 75 67 69 6e 20 74 79 | 70 65 73 0d 65 6e 75 6d |lugin ty|pes.enum|
|00000280| 20 7b 0d 09 70 6c 75 67 | 56 69 73 75 61 6c 09 09 | {..plug|Visual..|
|00000290| 3d 20 27 76 69 73 21 27 | 09 2f 2f 20 56 69 73 75 |= 'vis!'|.// Visu|
|000002a0| 61 6c 20 70 6c 75 67 69 | 6e 0d 7d 3b 0d 0d 2f 2f |al plugi|n.};..//|
|000002b0| 20 50 6c 75 67 69 6e 20 | 72 65 74 75 72 6e 20 76 | Plugin |return v|
|000002c0| 61 6c 75 65 73 0d 65 6e | 75 6d 20 7b 0d 09 76 69 |alues.en|um {..vi|
|000002d0| 73 4e 6f 45 72 72 09 09 | 3d 20 6e 6f 45 72 72 2c |sNoErr..|= noErr,|
|000002e0| 0d 09 76 69 73 54 65 72 | 6d 69 6e 61 74 65 09 3d |..visTer|minate.=|
|000002f0| 20 31 2c 09 09 2f 2f 20 | 74 65 72 6d 69 6e 61 74 | 1,..// |terminat|
|00000300| 65 20 74 68 65 20 70 6c | 75 67 69 6e 0d 09 76 69 |e the pl|ugin..vi|
|00000310| 73 4e 6f 4d 65 6d 6f 72 | 79 09 09 3d 20 32 2c 09 |sNoMemor|y..= 2,.|
|00000320| 09 2f 2f 20 74 65 72 6d | 69 6e 61 74 65 20 74 68 |.// term|inate th|
|00000330| 65 20 70 6c 75 67 69 6e | 20 61 6e 64 20 64 69 73 |e plugin| and dis|
|00000340| 70 6c 61 79 20 6e 6f 20 | 6d 65 6d 6f 72 79 20 61 |play no |memory a|
|00000350| 6c 65 72 74 0d 09 09 2f | 2f 20 61 6c 6c 20 6f 74 |lert.../|/ all ot|
|00000360| 68 65 72 20 72 65 74 75 | 72 6e 73 20 77 69 6c 6c |her retu|rns will|
|00000370| 20 63 61 75 73 65 20 70 | 6c 75 67 69 6e 20 74 65 | cause p|lugin te|
|00000380| 72 6d 69 6e 61 74 69 6f | 6e 20 61 6e 64 20 22 75 |rminatio|n and "u|
|00000390| 6e 6b 6e 6f 77 6e 20 70 | 6c 75 67 69 6e 20 65 72 |nknown p|lugin er|
|000003a0| 72 6f 72 22 20 61 6c 65 | 72 74 2e 0d 09 0d 09 63 |ror" ale|rt.....c|
|000003b0| 61 6c 6c 62 61 63 6b 4e | 6f 53 6f 6e 67 09 3d 20 |allbackN|oSong.= |
|000003c0| 31 33 31 30 2c 09 09 2f | 2f 20 52 65 74 75 72 6e |1310,../|/ Return|
|000003d0| 65 64 20 62 79 20 63 61 | 6c 6c 62 61 63 6b 20 28 |ed by ca|llback (|
|000003e0| 73 65 65 20 62 65 6c 6f | 77 29 2c 20 69 66 20 79 |see belo|w), if y|
|000003f0| 6f 75 27 72 65 20 74 72 | 79 69 6e 67 20 74 6f 20 |ou're tr|ying to |
|00000400| 67 65 74 20 69 6e 66 6f | 72 6d 61 74 69 6f 6e 0d |get info|rmation.|
|00000410| 09 09 09 09 09 09 09 09 | 2f 2f 20 61 62 6f 75 74 |........|// about|
|00000420| 20 74 68 65 20 73 6f 6e | 67 20 77 68 69 6c 65 20 | the son|g while |
|00000430| 6e 6f 6e 65 20 69 73 20 | 70 6c 61 79 69 6e 67 2e |none is |playing.|
|00000440| 0d 09 63 61 6c 6c 62 61 | 63 6b 4e 6f 49 44 33 09 |..callba|ckNoID3.|
|00000450| 3d 20 31 33 31 31 09 09 | 2f 2f 20 52 65 74 75 72 |= 1311..|// Retur|
|00000460| 6e 65 64 20 62 79 20 63 | 61 6c 6c 62 61 63 6b 20 |ned by c|allback |
|00000470| 28 73 65 65 20 62 65 6c | 6f 77 29 20 63 61 6c 6c |(see bel|ow) call|
|00000480| 62 61 63 6b 2d 3e 67 65 | 74 49 44 33 2c 20 69 66 |back->ge|tID3, if|
|00000490| 20 6e 6f 20 49 44 33 20 | 74 61 67 20 69 6e 66 6f | no ID3 |tag info|
|000004a0| 72 6d 61 74 69 6f 6e 0d | 09 09 09 09 09 09 09 09 |rmation.|........|
|000004b0| 2f 2f 20 66 6f 72 20 74 | 68 65 20 73 6f 6e 67 20 |// for t|he song |
|000004c0| 69 73 20 70 72 65 73 65 | 6e 74 2e 20 4e 6f 74 65 |is prese|nt. Note|
|000004d0| 20 74 68 61 74 20 69 64 | 33 73 68 6f 72 74 20 69 | that id|3short i|
|000004e0| 73 20 73 74 69 6c 6c 20 | 76 61 6c 69 64 20 61 6e |s still |valid an|
|000004f0| 64 20 63 6f 6e 74 61 69 | 6e 73 0d 09 09 09 09 09 |d contai|ns......|
|00000500| 09 09 09 2f 2f 20 66 69 | 6c 65 20 6e 61 6d 65 2e |...// fi|le name.|
|00000510| 0d 7d 3b 0d 0d 2f 2f 20 | 70 6c 75 67 69 6e 20 66 |.};..// |plugin f|
|00000520| 6c 61 67 73 0d 65 6e 75 | 6d 20 7b 0d 09 66 6c 61 |lags.enu|m {..fla|
|00000530| 67 48 61 73 53 65 74 74 | 69 6e 67 73 09 09 3d 20 |gHasSett|ings..= |
|00000540| 30 78 30 31 2c 09 09 2f | 2f 20 50 6c 75 67 69 6e |0x01,../|/ Plugin|
|00000550| 20 63 61 6e 20 64 69 73 | 70 6c 61 79 20 61 6e 64 | can dis|play and|
|00000560| 20 68 61 6e 64 6c 65 20 | 73 65 74 74 69 6e 67 73 | handle |settings|
|00000570| 20 64 69 61 6c 6f 67 0d | 09 66 6c 61 67 47 65 74 | dialog.|.flagGet|
|00000580| 4b 65 79 44 6f 77 6e 09 | 09 3d 20 30 78 30 32 2c |KeyDown.|.= 0x02,|
|00000590| 09 09 2f 2f 20 50 6c 75 | 67 69 6e 20 77 61 6e 74 |..// Plu|gin want|
|000005a0| 73 20 74 6f 20 67 65 74 | 20 6b 65 79 64 6f 77 6e |s to get| keydown|
|000005b0| 20 65 76 65 6e 74 73 0d | 09 66 6c 61 67 47 65 74 | events.|.flagGet|
|000005c0| 49 64 6c 65 09 09 09 3d | 20 30 78 30 34 09 09 2f |Idle...=| 0x04../|
|000005d0| 2f 20 50 6c 75 67 69 6e | 20 77 61 6e 74 73 20 74 |/ Plugin| wants t|
|000005e0| 6f 20 67 65 74 20 69 64 | 6c 65 20 65 76 65 6e 74 |o get id|le event|
|000005f0| 73 0d 7d 3b 0d 0d 2f 2f | 20 46 75 6e 63 74 69 6f |s.};..//| Functio|
|00000600| 6e 20 70 72 6f 74 6f 74 | 79 70 65 73 20 28 73 65 |n protot|ypes (se|
|00000610| 65 20 64 75 6d 6d 79 20 | 70 6c 75 67 20 66 6f 72 |e dummy |plug for|
|00000620| 20 74 68 65 20 65 78 70 | 6c 61 6e 61 74 69 6f 6e | the exp|lanation|
|00000630| 73 29 0d 65 78 74 65 72 | 6e 20 4f 53 45 72 72 09 |s).exter|n OSErr.|
|00000640| 50 6c 75 67 49 6e 69 74 | 69 61 6c 69 7a 65 28 57 |PlugInit|ialize(W|
|00000650| 69 6e 64 6f 77 50 74 72 | 2a 20 77 69 6e 64 6f 77 |indowPtr|* window|
|00000660| 2c 20 46 53 53 70 65 63 | 50 74 72 20 70 6c 75 67 |, FSSpec|Ptr plug|
|00000670| 2c 20 55 49 6e 74 33 32 | 2a 20 72 65 66 63 6f 6e |, UInt32|* refcon|
|00000680| 29 3b 0d 65 78 74 65 72 | 6e 20 4f 53 45 72 72 09 |);.exter|n OSErr.|
|00000690| 50 6c 75 67 54 65 72 6d | 69 6e 61 74 65 28 57 69 |PlugTerm|inate(Wi|
|000006a0| 6e 64 6f 77 50 74 72 20 | 77 69 6e 64 6f 77 2c 20 |ndowPtr |window, |
|000006b0| 55 49 6e 74 33 32 2a 20 | 72 65 66 63 6f 6e 29 3b |UInt32* |refcon);|
|000006c0| 0d 65 78 74 65 72 6e 20 | 4f 53 45 72 72 09 50 6c |.extern |OSErr.Pl|
|000006d0| 75 67 50 72 6f 63 65 73 | 73 28 57 69 6e 64 6f 77 |ugProces|s(Window|
|000006e0| 50 74 72 20 77 69 6e 64 | 6f 77 2c 20 73 68 6f 72 |Ptr wind|ow, shor|
|000006f0| 74 20 63 68 61 6e 2c 20 | 63 6f 6e 73 74 20 64 6f |t chan, |const do|
|00000700| 75 62 6c 65 2a 20 73 74 | 72 65 61 6d 2c 20 73 68 |uble* st|ream, sh|
|00000710| 6f 72 74 20 64 61 74 61 | 53 69 7a 65 2c 20 55 49 |ort data|Size, UI|
|00000720| 6e 74 33 32 2a 20 72 65 | 66 63 6f 6e 29 3b 0d 65 |nt32* re|fcon);.e|
|00000730| 78 74 65 72 6e 20 4f 53 | 45 72 72 09 50 6c 75 67 |xtern OS|Err.Plug|
|00000740| 4d 61 63 45 76 65 6e 74 | 28 57 69 6e 64 6f 77 50 |MacEvent|(WindowP|
|00000750| 74 72 20 77 69 6e 64 6f | 77 2c 20 45 76 65 6e 74 |tr windo|w, Event|
|00000760| 52 65 63 6f 72 64 2a 20 | 65 76 65 6e 74 2c 20 55 |Record* |event, U|
|00000770| 49 6e 74 33 32 2a 20 72 | 65 66 63 6f 6e 29 3b 0d |Int32* r|efcon);.|
|00000780| 65 78 74 65 72 6e 20 4f | 53 45 72 72 09 50 6c 75 |extern O|SErr.Plu|
|00000790| 67 4b 65 79 44 6f 77 6e | 28 57 69 6e 64 6f 77 50 |gKeyDown|(WindowP|
|000007a0| 74 72 20 77 69 6e 64 6f | 77 2c 20 63 68 61 72 20 |tr windo|w, char |
|000007b0| 6b 65 79 2c 20 73 68 6f | 72 74 20 6d 6f 64 69 66 |key, sho|rt modif|
|000007c0| 69 65 72 73 2c 20 55 49 | 6e 74 33 32 2a 20 72 65 |iers, UI|nt32* re|
|000007d0| 66 63 6f 6e 29 3b 0d 65 | 78 74 65 72 6e 20 4f 53 |fcon);.e|xtern OS|
|000007e0| 45 72 72 09 50 6c 75 67 | 49 64 6c 65 28 57 69 6e |Err.Plug|Idle(Win|
|000007f0| 64 6f 77 50 74 72 20 77 | 69 6e 64 6f 77 2c 20 55 |dowPtr w|indow, U|
|00000800| 49 6e 74 33 32 2a 20 72 | 65 66 63 6f 6e 29 3b 0d |Int32* r|efcon);.|
|00000810| 65 78 74 65 72 6e 20 4f | 53 45 72 72 09 50 6c 75 |extern O|SErr.Plu|
|00000820| 67 53 65 74 74 69 6e 67 | 73 28 57 69 6e 64 6f 77 |gSetting|s(Window|
|00000830| 50 74 72 20 77 69 6e 64 | 6f 77 2c 20 55 49 6e 74 |Ptr wind|ow, UInt|
|00000840| 33 32 2a 20 72 65 66 63 | 6f 6e 29 3b 0d 65 78 74 |32* refc|on);.ext|
|00000850| 65 72 6e 20 4f 53 45 72 | 72 09 50 6c 75 67 41 62 |ern OSEr|r.PlugAb|
|00000860| 6f 75 74 28 57 69 6e 64 | 6f 77 50 74 72 20 77 69 |out(Wind|owPtr wi|
|00000870| 6e 64 6f 77 2c 20 55 49 | 6e 74 33 32 2a 20 72 65 |ndow, UI|nt32* re|
|00000880| 66 63 6f 6e 29 3b 0d 2f | 2f 20 a5 20 4e 45 57 20 |fcon);./|/ . NEW |
|00000890| 46 4f 52 20 31 2e 32 20 | a5 0d 2f 2f 20 47 65 74 |FOR 1.2 |..// Get|
|000008a0| 73 20 63 61 6c 6c 65 64 | 20 69 6d 6d 65 64 69 61 |s called| immedia|
|000008b0| 74 65 6c 79 20 62 65 66 | 6f 72 65 20 74 68 65 20 |tely bef|ore the |
|000008c0| 73 6f 6e 67 20 73 74 61 | 72 74 2e 20 59 6f 75 20 |song sta|rt. You |
|000008d0| 63 61 6e 20 6f 62 74 61 | 69 6e 20 49 44 33 20 69 |can obta|in ID3 i|
|000008e0| 6e 66 6f 72 6d 61 74 69 | 6f 6e 20 61 62 6f 75 74 |nformati|on about|
|000008f0| 20 74 68 65 20 74 72 61 | 63 6b 20 68 65 72 65 20 | the tra|ck here |
|00000900| 65 74 63 0d 2f 2f 20 69 | 66 20 79 6f 75 20 77 61 |etc.// i|f you wa|
|00000910| 6e 74 20 2d 2d 20 69 74 | 20 77 6f 6e 27 74 20 62 |nt -- it| won't b|
|00000920| 65 20 63 68 61 6e 67 65 | 64 20 75 6e 74 69 6c 20 |e change|d until |
|00000930| 6e 65 78 74 20 73 6f 6e | 67 20 73 74 61 72 74 73 |next son|g starts|
|00000940| 2e 0d 65 78 74 65 72 6e | 20 4f 53 45 72 72 09 50 |..extern| OSErr.P|
|00000950| 6c 75 67 53 6f 6e 67 53 | 74 61 72 74 28 57 69 6e |lugSongS|tart(Win|
|00000960| 64 6f 77 50 74 72 20 77 | 69 6e 64 6f 77 2c 20 55 |dowPtr w|indow, U|
|00000970| 49 6e 74 33 32 2a 20 72 | 65 66 63 6f 6e 29 3b 0d |Int32* r|efcon);.|
|00000980| 2f 2f 20 47 65 74 73 20 | 63 61 6c 6c 65 64 20 69 |// Gets |called i|
|00000990| 6d 6d 65 64 69 61 74 65 | 6c 79 20 61 66 74 65 72 |mmediate|ly after|
|000009a0| 20 74 68 65 20 73 6f 6e | 67 20 65 6e 64 2e 20 49 | the son|g end. I|
|000009b0| 74 20 69 73 20 61 20 67 | 6f 6f 64 20 69 64 65 61 |t is a g|ood idea|
|000009c0| 20 74 6f 20 63 6c 65 61 | 72 2f 73 74 6f 70 20 61 | to clea|r/stop a|
|000009d0| 6e 79 20 61 6e 69 6d 61 | 74 69 6f 6e 73 20 61 74 |ny anima|tions at|
|000009e0| 20 74 68 69 73 20 70 6f | 69 6e 74 0d 2f 2f 20 62 | this po|int.// b|
|000009f0| 65 63 61 75 73 65 20 79 | 6f 75 20 77 69 6c 6c 20 |ecause y|ou will |
|00000a00| 6e 6f 74 20 72 65 63 65 | 69 76 65 20 50 6c 75 67 |not rece|ive Plug|
|00000a10| 50 72 6f 63 65 73 73 20 | 63 61 6c 6c 73 20 75 6e |Process |calls un|
|00000a20| 74 69 6c 20 6e 65 78 74 | 20 73 6f 6e 67 20 69 73 |til next| song is|
|00000a30| 20 73 74 61 72 74 65 64 | 20 2d 2d 20 74 68 61 74 | started| -- that|
|00000a40| 20 63 61 6e 20 68 61 70 | 70 65 6e 20 69 6e 20 6f | can hap|pen in o|
|00000a50| 6e 65 0d 2f 2f 20 6d 69 | 6e 75 74 65 2f 6f 6e 65 |ne.// mi|nute/one|
|00000a60| 20 73 65 63 6f 6e 64 20 | 6f 72 20 6e 65 76 65 72 | second |or never|
|00000a70| 2e 20 59 6f 75 20 6e 65 | 76 65 72 20 6b 6e 6f 77 |. You ne|ver know|
|00000a80| 2e 20 3d 29 0d 65 78 74 | 65 72 6e 20 4f 53 45 72 |. =).ext|ern OSEr|
|00000a90| 72 09 50 6c 75 67 53 6f | 6e 67 45 6e 64 28 57 69 |r.PlugSo|ngEnd(Wi|
|00000aa0| 6e 64 6f 77 50 74 72 20 | 77 69 6e 64 6f 77 2c 20 |ndowPtr |window, |
|00000ab0| 55 49 6e 74 33 32 2a 20 | 72 65 66 63 6f 6e 29 3b |UInt32* |refcon);|
|00000ac0| 0d 0d 2f 2f 20 54 79 70 | 65 20 64 65 66 65 69 6e |..// Typ|e defein|
|00000ad0| 69 74 69 6f 6e 73 20 66 | 6f 72 20 70 6c 75 67 69 |itions f|or plugi|
|00000ae0| 6e 20 63 61 6c 6c 62 61 | 63 6b 73 2e 0d 74 79 70 |n callba|cks..typ|
|00000af0| 65 64 65 66 20 4f 53 45 | 72 72 09 28 2a 76 70 50 |edef OSE|rr.(*vpP|
|00000b00| 6c 75 67 49 6e 69 74 69 | 61 6c 69 7a 65 50 72 6f |lugIniti|alizePro|
|00000b10| 63 50 74 72 29 28 57 69 | 6e 64 6f 77 50 74 72 2a |cPtr)(Wi|ndowPtr*|
|00000b20| 20 77 69 6e 64 6f 77 2c | 20 46 53 53 70 65 63 50 | window,| FSSpecP|
|00000b30| 74 72 20 70 6c 75 67 2c | 20 55 49 6e 74 33 32 2a |tr plug,| UInt32*|
|00000b40| 20 72 65 66 63 6f 6e 29 | 3b 0d 74 79 70 65 64 65 | refcon)|;.typede|
|00000b50| 66 20 4f 53 45 72 72 09 | 28 2a 76 70 50 6c 75 67 |f OSErr.|(*vpPlug|
|00000b60| 54 65 72 6d 69 6e 61 74 | 65 50 72 6f 63 50 74 72 |Terminat|eProcPtr|
|00000b70| 29 28 57 69 6e 64 6f 77 | 50 74 72 20 77 69 6e 64 |)(Window|Ptr wind|
|00000b80| 6f 77 2c 20 55 49 6e 74 | 33 32 2a 20 72 65 66 63 |ow, UInt|32* refc|
|00000b90| 6f 6e 29 3b 0d 74 79 70 | 65 64 65 66 20 4f 53 45 |on);.typ|edef OSE|
|00000ba0| 72 72 09 28 2a 76 70 50 | 6c 75 67 50 72 6f 63 65 |rr.(*vpP|lugProce|
|00000bb0| 73 73 50 72 6f 63 50 74 | 72 29 28 57 69 6e 64 6f |ssProcPt|r)(Windo|
|00000bc0| 77 50 74 72 20 77 69 6e | 64 6f 77 2c 20 73 68 6f |wPtr win|dow, sho|
|00000bd0| 72 74 20 63 68 61 6e 2c | 20 63 6f 6e 73 74 20 64 |rt chan,| const d|
|00000be0| 6f 75 62 6c 65 2a 20 73 | 74 72 65 61 6d 2c 20 73 |ouble* s|tream, s|
|00000bf0| 68 6f 72 74 20 64 61 74 | 61 53 69 7a 65 2c 20 55 |hort dat|aSize, U|
|00000c00| 49 6e 74 33 32 2a 20 72 | 65 66 63 6f 6e 29 3b 0d |Int32* r|efcon);.|
|00000c10| 74 79 70 65 64 65 66 20 | 4f 53 45 72 72 09 28 2a |typedef |OSErr.(*|
|00000c20| 76 70 50 6c 75 67 4d 61 | 63 45 76 65 6e 74 50 72 |vpPlugMa|cEventPr|
|00000c30| 6f 63 50 74 72 29 28 57 | 69 6e 64 6f 77 50 74 72 |ocPtr)(W|indowPtr|
|00000c40| 20 77 69 6e 64 6f 77 2c | 20 45 76 65 6e 74 52 65 | window,| EventRe|
|00000c50| 63 6f 72 64 2a 20 65 76 | 65 6e 74 2c 20 55 49 6e |cord* ev|ent, UIn|
|00000c60| 74 33 32 2a 20 72 65 66 | 63 6f 6e 29 3b 0d 74 79 |t32* ref|con);.ty|
|00000c70| 70 65 64 65 66 20 4f 53 | 45 72 72 09 28 2a 76 70 |pedef OS|Err.(*vp|
|00000c80| 50 6c 75 67 4b 65 79 44 | 6f 77 6e 50 72 6f 63 50 |PlugKeyD|ownProcP|
|00000c90| 74 72 29 28 57 69 6e 64 | 6f 77 50 74 72 20 77 69 |tr)(Wind|owPtr wi|
|00000ca0| 6e 64 6f 77 2c 20 63 68 | 61 72 20 6b 65 79 2c 20 |ndow, ch|ar key, |
|00000cb0| 73 68 6f 72 74 20 6d 6f | 64 69 66 69 65 72 73 2c |short mo|difiers,|
|00000cc0| 20 55 49 6e 74 33 32 2a | 20 72 65 66 63 6f 6e 29 | UInt32*| refcon)|
|00000cd0| 3b 0d 74 79 70 65 64 65 | 66 20 4f 53 45 72 72 09 |;.typede|f OSErr.|
|00000ce0| 28 2a 76 70 50 6c 75 67 | 49 64 6c 65 50 72 6f 63 |(*vpPlug|IdleProc|
|00000cf0| 50 74 72 29 28 57 69 6e | 64 6f 77 50 74 72 20 77 |Ptr)(Win|dowPtr w|
|00000d00| 69 6e 64 6f 77 2c 20 55 | 49 6e 74 33 32 2a 20 72 |indow, U|Int32* r|
|00000d10| 65 66 63 6f 6e 29 3b 0d | 74 79 70 65 64 65 66 20 |efcon);.|typedef |
|00000d20| 4f 53 45 72 72 09 28 2a | 76 70 50 6c 75 67 53 65 |OSErr.(*|vpPlugSe|
|00000d30| 74 74 69 6e 67 73 50 72 | 6f 63 50 74 72 29 28 57 |ttingsPr|ocPtr)(W|
|00000d40| 69 6e 64 6f 77 50 74 72 | 20 77 69 6e 64 6f 77 2c |indowPtr| window,|
|00000d50| 20 55 49 6e 74 33 32 2a | 20 72 65 66 63 6f 6e 29 | UInt32*| refcon)|
|00000d60| 3b 0d 74 79 70 65 64 65 | 66 20 4f 53 45 72 72 09 |;.typede|f OSErr.|
|00000d70| 28 2a 76 70 50 6c 75 67 | 41 62 6f 75 74 50 72 6f |(*vpPlug|AboutPro|
|00000d80| 63 50 74 72 29 28 57 69 | 6e 64 6f 77 50 74 72 20 |cPtr)(Wi|ndowPtr |
|00000d90| 77 69 6e 64 6f 77 2c 20 | 55 49 6e 74 33 32 2a 20 |window, |UInt32* |
|00000da0| 72 65 66 63 6f 6e 29 3b | 0d 74 79 70 65 64 65 66 |refcon);|.typedef|
|00000db0| 20 4f 53 45 72 72 09 28 | 2a 76 70 50 6c 75 67 53 | OSErr.(|*vpPlugS|
|00000dc0| 6f 6e 67 53 74 61 72 74 | 50 72 6f 63 50 74 72 29 |ongStart|ProcPtr)|
|00000dd0| 28 57 69 6e 64 6f 77 50 | 74 72 20 77 69 6e 64 6f |(WindowP|tr windo|
|00000de0| 77 2c 20 55 49 6e 74 33 | 32 2a 20 72 65 66 63 6f |w, UInt3|2* refco|
|00000df0| 6e 29 3b 0d 74 79 70 65 | 64 65 66 20 4f 53 45 72 |n);.type|def OSEr|
|00000e00| 72 09 28 2a 76 70 50 6c | 75 67 53 6f 6e 67 45 6e |r.(*vpPl|ugSongEn|
|00000e10| 64 50 72 6f 63 50 74 72 | 29 28 57 69 6e 64 6f 77 |dProcPtr|)(Window|
|00000e20| 50 74 72 20 77 69 6e 64 | 6f 77 2c 20 55 49 6e 74 |Ptr wind|ow, UInt|
|00000e30| 33 32 2a 20 72 65 66 63 | 6f 6e 29 3b 0d 0d 2f 2f |32* refc|on);..//|
|00000e40| 20 a5 ca 4e 45 57 20 46 | 4f 52 20 31 2e 32 20 a5 | ..NEW F|OR 1.2 .|
|00000e50| 0d 2f 2f 20 54 68 65 73 | 65 20 61 72 65 20 74 79 |.// Thes|e are ty|
|00000e60| 70 65 64 65 66 73 20 66 | 6f 72 20 4d 61 63 41 4d |pedefs f|or MacAM|
|00000e70| 50 20 68 6f 6f 6b 20 72 | 6f 75 74 69 6e 65 73 2e |P hook r|outines.|
|00000e80| 20 49 66 20 79 6f 75 27 | 72 65 20 73 70 65 63 69 | If you'|re speci|
|00000e90| 66 69 65 64 20 56 50 5f | 45 58 54 5f 41 50 49 5f |fied VP_|EXT_API_|
|00000ea0| 56 45 52 53 49 4f 4e 20 | 69 6e 20 67 50 6c 75 67 |VERSION |in gPlug|
|00000eb0| 49 6e 66 6f 2e 61 70 69 | 2c 0d 2f 2f 20 74 68 65 |Info.api|,.// the|
|00000ec0| 73 65 20 77 69 6c 6c 20 | 62 65 20 66 69 6c 6c 65 |se will |be fille|
|00000ed0| 64 20 66 6f 72 20 79 6f | 75 20 62 79 20 4d 61 63 |d for yo|u by Mac|
|00000ee0| 41 4d 50 20 73 6f 20 79 | 6f 75 20 63 61 6e 20 63 |AMP so y|ou can c|
|00000ef0| 61 6c 6c 20 74 68 65 6d | 20 74 6f 20 6f 62 74 61 |all them| to obta|
|00000f00| 69 6e 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 20 61 |in infor|mation a|
|00000f10| 62 6f 75 74 20 74 68 65 | 20 63 75 72 72 65 6e 74 |bout the| current|
|00000f20| 0d 2f 2f 20 73 6f 6e 67 | 2e 0d 0d 2f 2f 20 54 68 |.// song|...// Th|
|00000f30| 69 73 20 63 61 6c 6c 62 | 61 63 6b 20 66 69 6c 6c |is callb|ack fill|
|00000f40| 73 20 74 68 65 20 46 53 | 53 70 65 63 2a 20 74 6f |s the FS|Spec* to|
|00000f50| 20 74 68 65 20 63 75 72 | 72 65 6e 74 6c 79 20 70 | the cur|rently p|
|00000f60| 6c 61 79 69 6e 67 20 73 | 6f 6e 67 20 6f 72 20 72 |laying s|ong or r|
|00000f70| 65 74 75 72 6e 73 20 63 | 61 6c 6c 62 61 63 6b 4e |eturns c|allbackN|
|00000f80| 6f 53 6f 6e 67 20 69 66 | 20 6e 6f 20 73 6f 6e 67 |oSong if| no song|
|00000f90| 0d 2f 2f 20 69 73 20 63 | 75 72 72 65 6e 74 6c 79 |.// is c|urrently|
|00000fa0| 20 70 6c 61 79 69 6e 67 | 2e 0d 74 79 70 65 64 65 | playing|..typede|
|00000fb0| 66 20 4f 53 45 72 72 09 | 28 2a 6d 61 47 65 74 43 |f OSErr.|(*maGetC|
|00000fc0| 75 72 72 65 6e 74 46 53 | 53 70 65 63 50 72 6f 63 |urrentFS|SpecProc|
|00000fd0| 50 74 72 29 28 46 53 53 | 70 65 63 2a 20 73 70 65 |Ptr)(FSS|pec* spe|
|00000fe0| 63 29 3b 0d 2f 2f 20 46 | 69 6c 6c 73 20 63 75 72 |c);.// F|ills cur|
|00000ff0| 72 65 6e 74 20 74 72 61 | 63 6b 20 74 69 6d 65 20 |rent tra|ck time |
|00001000| 28 65 69 74 68 65 72 20 | 72 65 61 6c 20 6f 72 20 |(either |real or |
|00001010| 72 65 76 65 72 73 65 2c | 20 64 65 70 65 6e 64 69 |reverse,| dependi|
|00001020| 6e 67 20 6f 6e 20 74 68 | 65 20 62 6f 6f 6c 20 73 |ng on th|e bool s|
|00001030| 65 74 74 69 6e 67 20 72 | 65 76 65 72 73 65 29 0d |etting r|everse).|
|00001040| 2f 2f 20 54 69 6d 65 20 | 69 73 20 69 6e 20 73 65 |// Time |is in se|
|00001050| 63 6f 6e 64 73 2e 20 59 | 6f 75 20 63 61 6e 20 67 |conds. Y|ou can g|
|00001060| 65 74 20 69 74 20 62 79 | 20 73 65 63 20 3d 20 28 |et it by| sec = (|
|00001070| 2a 74 69 6d 65 29 25 36 | 30 3b 20 6d 69 6e 20 3d |*time)%6|0; min =|
|00001080| 20 28 2a 74 69 6d 65 29 | 2f 36 30 3b 0d 2f 2f 20 | (*time)|/60;.// |
|00001090| 52 65 74 75 72 6e 73 20 | 63 61 6c 6c 62 61 63 6b |Returns |callback|
|000010a0| 4e 6f 53 6f 6e 67 20 69 | 66 20 6e 6f 20 73 6f 6e |NoSong i|f no son|
|000010b0| 67 20 69 73 20 70 6c 61 | 79 69 6e 67 2e 0d 74 79 |g is pla|ying..ty|
|000010c0| 70 65 64 65 66 20 4f 53 | 45 72 72 09 28 2a 6d 61 |pedef OS|Err.(*ma|
|000010d0| 47 65 74 43 75 72 72 65 | 6e 74 54 69 6d 65 50 72 |GetCurre|ntTimePr|
|000010e0| 6f 63 50 74 72 29 28 42 | 6f 6f 6c 65 61 6e 20 72 |ocPtr)(B|oolean r|
|000010f0| 65 76 65 72 73 65 2c 20 | 55 49 6e 74 33 32 2a 20 |everse, |UInt32* |
|00001100| 74 69 6d 65 29 3b 0d 2f | 2f 20 46 69 6c 6c 73 20 |time);./|/ Fills |
|00001110| 63 75 72 72 65 6e 74 20 | 74 72 61 63 6b 20 70 6f |current |track po|
|00001120| 73 69 74 69 6f 6e 2e 20 | 53 68 6f 72 74 20 77 69 |sition. |Short wi|
|00001130| 6c 6c 20 63 6f 6e 74 61 | 69 6e 20 74 68 65 20 70 |ll conta|in the p|
|00001140| 6f 73 69 74 69 6f 6e 20 | 69 6e 20 70 65 72 63 65 |osition |in perce|
|00001150| 6e 74 73 2c 20 69 6e 20 | 72 61 6e 67 65 20 6f 66 |nts, in |range of|
|00001160| 20 30 2d 31 30 30 2e 0d | 2f 2f 20 52 65 74 75 72 | 0-100..|// Retur|
|00001170| 6e 73 20 63 61 6c 6c 62 | 61 63 6b 4e 6f 53 6f 6e |ns callb|ackNoSon|
|00001180| 67 20 69 66 20 6e 6f 20 | 73 6f 6e 67 20 69 73 20 |g if no |song is |
|00001190| 70 6c 61 79 69 6e 67 2e | 0d 74 79 70 65 64 65 66 |playing.|.typedef|
|000011a0| 20 4f 53 45 72 72 09 28 | 2a 6d 61 47 65 74 43 75 | OSErr.(|*maGetCu|
|000011b0| 72 72 65 6e 74 50 6f 73 | 50 72 6f 63 50 74 72 29 |rrentPos|ProcPtr)|
|000011c0| 28 55 49 6e 74 31 36 2a | 20 70 6f 73 69 74 69 6f |(UInt16*| positio|
|000011d0| 6e 29 3b 0d 2f 2f 20 46 | 69 6c 6c 73 20 63 75 72 |n);.// F|ills cur|
|000011e0| 72 65 6e 74 20 74 72 61 | 63 6b 20 49 44 33 20 69 |rent tra|ck ID3 i|
|000011f0| 6e 66 6f 72 6d 61 74 69 | 6f 6e 2e 20 49 66 20 6e |nformati|on. If n|
|00001200| 6f 20 49 44 33 20 74 61 | 67 73 20 66 6f 75 6e 64 |o ID3 ta|gs found|
|00001210| 2c 20 6f 6e 6c 79 20 69 | 64 33 73 68 6f 72 74 20 |, only i|d3short |
|00001220| 69 73 20 66 69 6c 6c 65 | 64 20 61 6e 64 0d 2f 2f |is fille|d and.//|
|00001230| 20 63 61 6c 6c 62 61 63 | 6b 4e 6f 49 44 33 20 65 | callbac|kNoID3 e|
|00001240| 72 72 6f 72 20 69 73 20 | 72 65 74 75 72 6e 65 64 |rror is |returned|
|00001250| 2e 0d 2f 2f 20 69 64 33 | 73 68 6f 72 74 20 69 73 |..// id3|short is|
|00001260| 20 61 20 73 74 72 69 6e | 67 20 63 6f 6e 74 61 69 | a strin|g contai|
|00001270| 6e 69 6e 67 20 49 44 33 | 20 74 61 67 73 20 66 6f |ning ID3| tags fo|
|00001280| 72 6d 61 74 74 65 64 20 | 69 6e 20 66 6f 72 6d 0d |rmatted |in form.|
|00001290| 2f 2f 20 20 41 72 74 69 | 73 74 20 2d 20 54 69 74 |// Arti|st - Tit|
|000012a0| 6c 65 0d 2f 2f 20 69 64 | 33 6c 6f 6e 67 20 69 73 |le.// id|3long is|
|000012b0| 20 61 20 63 68 61 72 2a | 20 63 6f 6e 74 61 69 6e | a char*| contain|
|000012c0| 69 6e 67 20 66 75 6c 6c | 79 20 66 6f 72 6d 61 74 |ing full|y format|
|000012d0| 74 65 64 20 49 44 33 20 | 74 61 67 73 20 69 6e 20 |ted ID3 |tags in |
|000012e0| 66 6f 72 6d 0d 2f 2f 20 | 20 41 72 74 69 73 74 20 |form.// | Artist |
|000012f0| 2d 20 54 69 74 6c 65 20 | 2d 20 41 6c 62 75 6d 20 |- Title |- Album |
|00001300| 2d 20 59 65 61 72 0d 2f | 2f 20 4d 61 6b 65 20 73 |- Year./|/ Make s|
|00001310| 75 72 65 20 69 64 33 6c | 6f 6e 67 20 69 73 20 61 |ure id3l|ong is a|
|00001320| 74 20 6c 65 61 73 74 20 | 31 30 32 34 20 62 79 74 |t least |1024 byt|
|00001330| 65 73 20 6c 6f 6e 67 20 | 74 6f 20 61 76 6f 69 64 |es long |to avoid|
|00001340| 20 62 75 66 66 65 72 20 | 6f 76 65 72 66 6c 6f 77 | buffer |overflow|
|00001350| 2c 20 61 73 20 4d 41 20 | 64 6f 65 73 20 6e 6f 74 |, as MA |does not|
|00001360| 20 63 68 65 63 6b 73 0d | 2f 2f 20 66 6f 72 20 74 | checks.|// for t|
|00001370| 68 65 20 6c 65 6e 67 74 | 68 2e 0d 2f 2f 20 52 65 |he lengt|h..// Re|
|00001380| 74 75 72 6e 73 20 63 61 | 6c 6c 62 61 63 6b 4e 6f |turns ca|llbackNo|
|00001390| 53 6f 6e 67 20 69 66 20 | 6e 6f 20 73 6f 6e 67 20 |Song if |no song |
|000013a0| 69 73 20 70 6c 61 79 69 | 6e 67 2e 0d 74 79 70 65 |is playi|ng..type|
|000013b0| 64 65 66 20 4f 53 45 72 | 72 09 28 2a 6d 61 47 65 |def OSEr|r.(*maGe|
|000013c0| 74 49 44 33 49 6e 66 6f | 72 6d 61 74 69 6f 6e 50 |tID3Info|rmationP|
|000013d0| 72 6f 63 50 74 72 29 28 | 53 74 72 69 6e 67 50 74 |rocPtr)(|StringPt|
|000013e0| 72 20 69 64 33 73 68 6f | 72 74 2c 20 63 68 61 72 |r id3sho|rt, char|
|000013f0| 2a 20 69 64 33 6c 6f 6e | 67 29 3b 0d 2f 2f 20 52 |* id3lon|g);.// R|
|00001400| 65 74 75 72 6e 73 20 74 | 68 65 20 50 74 72 20 74 |eturns t|he Ptr t|
|00001410| 6f 20 71 64 20 67 6c 6f | 62 61 6c 73 2e 0d 74 79 |o qd glo|bals..ty|
|00001420| 70 65 64 65 66 20 51 44 | 47 6c 6f 62 61 6c 73 50 |pedef QD|GlobalsP|
|00001430| 74 72 20 28 2a 6d 61 47 | 65 74 51 44 50 74 72 50 |tr (*maG|etQDPtrP|
|00001440| 72 6f 63 50 74 72 29 28 | 76 6f 69 64 29 3b 0d 0d |rocPtr)(|void);..|
|00001450| 74 79 70 65 64 65 66 20 | 73 74 72 75 63 74 20 7b |typedef |struct {|
|00001460| 0d 09 6d 61 47 65 74 43 | 75 72 72 65 6e 74 46 53 |..maGetC|urrentFS|
|00001470| 53 70 65 63 50 72 6f 63 | 50 74 72 09 67 65 74 46 |SpecProc|Ptr.getF|
|00001480| 53 53 70 65 63 50 72 6f | 63 3b 0d 09 6d 61 47 65 |SSpecPro|c;..maGe|
|00001490| 74 43 75 72 72 65 6e 74 | 54 69 6d 65 50 72 6f 63 |tCurrent|TimeProc|
|000014a0| 50 74 72 09 09 67 65 74 | 43 75 72 72 65 6e 74 54 |Ptr..get|CurrentT|
|000014b0| 69 6d 65 50 72 6f 63 3b | 0d 09 6d 61 47 65 74 43 |imeProc;|..maGetC|
|000014c0| 75 72 72 65 6e 74 50 6f | 73 50 72 6f 63 50 74 72 |urrentPo|sProcPtr|
|000014d0| 09 09 67 65 74 43 75 72 | 72 65 6e 74 50 6f 73 50 |..getCur|rentPosP|
|000014e0| 72 6f 63 3b 0d 09 6d 61 | 47 65 74 49 44 33 49 6e |roc;..ma|GetID3In|
|000014f0| 66 6f 72 6d 61 74 69 6f | 6e 50 72 6f 63 50 74 72 |formatio|nProcPtr|
|00001500| 09 67 65 74 49 44 33 50 | 72 6f 63 3b 0d 09 6d 61 |.getID3P|roc;..ma|
|00001510| 47 65 74 51 44 50 74 72 | 50 72 6f 63 50 74 72 09 |GetQDPtr|ProcPtr.|
|00001520| 09 09 67 65 74 51 44 50 | 74 72 50 72 6f 63 3b 0d |..getQDP|trProc;.|
|00001530| 7d 20 4d 41 56 69 73 43 | 61 6c 6c 62 61 63 6b 73 |} MAVisC|allbacks|
|00001540| 2c 20 2a 4d 41 56 69 73 | 43 61 6c 6c 62 61 63 6b |, *MAVis|Callback|
|00001550| 73 50 74 72 3b 0d 0d 74 | 79 70 65 64 65 66 20 73 |sPtr;..t|ypedef s|
|00001560| 74 72 75 63 74 20 7b 0d | 09 55 49 6e 74 31 36 09 |truct {.|.UInt16.|
|00001570| 61 70 69 3b 09 09 09 09 | 09 09 09 09 2f 2f 20 41 |api;....|....// A|
|00001580| 50 49 20 75 73 65 64 2e | 20 53 68 6f 75 6c 64 20 |PI used.| Should |
|00001590| 63 6f 6e 74 61 69 6e 20 | 56 50 5f 45 58 54 5f 41 |contain |VP_EXT_A|
|000015a0| 50 49 5f 56 45 52 53 49 | 4f 4e 2e 0d 09 4f 53 54 |PI_VERSI|ON...OST|
|000015b0| 79 70 65 09 74 79 70 65 | 3b 09 09 09 09 09 09 09 |ype.type|;.......|
|000015c0| 09 2f 2f 20 50 6c 75 67 | 69 6e 20 74 79 70 65 2e |.// Plug|in type.|
|000015d0| 20 53 68 6f 75 6c 64 20 | 61 6c 77 61 79 73 20 62 | Should |always b|
|000015e0| 65 20 70 6c 75 67 56 69 | 73 75 61 6c 2e 0d 09 0d |e plugVi|sual....|
|000015f0| 09 55 49 6e 74 33 32 09 | 66 6c 61 67 73 3b 09 09 |.UInt32.|flags;..|
|00001600| 09 09 09 09 09 09 2f 2f | 20 50 6c 75 67 69 6e 20 |......//| Plugin |
|00001610| 66 6c 61 67 73 20 28 66 | 6c 61 67 58 58 58 20 63 |flags (f|lagXXX c|
|00001620| 6f 6e 73 74 61 6e 74 73 | 29 0d 09 55 49 6e 74 33 |onstants|)..UInt3|
|00001630| 32 09 67 6c 6f 62 52 65 | 66 63 6f 6e 3b 09 09 09 |2.globRe|fcon;...|
|00001640| 09 09 09 09 2f 2f 20 41 | 6e 79 20 67 6c 6f 62 61 |....// A|ny globa|
|00001650| 6c 20 72 65 66 63 6f 6e | 20 79 6f 75 20 77 69 73 |l refcon| you wis|
|00001660| 68 20 74 6f 20 75 73 65 | 2e 0d 09 0d 09 53 74 72 |h to use|.....Str|
|00001670| 36 33 09 6e 61 6d 65 3b | 09 09 09 09 09 09 09 09 |63.name;|........|
|00001680| 2f 2f 20 50 6c 75 67 69 | 6e 20 6e 61 6d 65 20 28 |// Plugi|n name (|
|00001690| 64 69 73 70 6c 61 79 65 | 64 20 69 6e 20 50 6c 75 |displaye|d in Plu|
|000016a0| 67 69 6e 20 6d 65 6e 75 | 29 0d 09 0d 09 09 2f 2f |gin menu|).....//|
|000016b0| 20 50 6f 69 6e 74 65 72 | 73 20 74 6f 20 70 6c 75 | Pointer|s to plu|
|000016c0| 67 69 6e 20 66 75 6e 63 | 74 69 6f 6e 73 2c 20 6f |gin func|tions, o|
|000016d0| 72 20 6e 69 6c 20 69 66 | 20 74 68 65 79 20 61 72 |r nil if| they ar|
|000016e0| 65 20 6e 6f 74 20 69 6d | 70 6c 65 6d 65 6e 74 65 |e not im|plemente|
|000016f0| 64 2e 0d 09 76 70 50 6c | 75 67 49 6e 69 74 69 61 |d...vpPl|ugInitia|
|00001700| 6c 69 7a 65 50 72 6f 63 | 50 74 72 09 09 69 6e 69 |lizeProc|Ptr..ini|
|00001710| 74 50 72 6f 63 3b 0d 09 | 76 70 50 6c 75 67 54 65 |tProc;..|vpPlugTe|
|00001720| 72 6d 69 6e 61 74 65 50 | 72 6f 63 50 74 72 09 09 |rminateP|rocPtr..|
|00001730| 74 65 72 6d 69 6e 61 74 | 65 50 72 6f 63 3b 0d 09 |terminat|eProc;..|
|00001740| 76 70 50 6c 75 67 50 72 | 6f 63 65 73 73 50 72 6f |vpPlugPr|ocessPro|
|00001750| 63 50 74 72 09 09 70 72 | 6f 63 65 73 73 50 72 6f |cPtr..pr|ocessPro|
|00001760| 63 3b 0d 09 76 70 50 6c | 75 67 4d 61 63 45 76 65 |c;..vpPl|ugMacEve|
|00001770| 6e 74 50 72 6f 63 50 74 | 72 09 09 6d 61 63 45 76 |ntProcPt|r..macEv|
|00001780| 65 6e 74 50 72 6f 63 3b | 0d 09 76 70 50 6c 75 67 |entProc;|..vpPlug|
|00001790| 4b 65 79 44 6f 77 6e 50 | 72 6f 63 50 74 72 09 09 |KeyDownP|rocPtr..|
|000017a0| 6b 65 79 44 6f 77 6e 50 | 72 6f 63 3b 0d 09 76 70 |keyDownP|roc;..vp|
|000017b0| 50 6c 75 67 49 64 6c 65 | 50 72 6f 63 50 74 72 09 |PlugIdle|ProcPtr.|
|000017c0| 09 09 69 64 6c 65 50 72 | 6f 63 3b 0d 09 76 70 50 |..idlePr|oc;..vpP|
|000017d0| 6c 75 67 53 65 74 74 69 | 6e 67 73 50 72 6f 63 50 |lugSetti|ngsProcP|
|000017e0| 74 72 09 09 73 65 74 74 | 69 6e 67 73 50 72 6f 63 |tr..sett|ingsProc|
|000017f0| 3b 0d 09 76 70 50 6c 75 | 67 41 62 6f 75 74 50 72 |;..vpPlu|gAboutPr|
|00001800| 6f 63 50 74 72 09 09 09 | 61 62 6f 75 74 50 72 6f |ocPtr...|aboutPro|
|00001810| 63 3b 0d 09 0d 09 2f 2f | 20 a5 ca 4e 45 57 20 46 |c;....//| ..NEW F|
|00001820| 4f 52 20 31 2e 32 20 a5 | 0d 09 76 70 50 6c 75 67 |OR 1.2 .|..vpPlug|
|00001830| 53 6f 6e 67 53 74 61 72 | 74 50 72 6f 63 50 74 72 |SongStar|tProcPtr|
|00001840| 09 09 73 6f 6e 67 53 74 | 61 72 74 50 72 6f 63 3b |..songSt|artProc;|
|00001850| 0d 09 76 70 50 6c 75 67 | 53 6f 6e 67 45 6e 64 50 |..vpPlug|SongEndP|
|00001860| 72 6f 63 50 74 72 09 09 | 73 6f 6e 67 45 6e 64 50 |rocPtr..|songEndP|
|00001870| 72 6f 63 3b 0d 09 0d 09 | 4d 41 56 69 73 43 61 6c |roc;....|MAVisCal|
|00001880| 6c 62 61 63 6b 73 50 74 | 72 09 09 09 63 61 6c 6c |lbacksPt|r...call|
|00001890| 62 61 63 6b 73 3b 0d 7d | 20 56 50 49 6e 66 6f 42 |backs;.}| VPInfoB|
|000018a0| 6c 6f 63 6b 2c 20 2a 56 | 50 49 6e 66 6f 50 74 72 |lock, *V|PInfoPtr|
|000018b0| 3b 0d 0d 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |;.......|........|
|000018c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001900| 00 00 01 00 00 00 01 54 | 00 00 00 54 00 00 00 46 |.......T|...T...F|
|00001910| 65 2e 20 49 66 20 74 68 | 65 20 69 6e 73 74 72 75 |e. If th|e instru|
|00001920| 63 74 69 6f 6e 73 20 74 | 65 6c 6c 20 79 6f 75 20 |ctions t|ell you |
|00001930| 08 76 69 73 75 61 6c 2e | 68 72 65 66 65 72 65 6e |.visual.|hreferen|
|00001940| 63 65 73 31 73 73 20 c4 | 66 6f 00 2e 29 73 73 6f |ces1ss .|fo..)sso|
|00001950| 02 69 54 45 58 54 43 57 | 49 45 01 00 00 00 00 01 |.iTEXTCW|IE......|
|00001960| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001970| 00 00 b1 a4 8c f8 00 00 | 04 18 00 00 01 ac 77 2e |........|......w.|
|00001980| 4c 54 6f 20 73 65 61 72 | 63 68 20 66 6f 72 20 68 |LTo sear|ch for h|
|00001990| 65 6c 70 20 62 61 73 65 | 64 20 6f 6e 20 74 68 65 |elp base|d on the|
|000019a0| 20 77 6f 72 64 20 6f 72 | 20 70 68 72 61 73 65 20 | word or| phrase |
|000019b0| 79 6f 75 20 74 79 70 65 | 64 2c 20 63 6c 69 63 6b |you type|d, click|
|000019c0| 20 74 68 69 73 20 62 75 | 74 74 6f 6e 2e 7e 53 65 | this bu|tton.~Se|
|000019d0| 61 72 63 68 20 66 6f 72 | 20 68 65 6c 70 20 62 61 |arch for| help ba|
|000019e0| 73 65 64 20 6f 6e 20 61 | 20 73 70 65 63 69 66 69 |sed on a| specifi|
|000019f0| 63 20 77 6f 72 64 20 6f | 72 20 70 68 72 61 73 65 |c word o|r phrase|
|00001a00| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 00 00 00 |...H..Mo|naco....|
|00001a10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001a20| 00 00 00 00 00 00 00 02 | 00 04 00 51 00 56 02 57 |........|...Q.V.W|
|00001a30| 03 01 00 51 00 56 02 57 | 03 01 b2 d8 76 c9 00 00 |...Q.V.W|....v...|
|00001a40| 14 ae 00 00 14 ae 00 00 | 10 e8 01 00 00 00 00 04 |........|........|
|00001a50| 00 01 00 01 00 00 01 00 | 00 00 01 54 00 00 00 54 |........|...T...T|
|00001a60| 00 00 00 46 07 40 c0 d8 | 41 5e 00 00 00 1c 00 46 |...F.@..|A^.....F|
|00001a70| 00 01 4d 50 53 52 00 00 | 00 12 4d 57 42 42 00 00 |..MPSR..|..MWBB..|
|00001a80| 00 1e 03 ed ff ff 00 00 | 00 00 00 00 00 00 03 f0 |........|........|
|00001a90| ff ff 00 00 00 4c 00 00 | 00 00 00 00 00 00 00 00 |.....L..|........|
|00001aa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001ab0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001ac0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001ad0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001ae0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001af0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+