/ io Programmo 8
/ IOPROG_8.ISO / soft / sdkplnet / mac / macnpsdk.sit / PluginSDK / Examples / Framework / CMacPluginView.h ![]() | < prev | next > |
MacBinary | 1996-09-17 | 1.8 KB | [TEXT/CWIE] |
Confidence | Program | Detection | Match Type | Support |
---|---|---|---|---|
10% | dexvert | MacBinary (archive/macBinary) | fallback | Supported |
1% | dexvert | Text File (text/txt) | fallback | Supported |
100% | file | MacBinary II, inited, Tue Sep 17 16:07:16 1996, modified Tue Sep 17 16:07:16 1996, creator 'CWIE', type ASCII, 1041 bytes "CMacPluginView.h" magic text fragment for file(1) cmd, 1st line "#pragma once", 2nd line "", 3rd line "#include "Events.h"", 4th line "#include "Quickdraw.h"", 5th line "", at 0x491 410 bytes resource magic text fragment for file(1) cmd, 1st line "#pragma once", 2nd line "", 3rd line "#include "Events.h"", 4th line "#include "Quickdraw.h"", 5th line "" | 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 | |
---|---|
key | value |
macFileType | [TEXT] |
macFileCreator | [CWIE] |
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 10 43 4d 61 63 50 6c | 75 67 69 6e 56 69 65 77 |..CMacPl|uginView|
|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 01 00 00 00 00 00 00 |.TEXTCWI|E.......|
|00000050| 00 00 00 00 00 04 11 00 | 00 01 9a ae 64 b5 74 ae |........|....d.t.|
|00000060| 64 b5 74 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |d.t.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 65 5a 00 00 |........|....eZ..|
|00000080| 23 70 72 61 67 6d 61 20 | 6f 6e 63 65 0a 0a 23 69 |#pragma |once..#i|
|00000090| 6e 63 6c 75 64 65 20 22 | 45 76 65 6e 74 73 2e 68 |nclude "|Events.h|
|000000a0| 22 0a 23 69 6e 63 6c 75 | 64 65 20 22 51 75 69 63 |".#inclu|de "Quic|
|000000b0| 6b 64 72 61 77 2e 68 22 | 0a 0a 23 69 66 6e 64 65 |kdraw.h"|..#ifnde|
|000000c0| 66 20 5f 4e 50 41 50 49 | 5f 48 5f 0a 23 69 6e 63 |f _NPAPI|_H_.#inc|
|000000d0| 6c 75 64 65 20 22 6e 70 | 61 70 69 2e 68 22 0a 23 |lude "np|api.h".#|
|000000e0| 65 6e 64 69 66 0a 0a 23 | 69 6e 63 6c 75 64 65 20 |endif..#|include |
|000000f0| 22 43 50 6c 75 67 69 6e | 56 69 65 77 2e 68 22 0a |"CPlugin|View.h".|
|00000100| 0a 23 69 6e 63 6c 75 64 | 65 20 3c 4c 47 72 61 66 |.#includ|e <LGraf|
|00000110| 50 6f 72 74 56 69 65 77 | 2e 68 3e 0a 0a 63 6c 61 |PortView|.h>..cla|
|00000120| 73 73 20 43 4d 61 63 50 | 6c 75 67 69 6e 56 69 65 |ss CMacP|luginVie|
|00000130| 77 20 0a 3a 09 70 75 62 | 6c 69 63 20 43 50 6c 75 |w .:.pub|lic CPlu|
|00000140| 67 69 6e 56 69 65 77 2c | 0a 09 70 75 62 6c 69 63 |ginView,|..public|
|00000150| 20 4c 47 72 61 66 50 6f | 72 74 56 69 65 77 20 0a | LGrafPo|rtView .|
|00000160| 7b 0a 09 70 75 62 6c 69 | 63 3a 0a 09 09 73 74 61 |{..publi|c:...sta|
|00000170| 74 69 63 20 4e 50 45 72 | 72 6f 72 09 09 49 6e 69 |tic NPEr|ror..Ini|
|00000180| 74 69 61 6c 69 7a 65 28 | 29 3b 0a 09 09 0a 09 09 |tialize(|);......|
|00000190| 09 09 09 09 09 43 4d 61 | 63 50 6c 75 67 69 6e 56 |.....CMa|cPluginV|
|000001a0| 69 65 77 28 20 43 4e 65 | 74 73 63 61 70 65 50 6c |iew( CNe|tscapePl|
|000001b0| 75 67 69 6e 2a 20 63 6f | 6e 74 72 6f 6c 6c 65 72 |ugin* co|ntroller|
|000001c0| 2c 20 49 6e 74 31 36 20 | 69 6e 46 72 61 6d 65 54 |, Int16 |inFrameT|
|000001d0| 68 69 63 6b 6e 65 73 73 | 20 3d 20 32 20 29 3b 0a |hickness| = 2 );.|
|000001e0| 09 09 76 69 72 74 75 61 | 6c 09 09 09 09 7e 43 4d |..virtua|l....~CM|
|000001f0| 61 63 50 6c 75 67 69 6e | 56 69 65 77 28 29 3b 0a |acPlugin|View();.|
|00000200| 0a 2f 2f 20 43 50 6c 75 | 67 69 6e 56 69 65 77 20 |.// CPlu|ginView |
|00000210| 6d 65 74 68 6f 64 73 0a | 09 09 76 69 72 74 75 61 |methods.|..virtua|
|00000220| 6c 20 4e 50 45 72 72 6f | 72 09 09 53 65 74 57 69 |l NPErro|r..SetWi|
|00000230| 6e 64 6f 77 28 20 4e 50 | 57 69 6e 64 6f 77 2a 20 |ndow( NP|Window* |
|00000240| 77 69 6e 64 6f 77 20 29 | 3b 0a 09 09 76 69 72 74 |window )|;...virt|
|00000250| 75 61 6c 20 76 6f 69 64 | 09 09 50 61 69 6e 74 28 |ual void|..Paint(|
|00000260| 29 3b 0a 0a 2f 2f 20 43 | 4d 61 63 50 6c 75 67 69 |);..// C|MacPlugi|
|00000270| 6e 56 69 65 77 2d 73 70 | 65 63 69 66 69 63 20 6d |nView-sp|ecific m|
|00000280| 65 74 68 6f 64 73 0a 09 | 09 76 69 72 74 75 61 6c |ethods..|.virtual|
|00000290| 20 4e 50 42 6f 6f 6c 09 | 09 48 61 6e 64 6c 65 5f | NPBool.|.Handle_|
|000002a0| 45 76 65 6e 74 28 20 45 | 76 65 6e 74 52 65 63 6f |Event( E|ventReco|
|000002b0| 72 64 26 20 65 76 65 6e | 74 20 29 3b 09 09 0a 09 |rd& even|t );....|
|000002c0| 70 72 6f 74 65 63 74 65 | 64 3a 0a 09 09 76 69 72 |protecte|d:...vir|
|000002d0| 74 75 61 6c 20 4e 50 45 | 72 72 6f 72 20 09 48 61 |tual NPE|rror .Ha|
|000002e0| 6e 64 6c 65 5f 53 65 74 | 57 69 6e 64 6f 77 28 29 |ndle_Set|Window()|
|000002f0| 20 7b 20 72 65 74 75 72 | 6e 20 4e 50 45 52 52 5f | { retur|n NPERR_|
|00000300| 4e 4f 5f 45 52 52 4f 52 | 3b 20 7d 3b 0a 09 09 76 |NO_ERROR|; };...v|
|00000310| 69 72 74 75 61 6c 20 4c | 50 61 6e 65 2a 09 09 43 |irtual L|Pane*..C|
|00000320| 72 65 61 74 65 43 6f 6e | 74 65 6e 74 50 61 6e 65 |reateCon|tentPane|
|00000330| 28 20 29 3b 09 09 0a 09 | 09 76 6f 69 64 09 09 09 |( );....|.void...|
|00000340| 09 52 65 63 61 6c 63 46 | 72 61 6d 65 4c 61 79 6f |.RecalcF|rameLayo|
|00000350| 75 74 28 29 3b 0a 0a 09 | 09 76 69 72 74 75 61 6c |ut();...|.virtual|
|00000360| 20 76 6f 69 64 09 09 55 | 70 64 61 74 65 50 6f 72 | void..U|pdatePor|
|00000370| 74 28 29 3b 0a 09 09 0a | 09 09 76 69 72 74 75 61 |t();....|..virtua|
|00000380| 6c 20 76 6f 69 64 09 09 | 44 72 61 77 53 65 6c 66 |l void..|DrawSelf|
|00000390| 28 29 3b 0a 09 09 76 69 | 72 74 75 61 6c 20 76 6f |();...vi|rtual vo|
|000003a0| 69 64 09 09 41 63 74 69 | 76 61 74 65 53 65 6c 66 |id..Acti|vateSelf|
|000003b0| 28 29 3b 0a 09 09 76 69 | 72 74 75 61 6c 20 76 6f |();...vi|rtual vo|
|000003c0| 69 64 09 09 44 65 61 63 | 74 69 76 61 74 65 53 65 |id..Deac|tivateSe|
|000003d0| 6c 66 28 29 3b 0a 0a 09 | 09 43 47 72 61 66 50 74 |lf();...|.CGrafPt|
|000003e0| 72 09 09 09 47 65 74 4e | 65 74 73 63 61 70 65 47 |r...GetN|etscapeG|
|000003f0| 72 61 66 50 6f 72 74 28 | 29 20 7b 20 72 65 74 75 |rafPort(|) { retu|
|00000400| 72 6e 20 28 28 4e 50 5f | 50 6f 72 74 2a 29 28 6d |rn ((NP_|Port*)(m|
|00000410| 4e 65 74 73 63 61 70 65 | 57 69 6e 64 6f 77 2d 3e |Netscape|Window->|
|00000420| 77 69 6e 64 6f 77 29 29 | 2d 3e 70 6f 72 74 3b 20 |window))|->port; |
|00000430| 7d 3b 0a 09 09 0a 09 09 | 73 68 6f 72 74 09 09 09 |};......|short...|
|00000440| 09 6d 46 72 61 6d 65 50 | 65 6e 54 68 69 63 6b 6e |.mFrameP|enThickn|
|00000450| 65 73 73 3b 0a 09 09 4e | 50 57 69 6e 64 6f 77 2a |ess;...N|PWindow*|
|00000460| 09 09 09 6d 4e 65 74 73 | 63 61 70 65 57 69 6e 64 |...mNets|capeWind|
|00000470| 6f 77 3b 0a 09 09 4c 50 | 61 6e 65 2a 09 09 09 09 |ow;...LP|ane*....|
|00000480| 6d 43 6f 6e 74 65 6e 74 | 50 61 6e 65 3b 0a 7d 3b |mContent|Pane;.};|
|00000490| 0a 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 00 01 00 00 00 01 54 | 00 00 00 54 00 00 00 46 |.......T|...T...F|
|00000510| 00 22 20 00 41 53 55 4c | 4c 49 56 41 4e 40 68 6f |." .ASUL|LIVAN@ho|
|00000520| 75 73 69 6e 67 2e 75 63 | 73 63 2e 65 64 75 3e 00 |using.uc|sc.edu>.|
|00000530| 10 43 4d 61 63 50 6c 75 | 67 69 6e 56 69 65 77 2e |.CMacPlu|ginView.|
|00000540| 68 56 02 00 02 00 54 45 | 58 54 43 57 49 45 01 00 |hV....TE|XTCWIE..|
|00000550| 02 00 54 45 58 54 43 57 | 49 45 01 00 00 1a 00 45 |..TEXTCW|IE.....E|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 ae 08 2b 76 00 00 | 04 11 00 00 01 9a 00 00 |....+v..|........|
|00000580| 0b 0e 12 09 00 00 00 00 | 00 00 00 00 00 00 00 15 |........|........|
|00000590| 63 51 00 00 01 15 00 00 | 00 ce 09 00 54 68 75 72 |cQ......|....Thur|
|000005a0| 73 64 61 79 2d 30 37 30 | 30 00 00 00 00 00 00 00 |sday-070|0.......|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 ae 14 66 2a |........|......f*|
|000005c0| 48 00 02 ba 00 00 00 00 | 00 00 00 00 00 00 ff ff |H.......|........|
|000005d0| 00 00 00 00 00 00 fe 5c | 00 00 00 00 06 77 61 72 |.......\|.....war|
|000005e0| 72 65 6e 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |ren.....|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 00 00 00 |...H..Mo|naco....|
|00000610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000620| 00 00 00 00 00 00 00 03 | 00 04 00 5a 00 04 02 f4 |........|...Z....|
|00000630| 03 09 00 5a 00 04 02 f4 | 03 09 ae 64 7d 35 00 00 |...Z....|...d}5..|
|00000640| 00 00 00 00 00 00 00 00 | 00 00 01 00 00 00 00 04 |........|........|
|00000650| 00 01 00 01 00 00 01 00 | 00 00 01 54 00 00 00 54 |........|...T...T|
|00000660| 00 00 00 46 04 7c 9f e8 | 20 52 00 00 00 1c 00 46 |...F.|..| R.....F|
|00000670| 00 01 4d 50 53 52 00 00 | 00 12 4d 57 42 42 00 00 |..MPSR..|..MWBB..|
|00000680| 00 1e 03 ed ff ff 00 00 | 00 00 00 00 00 00 03 f0 |........|........|
|00000690| ff ff 00 00 00 4c 00 00 | 00 00 00 00 00 00 00 00 |.....L..|........|
|000006a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|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 |........|........|
+--------+-------------------------+-------------------------+--------+--------+