[878] | 1 | /* SimpleLoadWave.rc -- resources for SimpleLoadWave on Windows |
---|
| 2 | |
---|
| 3 | This file is compiled by the resource compiler and creates XOP-specific |
---|
| 4 | resources that IGOR looks for in an XOP module. |
---|
| 5 | */ |
---|
| 6 | |
---|
| 7 | #include "XOPResources.h" // Defines XOP-specific symbols. |
---|
| 8 | |
---|
| 9 | /* Custom error messages */ |
---|
| 10 | 1100 STR# |
---|
| 11 | BEGIN |
---|
| 12 | "This is not a tab-delimited TEXT file.\0", // IMPROPER_FILE_TYPE |
---|
| 13 | "Could not find at least one row of wave data in the file.\0", // NO_DATA |
---|
| 14 | "Expected name of tab-delimited TEXT file.\0", // EXPECTED_TD_FILE |
---|
| 15 | "Expected base name for new waves.\0", // EXPECTED_BASENAME |
---|
| 16 | "SimpleLoadWave requires Igor Pro 6.00 or later.\0", // OLD_IGOR |
---|
| 17 | |
---|
| 18 | // More error messages can appear here. |
---|
| 19 | |
---|
| 20 | "\0" // NOTE: NULL required to terminate the resource. |
---|
| 21 | END |
---|
| 22 | |
---|
| 23 | /* Menu specification for XOP */ |
---|
| 24 | 1100 XMI1 // Describes simple menu items added by XOP to built-in IGOR menus. |
---|
| 25 | BEGIN |
---|
| 26 | 50, // IGOR menu ID (Data:Load Data submenu). |
---|
| 27 | "Load Simple Delimited File...\0", // Text of item to add to IGOR menu. |
---|
| 28 | 0, // Resource ID of 'MENU' resource in XOP for submenu to be attached to menu item or 0 for no submenu. |
---|
| 29 | 0, // Menu item flags. |
---|
| 30 | |
---|
| 31 | // More sets of ID/text/ID/flags can appear here. |
---|
| 32 | |
---|
| 33 | 0, // NOTE: 0 required to terminate the resource. |
---|
| 34 | END |
---|
| 35 | |
---|
| 36 | 1 STR# // Status line help for first item in XMI1 resource. |
---|
| 37 | BEGIN |
---|
| 38 | // The first string is displayed when the menu item is enabled. |
---|
| 39 | "Loads data from simple delimited text files into Igor waves.\0", |
---|
| 40 | |
---|
| 41 | // The second string is displayed when the menu item is disabled. |
---|
| 42 | "Loads data from simple delimited text files into Igor waves.\0", |
---|
| 43 | |
---|
| 44 | "\0" // NOTE: Null required to terminate the resource. |
---|
| 45 | END |
---|
| 46 | |
---|
| 47 | 1100 XOPI // XOPI - Describes general XOP properties to IGOR. |
---|
| 48 | BEGIN |
---|
| 49 | XOP_VERSION, // Version number of host XOP system. |
---|
| 50 | DEV_SYS_CODE, // Code for development system used to make XOP. |
---|
| 51 | 0, // Obsolete - set to zero. |
---|
| 52 | 0, // Obsolete - set to zero. |
---|
| 53 | XOP_TOOLKIT_VERSION // XOP Toolkit version. |
---|
| 54 | END |
---|
| 55 | |
---|
| 56 | 1100 XOPC // Describes operations that the XOP adds to IGOR. |
---|
| 57 | BEGIN |
---|
| 58 | "SimpleLoadWave\0", |
---|
| 59 | utilOp | XOPOp | compilableOp, |
---|
| 60 | |
---|
| 61 | "\0" // NOTE: NULL required to terminate the resource. |
---|
| 62 | END |
---|