1 | #include "XOPStandardHeaders.r" |
---|
2 | |
---|
3 | resource 'vers' (1) { /* XOP version info */ |
---|
4 | 0x01, 0x51, release, 0x00, 0, /* version bytes and country integer */ |
---|
5 | "1.51", |
---|
6 | "1.51, Copyright 1993-2010 WaveMetrics, Inc., all rights reserved." |
---|
7 | }; |
---|
8 | |
---|
9 | resource 'vers' (2) { /* Igor version info */ |
---|
10 | 0x05, 0x00, release, 0x00, 0, /* version bytes and country integer */ |
---|
11 | "6.00", |
---|
12 | "(for Igor 6.00 or later)" |
---|
13 | }; |
---|
14 | |
---|
15 | resource 'STR#' (1101) { // Misc strings that Igor looks for. |
---|
16 | { |
---|
17 | /* [1] */ |
---|
18 | "-1", // This item is no longer supported by the Carbon XOP Toolkit. |
---|
19 | /* [2] */ |
---|
20 | "---" , // This item is no longer supported by the Carbon XOP Toolkit. |
---|
21 | /* [3] */ |
---|
22 | "Event Load Wave", // Name of XOP's help file. |
---|
23 | } |
---|
24 | }; |
---|
25 | |
---|
26 | // Description of menu items added to built-in Igor menus. |
---|
27 | resource 'XMI1' (1100) { |
---|
28 | { |
---|
29 | 50, // Add item to menu with ID=50 (Load Waves menu). |
---|
30 | "Load Event File...", // This is text for added menu item. |
---|
31 | 0, // This item has no submenu. |
---|
32 | 0, // Flags field. |
---|
33 | } |
---|
34 | }; |
---|
35 | |
---|
36 | /* Balloon strings for "Load Event File..." item */ |
---|
37 | resource 'STR#' (1110, "Load Event File...") { |
---|
38 | { |
---|
39 | /* [1] (used when menu item is enabled) */ |
---|
40 | "Loads data from .hst event files into Igor waves.\n" |
---|
41 | "Use the loader from the panel. DonÕt use this for real work.", |
---|
42 | |
---|
43 | /* [2] (used when menu item is disabled) */ |
---|
44 | "", /* item is never disabled */ |
---|
45 | |
---|
46 | /* [3] (used when menu item is checked) */ |
---|
47 | "", /* item is never checked */ |
---|
48 | |
---|
49 | /* [4] (used when menu item is marked) */ |
---|
50 | "", /* item is never marked */ |
---|
51 | } |
---|
52 | }; |
---|
53 | |
---|
54 | resource 'STR#' (1100) { /* custom error messages */ |
---|
55 | { |
---|
56 | /* [1] */ |
---|
57 | "This is not a tab-delimited TEXT file.", |
---|
58 | /* [2] */ |
---|
59 | "Could not find at least one row of wave data in the file.", |
---|
60 | /* [3] */ |
---|
61 | "Expected name of tab-delimited TEXT file.", |
---|
62 | /* [4] */ |
---|
63 | "Expected base name for new waves.", |
---|
64 | /* [5] */ |
---|
65 | "EventLoadWave requires Igor Pro 6.00 or later.", |
---|
66 | } |
---|
67 | }; |
---|
68 | |
---|
69 | resource 'XOPI' (1100) { |
---|
70 | XOP_VERSION, // XOP protocol version. |
---|
71 | DEV_SYS_CODE, // Development system information. |
---|
72 | 0, // Obsolete - set to zero. |
---|
73 | 0, // Obsolete - set to zero. |
---|
74 | XOP_TOOLKIT_VERSION, // XOP Toolkit version. |
---|
75 | }; |
---|
76 | |
---|
77 | resource 'XOPC' (1100) { |
---|
78 | { |
---|
79 | "EventLoadWave", /* name of operation */ |
---|
80 | XOPOp+UtilOP+compilableOp, /* operation's category */ |
---|
81 | } |
---|
82 | }; |
---|