1 | /* XOP-specific resources for XOP1 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 | /* no custom error messages */ |
---|
10 | |
---|
11 | /* no menu item */ |
---|
12 | |
---|
13 | 1100 XOPI // XOPI - Describes general XOP properties to IGOR. |
---|
14 | BEGIN |
---|
15 | XOP_VERSION, // Version number of host XOP system. |
---|
16 | DEV_SYS_CODE, // Code for development system used to make XOP. |
---|
17 | 0, // Obsolete - set to zero. |
---|
18 | 0, // Obsolete - set to zero. |
---|
19 | XOP_TOOLKIT_VERSION // XOP Toolkit version. |
---|
20 | END |
---|
21 | |
---|
22 | 1100 STR# |
---|
23 | BEGIN |
---|
24 | /* [1] */ |
---|
25 | "SANSMonteCarlo requires Igor Pro 6.1 or later", |
---|
26 | /* [2] */ |
---|
27 | "Wave does not exist.", |
---|
28 | /* [3] */ |
---|
29 | "Coefficient wave must be double precision floating point.", |
---|
30 | /* Null to terminate resource */ |
---|
31 | "\0" |
---|
32 | END |
---|
33 | |
---|
34 | 1101 STR# |
---|
35 | BEGIN |
---|
36 | "-1", // -1 means we don't want to add a menu item. |
---|
37 | "No Menu Item", // Igor ignores item 2 because item 1 is -1. |
---|
38 | "SANSMonteCarlo Help", // Name of XOP's help file. |
---|
39 | "\0" // Null to terminate resource |
---|
40 | END |
---|
41 | |
---|
42 | |
---|
43 | 1100 XOPF |
---|
44 | BEGIN |
---|
45 | /// |
---|
46 | "Monte_SANSX\0", /* function name */ |
---|
47 | F_UTIL | F_THREADSAFE | F_EXTERNAL, /* function category == UTILITY */ |
---|
48 | NT_FP64, /* return value type */ |
---|
49 | NT_FP64 + WAVE_TYPE, |
---|
50 | NT_FP64 + WAVE_TYPE, |
---|
51 | NT_FP64 + WAVE_TYPE, |
---|
52 | NT_FP64 + WAVE_TYPE, |
---|
53 | NT_FP64 + WAVE_TYPE, |
---|
54 | NT_FP64 + WAVE_TYPE, |
---|
55 | NT_FP64 + WAVE_TYPE, |
---|
56 | NT_FP64 + WAVE_TYPE, |
---|
57 | 0, |
---|
58 | |
---|
59 | "Monte_SANSX2\0", /* function name */ |
---|
60 | F_UTIL | F_THREADSAFE | F_EXTERNAL, /* function category == UTILITY */ |
---|
61 | NT_FP64, /* return value type */ |
---|
62 | NT_FP64 + WAVE_TYPE, |
---|
63 | NT_FP64 + WAVE_TYPE, |
---|
64 | NT_FP64 + WAVE_TYPE, |
---|
65 | NT_FP64 + WAVE_TYPE, |
---|
66 | NT_FP64 + WAVE_TYPE, |
---|
67 | NT_FP64 + WAVE_TYPE, |
---|
68 | NT_FP64 + WAVE_TYPE, |
---|
69 | NT_FP64 + WAVE_TYPE, |
---|
70 | 0, |
---|
71 | |
---|
72 | "DebyeSpheresX\0", /* function name */ |
---|
73 | F_UTIL | F_THREADSAFE | F_EXTERNAL, /* function category == Utility */ |
---|
74 | NT_FP64, /* return value type */ |
---|
75 | NT_FP64, /* double precision q-value */ |
---|
76 | NT_FP32 + WAVE_TYPE, /* single precision wave (x coordinates) */ |
---|
77 | NT_FP32 + WAVE_TYPE, /* single precision wave (y coordinates) */ |
---|
78 | NT_FP32 + WAVE_TYPE, /* single precision wave (z coordinates) */ |
---|
79 | NT_FP32 + WAVE_TYPE, /* single precision wave (rho at xyz) */ |
---|
80 | NT_FP64, // Rprimary, the primary sphere radius |
---|
81 | NT_FP64, // grid, should be passed as 0.62*Rprimary |
---|
82 | 0, |
---|
83 | |
---|
84 | "Monte_SANSX3\0", /* function name */ |
---|
85 | F_UTIL | F_THREADSAFE | F_EXTERNAL, /* function category == UTILITY */ |
---|
86 | NT_FP64, /* return value type */ |
---|
87 | NT_FP64 + WAVE_TYPE, |
---|
88 | NT_FP64 + WAVE_TYPE, |
---|
89 | NT_FP64 + WAVE_TYPE, |
---|
90 | NT_FP64 + WAVE_TYPE, |
---|
91 | NT_FP64 + WAVE_TYPE, |
---|
92 | NT_FP64 + WAVE_TYPE, |
---|
93 | NT_FP64 + WAVE_TYPE, |
---|
94 | NT_FP64 + WAVE_TYPE, |
---|
95 | 0, |
---|
96 | |
---|
97 | "Monte_SANSX4\0", /* function name */ |
---|
98 | F_UTIL | F_THREADSAFE | F_EXTERNAL, /* function category == UTILITY */ |
---|
99 | NT_FP64, /* return value type */ |
---|
100 | NT_FP64 + WAVE_TYPE, |
---|
101 | NT_FP64 + WAVE_TYPE, |
---|
102 | NT_FP64 + WAVE_TYPE, |
---|
103 | NT_FP64 + WAVE_TYPE, |
---|
104 | NT_FP64 + WAVE_TYPE, |
---|
105 | NT_FP64 + WAVE_TYPE, |
---|
106 | NT_FP64 + WAVE_TYPE, |
---|
107 | NT_FP64 + WAVE_TYPE, |
---|
108 | 0, |
---|
109 | |
---|
110 | 0, |
---|
111 | END |
---|