author | Michael Krelin <hacker@klever.net> | 2012-12-08 21:19:17 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2012-12-11 21:59:29 (UTC) |
commit | 8808689fe340bec6e90ab13dd502292b0579cf1f (patch) (unidiff) | |
tree | 45b7c863151341f687b74e40bffcbd7ab5468783 /pumpkin.rc | |
parent | 6e7e413ca364d79673e523c09767c18e7cff1bec (diff) | |
download | pumpkin-osx/0.0.zip pumpkin-osx/0.0.tar.gz pumpkin-osx/0.0.tar.bz2 |
initial osx portosx/0.0
Signed-off-by: Michael Krelin <hacker@klever.net>
-rwxr-xr-x | pumpkin.rc | 689 |
1 files changed, 0 insertions, 689 deletions
diff --git a/pumpkin.rc b/pumpkin.rc deleted file mode 100755 index 6f01fdf..0000000 --- a/pumpkin.rc +++ b/dev/null | |||
@@ -1,689 +0,0 @@ | |||
1 | //Microsoft Developer Studio generated resource script. | ||
2 | // | ||
3 | #include "resource.h" | ||
4 | |||
5 | #define APSTUDIO_READONLY_SYMBOLS | ||
6 | ///////////////////////////////////////////////////////////////////////////// | ||
7 | // | ||
8 | // Generated from the TEXTINCLUDE 2 resource. | ||
9 | // | ||
10 | #include "afxres.h" | ||
11 | |||
12 | ///////////////////////////////////////////////////////////////////////////// | ||
13 | #undef APSTUDIO_READONLY_SYMBOLS | ||
14 | |||
15 | ///////////////////////////////////////////////////////////////////////////// | ||
16 | // English (U.S.) resources | ||
17 | |||
18 | #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) | ||
19 | #ifdef _WIN32 | ||
20 | LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US | ||
21 | #pragma code_page(1252) | ||
22 | #endif //_WIN32 | ||
23 | |||
24 | #ifdef APSTUDIO_INVOKED | ||
25 | ///////////////////////////////////////////////////////////////////////////// | ||
26 | // | ||
27 | // TEXTINCLUDE | ||
28 | // | ||
29 | |||
30 | 1 TEXTINCLUDE DISCARDABLE | ||
31 | BEGIN | ||
32 | "resource.h\0" | ||
33 | END | ||
34 | |||
35 | 2 TEXTINCLUDE DISCARDABLE | ||
36 | BEGIN | ||
37 | "#include ""afxres.h""\r\n" | ||
38 | "\0" | ||
39 | END | ||
40 | |||
41 | 3 TEXTINCLUDE DISCARDABLE | ||
42 | BEGIN | ||
43 | "#define _AFX_NO_SPLITTER_RESOURCES\r\n" | ||
44 | "#define _AFX_NO_OLE_RESOURCES\r\n" | ||
45 | "#define _AFX_NO_TRACKER_RESOURCES\r\n" | ||
46 | "#define _AFX_NO_PROPERTY_RESOURCES\r\n" | ||
47 | "\r\n" | ||
48 | "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" | ||
49 | "#ifdef _WIN32\r\n" | ||
50 | "LANGUAGE 9, 1\r\n" | ||
51 | "#pragma code_page(1252)\r\n" | ||
52 | "#endif\r\n" | ||
53 | "#include ""res\\PumpKIN.rc2"" // non-Microsoft Visual C++ edited resources\r\n" | ||
54 | "#include ""afxres.rc"" // Standard components\r\n" | ||
55 | "#endif\0" | ||
56 | END | ||
57 | |||
58 | #endif // APSTUDIO_INVOKED | ||
59 | |||
60 | |||
61 | ///////////////////////////////////////////////////////////////////////////// | ||
62 | // | ||
63 | // Icon | ||
64 | // | ||
65 | |||
66 | // Icon with lowest ID value placed first to ensure application icon | ||
67 | // remains consistent on all systems. | ||
68 | IDI_RRQ ICON DISCARDABLE "res\\wrq.ico" | ||
69 | IDI_WRQ ICON DISCARDABLE "res\\rrq.ico" | ||
70 | IDI_BROWSE ICON DISCARDABLE "shared-data/browse-icon.ico" | ||
71 | IDR_MAINFRAME ICON DISCARDABLE "res\\pumpkin.ico" | ||
72 | IDI_PLAY ICON DISCARDABLE "shared-data/play-icon.ico" | ||
73 | IDI_UP ICON DISCARDABLE "res\\up.ico" | ||
74 | IDI_DOWN ICON DISCARDABLE "res\\down.ico" | ||
75 | IDI_REMOVE ICON DISCARDABLE "res\\remove.ico" | ||
76 | |||
77 | ///////////////////////////////////////////////////////////////////////////// | ||
78 | // | ||
79 | // Dialog | ||
80 | // | ||
81 | |||
82 | IDD_ABOUTBOX DIALOG DISCARDABLE 0, 0, 217, 74 | ||
83 | STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU | ||
84 | CAPTION "About PumpKIN" | ||
85 | FONT 8, "MS Sans Serif" | ||
86 | BEGIN | ||
87 | ICON IDR_MAINFRAME,IDC_STATIC,7,17,18,20 | ||
88 | LTEXT "PumpKIN, Version 2.7.3",IDC_STATIC,40,15,119,8, | ||
89 | SS_NOPREFIX | ||
90 | LTEXT "Copyright © 1997-2011 Klever Group",IDC_STATIC,40,30, | ||
91 | 170,8 | ||
92 | DEFPUSHBUTTON "OK",IDOK,178,7,32,14,WS_GROUP | ||
93 | PUSHBUTTON "http://www.klever.net/",IDC_KLEVERNET,124,53,86,14 | ||
94 | END | ||
95 | |||
96 | IDD_PUMPKIN_DIALOG DIALOGEX 0, 0, 362, 193 | ||
97 | STYLE DS_3DLOOK | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME | ||
98 | EXSTYLE WS_EX_ACCEPTFILES | WS_EX_APPWINDOW | ||
99 | CAPTION " PumpKIN" | ||
100 | FONT 8, "MS Sans Serif", 0, 0, 0x1 | ||
101 | BEGIN | ||
102 | CONTROL "List1",IDC_CONNECTIONS,"SysListView32",LVS_REPORT | | ||
103 | LVS_AUTOARRANGE | WS_BORDER | WS_TABSTOP,7,7,295,108, | ||
104 | WS_EX_DLGMODALFRAME | ||
105 | PUSHBUTTON "&Get File",IDC_GET,305,7,50,17,BS_NOTIFY, | ||
106 | WS_EX_CLIENTEDGE | ||
107 | PUSHBUTTON "&Put File",IDC_PUT,305,25,50,17,BS_NOTIFY, | ||
108 | WS_EX_CLIENTEDGE | ||
109 | PUSHBUTTON "&Abort xfer",IDC_ABORT,305,43,50,17,BS_NOTIFY, | ||
110 | WS_EX_CLIENTEDGE | ||
111 | PUSHBUTTON "&Options",IDC_OPTIONS,305,61,50,17,BS_NOTIFY, | ||
112 | WS_EX_CLIENTEDGE | ||
113 | PUSHBUTTON "E&xit",IDC_EXIT,305,79,50,17,BS_NOTIFY,WS_EX_CLIENTEDGE | ||
114 | PUSHBUTTON "&Help",ID_HELP,305,97,50,17,BS_NOTIFY,WS_EX_CLIENTEDGE | ||
115 | LISTBOX IDC_LOG,7,115,348,64,LBS_USETABSTOPS | | ||
116 | LBS_NOINTEGRALHEIGHT | LBS_NOSEL | WS_VSCROLL | | ||
117 | WS_HSCROLL,WS_EX_DLGMODALFRAME | ||
118 | PUSHBUTTON "..",IDCANCEL,0,183,6,7,NOT WS_VISIBLE | NOT WS_TABSTOP | ||
119 | CONTROL "&Server is running",IDC_LISTENING,"Button", | ||
120 | BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_FLAT | WS_TABSTOP,286, | ||
121 | 181,69,11,WS_EX_TRANSPARENT | WS_EX_STATICEDGE | ||
122 | END | ||
123 | |||
124 | IDD_PROPS_SERVER DIALOG DISCARDABLE 0, 0, 300, 201 | ||
125 | STYLE WS_CHILD | WS_DISABLED | WS_CAPTION | ||
126 | CAPTION "Server" | ||
127 | FONT 8, "MS Sans Serif" | ||
128 | BEGIN | ||
129 | GROUPBOX "TFTP filesystem &root (download path)",IDC_STATIC,7,7, | ||
130 | 286,38 | ||
131 | EDITTEXT IDC_TFTPROOT,13,16,256,13,ES_AUTOHSCROLL | ||
132 | PUSHBUTTON "&B",IDC_BROWSE,274,16,13,13,BS_ICON | ||
133 | CONTROL "Allow access to &subdirectories",IDC_TFTPSUBDIRS, | ||
134 | "Button",BS_AUTOCHECKBOX | WS_TABSTOP,13,31,111,10 | ||
135 | GROUPBOX "Read Request Behavior",IDC_STATIC,7,48,243,56 | ||
136 | CONTROL "Give &all files",IDC_RRQ_GIVEALL,"Button", | ||
137 | BS_AUTORADIOBUTTON | BS_NOTIFY | WS_GROUP,13,63,53,10 | ||
138 | CONTROL "&Prompt before giving file",IDC_RRQ_ALWAYSCONFIRM, | ||
139 | "Button",BS_AUTORADIOBUTTON | BS_NOTIFY,43,75,91,10 | ||
140 | CONTROL "&Deny all requests",IDC_RRQ_DENYALL,"Button", | ||
141 | BS_AUTORADIOBUTTON | BS_NOTIFY,73,87,70,10 | ||
142 | GROUPBOX "Write Request Behavior",IDC_STATIC,7,106,243,56, | ||
143 | WS_GROUP | ||
144 | CONTROL "Take a&ll files",IDC_WRQ_TAKEALL,"Button", | ||
145 | BS_AUTORADIOBUTTON | WS_GROUP,13,116,55,10 | ||
146 | CONTROL "Prompt if file &exists",IDC_WRQ_PROMPTEXISTING,"Button", | ||
147 | BS_AUTORADIOBUTTON,43,126,73,10 | ||
148 | CONTROL "Always pro&mpt before accepting file", | ||
149 | IDC_WRQ_ALWAYSCONFIRM,"Button",BS_AUTORADIOBUTTON,73,136, | ||
150 | 139,10 | ||
151 | CONTROL "D&eny all requests",IDC_WRQ_DENYALL,"Button", | ||
152 | BS_AUTORADIOBUTTON,103,146,70,10 | ||
153 | CTEXT "Confirmation &timeout",IDC_STATIC,253,52,40,19, | ||
154 | SS_NOTIFY | ||
155 | CONTROL "Slider1",IDC_PROMPTTIMEOUT,"msctls_trackbar32", | ||
156 | TBS_AUTOTICKS | TBS_VERT | TBS_TOP | WS_TABSTOP,272,72, | ||
157 | 21,90 | ||
158 | GROUPBOX "Log file (leave empty to disable logging to file)", | ||
159 | IDC_STATIC,7,165,286,29 | ||
160 | EDITTEXT IDC_LOGFILE,13,175,256,13,ES_AUTOHSCROLL | ||
161 | PUSHBUTTON "",IDC_LOGFILE_BROWSE,274,175,13,13,BS_ICON | ||
162 | END | ||
163 | |||
164 | IDD_PROPS_NETWORK DIALOG DISCARDABLE 0, 0, 300, 201 | ||
165 | STYLE WS_CHILD | WS_DISABLED | WS_CAPTION | ||
166 | CAPTION "Network" | ||
167 | FONT 8, "MS Sans Serif" | ||
168 | BEGIN | ||
169 | GROUPBOX "UDP Ports",IDC_STATIC,7,7,286,55 | ||
170 | RTEXT "Listen for &incoming requests on port:",IDC_STATIC,13, | ||
171 | 18,135,8 | ||
172 | EDITTEXT IDC_LISTENPORT,154,16,61,13,ES_AUTOHSCROLL | ||
173 | CONTROL "Spin1",IDC_LISTENSPIN,"msctls_updown32",UDS_WRAP | | ||
174 | UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | | ||
175 | UDS_ARROWKEYS | UDS_NOTHOUSANDS,204,16,11,13 | ||
176 | RTEXT "Send &outging requests to port:",IDC_STATIC,13,46,135,8 | ||
177 | EDITTEXT IDC_SPEAKPORT,154,44,61,13,ES_AUTOHSCROLL | ||
178 | CONTROL "Spin1",IDC_SPEAKSPIN,"msctls_updown32",UDS_WRAP | | ||
179 | UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | | ||
180 | UDS_ARROWKEYS | UDS_NOTHOUSANDS,204,43,11,13 | ||
181 | LTEXT "Default connection timeout:",IDC_STATIC,7,66,88,8 | ||
182 | EDITTEXT IDC_TIMEOUT,110,64,40,13,ES_AUTOHSCROLL | ES_NUMBER | ||
183 | CONTROL "Spin3",IDC_TIMESPIN,"msctls_updown32",UDS_WRAP | | ||
184 | UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | | ||
185 | UDS_ARROWKEYS | UDS_NOTHOUSANDS,140,64,11,13 | ||
186 | LTEXT "Default block size:",IDC_STATIC,7,80,59,8 | ||
187 | LTEXT "seconds",IDC_STATIC,154,66,28,8 | ||
188 | LTEXT "bytes",IDC_STATIC,154,80,18,8 | ||
189 | EDITTEXT IDC_BLOCKSIZE,110,78,40,13,ES_AUTOHSCROLL | ES_NUMBER | ||
190 | CONTROL "Spin3",IDC_BSIZESPIN,"msctls_updown32",UDS_WRAP | | ||
191 | UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | | ||
192 | UDS_ARROWKEYS | UDS_NOTHOUSANDS,140,78,11,13 | ||
193 | RTEXT "ip address:",IDC_STATIC,13,32,135,8 | ||
194 | EDITTEXT IDC_LISTENADDRESS,154,28,61,14,ES_AUTOHSCROLL | ||
195 | END | ||
196 | |||
197 | IDD_CONFIRM_RRQ DIALOGEX 0, 0, 181, 79 | ||
198 | STYLE DS_MODALFRAME | DS_NOIDLEMSG | DS_SETFOREGROUND | DS_3DLOOK | WS_POPUP | | ||
199 | WS_CAPTION | ||
200 | EXSTYLE WS_EX_TOOLWINDOW | WS_EX_CLIENTEDGE | ||
201 | CAPTION " PumpKIN - Confirm Read Request" | ||
202 | FONT 8, "MS Sans Serif", 0, 0, 0x1 | ||
203 | BEGIN | ||
204 | DEFPUSHBUTTON "&Grant Access",IDOK,27,58,54,14 | ||
205 | PUSHBUTTON "&Deny Access",IDCANCEL,97,58,54,14 | ||
206 | LTEXT "The host",IDC_STATIC,77,7,29,8 | ||
207 | CTEXT "255.255.255.255",IDC_HOST,57,15,68,14,SS_NOTIFY | | ||
208 | SS_SUNKEN | WS_BORDER,WS_EX_DLGMODALFRAME | | ||
209 | WS_EX_CLIENTEDGE | ||
210 | CTEXT "is requesting the file",IDC_STATIC,23,29,135,8 | ||
211 | CTEXT "",IDC_FILE,23,37,135,14,SS_NOTIFY | SS_SUNKEN | | ||
212 | WS_BORDER,WS_EX_DLGMODALFRAME | WS_EX_CLIENTEDGE | ||
213 | CONTROL "",IDC_STATIC,"Static",SS_ETCHEDHORZ,7,54,167,1 | ||
214 | ICON IDR_MAINFRAME,IDC_STATIC,7,7,18,20 | ||
215 | ICON IDR_MAINFRAME,IDC_STATIC,153,7,18,20 | ||
216 | END | ||
217 | |||
218 | IDD_CONFIRM_WRQ DIALOGEX 0, 0, 201, 95 | ||
219 | STYLE DS_MODALFRAME | DS_SETFOREGROUND | DS_3DLOOK | WS_POPUP | WS_CAPTION | ||
220 | EXSTYLE WS_EX_TOOLWINDOW | WS_EX_CLIENTEDGE | ||
221 | CAPTION " PumpKIN - Confirm Write Request" | ||
222 | FONT 8, "MS Sans Serif", 0, 0, 0x1 | ||
223 | BEGIN | ||
224 | DEFPUSHBUTTON "&Accept",IDOK,7,58,59,14 | ||
225 | PUSHBUTTON "&Rename",IDC_RENAME,71,58,59,14 | ||
226 | PUSHBUTTON "&Deny Access",IDCANCEL,135,58,59,14 | ||
227 | LTEXT "The host",IDC_STATIC,87,7,29,8 | ||
228 | CTEXT "255.255.255.255",IDC_HOST,67,15,68,14,SS_NOTIFY | | ||
229 | SS_SUNKEN | WS_BORDER,WS_EX_DLGMODALFRAME | | ||
230 | WS_EX_CLIENTEDGE | ||
231 | CTEXT "is attempting to send you a file",IDC_STATIC,33,29,135, | ||
232 | 8 | ||
233 | CTEXT "",IDC_FILE,33,37,135,14,SS_NOTIFY | SS_SUNKEN | | ||
234 | WS_BORDER,WS_EX_DLGMODALFRAME | WS_EX_CLIENTEDGE | ||
235 | CONTROL "",IDC_STATIC,"Static",SS_ETCHEDHORZ,7,54,187,1 | ||
236 | ICON IDR_MAINFRAME,IDC_STATIC,7,7,21,20 | ||
237 | ICON IDR_MAINFRAME,IDC_STATIC,173,7,21,20 | ||
238 | PUSHBUTTON "Res&ume",IDC_RESUME,71,74,59,14 | ||
239 | END | ||
240 | |||
241 | IDD_REQUEST DIALOGEX 0, 0, 191, 161 | ||
242 | STYLE DS_MODALFRAME | DS_SETFOREGROUND | DS_3DLOOK | WS_POPUP | WS_CAPTION | | ||
243 | WS_SYSMENU | ||
244 | EXSTYLE WS_EX_CLIENTEDGE | ||
245 | CAPTION "Request" | ||
246 | FONT 8, "MS Sans Serif", 0, 0, 0x1 | ||
247 | BEGIN | ||
248 | LTEXT "&Local file:",IDC_STATIC,7,7,31,8,SS_NOTIFY | ||
249 | EDITTEXT IDC_LOCALFILE,7,16,157,14,ES_AUTOHSCROLL, | ||
250 | WS_EX_CLIENTEDGE | WS_EX_STATICEDGE | ||
251 | PUSHBUTTON "...",IDC_BROWSE,165,16,19,14,BS_ICON,WS_EX_STATICEDGE | ||
252 | LTEXT "&Remote file:",IDC_STATIC,7,34,38,8,SS_NOTIFY | ||
253 | EDITTEXT IDC_REMOTEFILE,7,44,177,14,ES_AUTOHSCROLL, | ||
254 | WS_EX_CLIENTEDGE | WS_EX_STATICEDGE | ||
255 | LTEXT "Remote &host:",IDC_STATIC,7,61,43,8,SS_NOTIFY | ||
256 | COMBOBOX IDC_TALKS,7,72,157,66,CBS_SIMPLE | CBS_AUTOHSCROLL | | ||
257 | CBS_SORT | CBS_NOINTEGRALHEIGHT | WS_VSCROLL | | ||
258 | WS_TABSTOP,WS_EX_CLIENTEDGE | WS_EX_STATICEDGE | ||
259 | PUSHBUTTON "R\nE\n&F\nR\nE\nS\nH",IDC_REFRESH,165,72,19,66, | ||
260 | BS_CENTER | BS_VCENTER | BS_MULTILINE | BS_NOTIFY, | ||
261 | WS_EX_CLIENTEDGE | ||
262 | LTEXT "&Type:",IDC_STATIC,58,34,19,8 | ||
263 | COMBOBOX IDC_TYPE,80,31,43,41,CBS_DROPDOWN | CBS_AUTOHSCROLL | | ||
264 | CBS_LOWERCASE | WS_VSCROLL | WS_TABSTOP | ||
265 | LTEXT "&Block:",IDC_STATIC,127,34,21,8 | ||
266 | COMBOBOX IDC_BSIZE,149,31,35,53,CBS_DROPDOWN | WS_VSCROLL | | ||
267 | WS_TABSTOP | ||
268 | DEFPUSHBUTTON "OK",IDOK,35,140,50,14 | ||
269 | PUSHBUTTON "Cancel",IDCANCEL,101,140,50,14 | ||
270 | CONTROL "",IDC_STATIC,"Static",SS_ETCHEDVERT,52,32,1,11 | ||
271 | END | ||
272 | |||
273 | IDD_PROPS_SOUNDS DIALOG DISCARDABLE 0, 0, 300, 201 | ||
274 | STYLE WS_CHILD | WS_DISABLED | WS_CAPTION | ||
275 | CAPTION "Sounds" | ||
276 | FONT 8, "MS Sans Serif" | ||
277 | BEGIN | ||
278 | LTEXT "&Incoming request:",IDC_STATIC,7,9,57,8 | ||
279 | COMBOBOX IDC_RING,70,7,188,100,CBS_DROPDOWN | CBS_AUTOHSCROLL | | ||
280 | CBS_SORT | WS_VSCROLL | WS_TABSTOP | ||
281 | PUSHBUTTON "browse",IDC_RING_BROWSE,263,7,13,13,BS_ICON | ||
282 | PUSHBUTTON "play",IDC_RING_PLAY,280,7,13,13,BS_ICON | ||
283 | LTEXT "xfer &finished:",IDC_STATIC,7,25,57,8 | ||
284 | COMBOBOX IDC_FINISHED,70,22,188,100,CBS_DROPDOWN | | ||
285 | CBS_AUTOHSCROLL | CBS_SORT | WS_VSCROLL | WS_TABSTOP | ||
286 | PUSHBUTTON "browse",IDC_FINISHED_BROWSE,263,22,13,13,BS_ICON | ||
287 | PUSHBUTTON "play",IDC_FINISHED_PLAY,280,22,13,13,BS_ICON | ||
288 | LTEXT "xfer &aborted:",IDC_STATIC,7,40,57,8 | ||
289 | COMBOBOX IDC_ABORTED,70,37,188,100,CBS_DROPDOWN | CBS_AUTOHSCROLL | | ||
290 | CBS_SORT | WS_VSCROLL | WS_TABSTOP | ||
291 | PUSHBUTTON "browse",IDC_ABORTED_BROWSE,263,37,13,13,BS_ICON | ||
292 | PUSHBUTTON "play",IDC_ABORTED_PLAY,280,37,13,13,BS_ICON | ||
293 | END | ||
294 | |||
295 | IDD_PROPS_ACL DIALOG DISCARDABLE 0, 0, 300, 201 | ||
296 | STYLE WS_CHILD | WS_DISABLED | WS_CAPTION | ||
297 | CAPTION "Access Lists" | ||
298 | FONT 8, "MS Sans Serif" | ||
299 | BEGIN | ||
300 | CONTROL "List1",IDC_ACL_LIST,"SysListView32",LVS_REPORT | | ||
301 | WS_BORDER | WS_TABSTOP,7,7,258,110 | ||
302 | PUSHBUTTON "&Up",IDC_ACL_UP,273,7,20,30,BS_ICON | BS_CENTER | | ||
303 | BS_VCENTER | ||
304 | PUSHBUTTON "&Down",IDC_ACL_DOWN,273,87,20,30,BS_ICON | BS_CENTER | | ||
305 | BS_VCENTER | ||
306 | PUSHBUTTON "&Remove",IDC_ACL_REMOVE,273,47,20,30,BS_ICON | | ||
307 | BS_CENTER | BS_VCENTER | ||
308 | LTEXT "If",IDC_STATIC,13,128,8,8 | ||
309 | COMBOBOX IDC_ACL_XFER,21,125,48,67,CBS_DROPDOWNLIST | WS_VSCROLL | | ||
310 | WS_TABSTOP | ||
311 | LTEXT "request comes from the address in the network", | ||
312 | IDC_STATIC,71,128,122,8 | ||
313 | EDITTEXT IDC_ACL_ADDR,47,143,80,12,ES_AUTOHSCROLL | ||
314 | LTEXT "with netmask",IDC_STATIC,129,145,41,8 | ||
315 | EDITTEXT IDC_ACL_NETMASK,173,143,80,12,ES_AUTOHSCROLL | ||
316 | LTEXT "then",IDC_STATIC,124,160,15,8 | ||
317 | COMBOBOX IDC_ACL_RULE,143,158,123,117,CBS_DROPDOWNLIST | | ||
318 | WS_VSCROLL | WS_TABSTOP | ||
319 | PUSHBUTTON "&Add new rule",IDC_ACL_ADD,7,178,130,16 | ||
320 | PUSHBUTTON "&Replace rule",IDC_ACL_REPLACE,152,178,130,16 | ||
321 | END | ||
322 | |||
323 | |||
324 | #ifndef _MAC | ||
325 | ///////////////////////////////////////////////////////////////////////////// | ||
326 | // | ||
327 | // Version | ||
328 | // | ||
329 | |||
330 | VS_VERSION_INFO VERSIONINFO | ||
331 | FILEVERSION 2,7,3,0 | ||
332 | PRODUCTVERSION 2,7,3,0 | ||
333 | FILEFLAGSMASK 0x3fL | ||
334 | #ifdef _DEBUG | ||
335 | FILEFLAGS 0x1L | ||
336 | #else | ||
337 | FILEFLAGS 0x0L | ||
338 | #endif | ||
339 | FILEOS 0x4L | ||
340 | FILETYPE 0x1L | ||
341 | FILESUBTYPE 0x0L | ||
342 | BEGIN | ||
343 | BLOCK "StringFileInfo" | ||
344 | BEGIN | ||
345 | BLOCK "040904b0" | ||
346 | BEGIN | ||
347 | VALUE "CompanyName", "Klever Group (http://www.klever.net/)\0" | ||
348 | VALUE "FileDescription", "PumpKIN, tftp client/daemon\0" | ||
349 | VALUE "FileVersion", "2, 7, 3, 0\0" | ||
350 | VALUE "InternalName", "PUMPKIN\0" | ||
351 | VALUE "LegalCopyright", "Copyright © 1997-2011 Klever Group (http://www.klever.net)\0" | ||
352 | VALUE "LegalTrademarks", "Klever Group (http://www.klever.net/)\0" | ||
353 | VALUE "OriginalFilename", "PUMPKIN.EXE\0" | ||
354 | VALUE "ProductName", "PumpKIN\0" | ||
355 | VALUE "ProductVersion", "2, 7, 3, 0\0" | ||
356 | END | ||
357 | END | ||
358 | BLOCK "VarFileInfo" | ||
359 | BEGIN | ||
360 | VALUE "Translation", 0x409, 1200 | ||
361 | END | ||
362 | END | ||
363 | |||
364 | #endif // !_MAC | ||
365 | |||
366 | |||
367 | ///////////////////////////////////////////////////////////////////////////// | ||
368 | // | ||
369 | // DESIGNINFO | ||
370 | // | ||
371 | |||
372 | #ifdef APSTUDIO_INVOKED | ||
373 | GUIDELINES DESIGNINFO DISCARDABLE | ||
374 | BEGIN | ||
375 | IDD_ABOUTBOX, DIALOG | ||
376 | BEGIN | ||
377 | LEFTMARGIN, 7 | ||
378 | RIGHTMARGIN, 210 | ||
379 | TOPMARGIN, 7 | ||
380 | BOTTOMMARGIN, 67 | ||
381 | END | ||
382 | |||
383 | IDD_PUMPKIN_DIALOG, DIALOG | ||
384 | BEGIN | ||
385 | LEFTMARGIN, 7 | ||
386 | RIGHTMARGIN, 355 | ||
387 | TOPMARGIN, 7 | ||
388 | BOTTOMMARGIN, 186 | ||
389 | HORZGUIDE, 115 | ||
390 | END | ||
391 | |||
392 | IDD_PROPS_SERVER, DIALOG | ||
393 | BEGIN | ||
394 | LEFTMARGIN, 7 | ||
395 | RIGHTMARGIN, 293 | ||
396 | TOPMARGIN, 7 | ||
397 | BOTTOMMARGIN, 194 | ||
398 | END | ||
399 | |||
400 | IDD_PROPS_NETWORK, DIALOG | ||
401 | BEGIN | ||
402 | LEFTMARGIN, 7 | ||
403 | RIGHTMARGIN, 293 | ||
404 | TOPMARGIN, 7 | ||
405 | BOTTOMMARGIN, 194 | ||
406 | END | ||
407 | |||
408 | IDD_CONFIRM_RRQ, DIALOG | ||
409 | BEGIN | ||
410 | LEFTMARGIN, 7 | ||
411 | RIGHTMARGIN, 174 | ||
412 | TOPMARGIN, 7 | ||
413 | BOTTOMMARGIN, 72 | ||
414 | END | ||
415 | |||
416 | IDD_CONFIRM_WRQ, DIALOG | ||
417 | BEGIN | ||
418 | LEFTMARGIN, 7 | ||
419 | RIGHTMARGIN, 194 | ||
420 | TOPMARGIN, 7 | ||
421 | BOTTOMMARGIN, 88 | ||
422 | END | ||
423 | |||
424 | IDD_REQUEST, DIALOG | ||
425 | BEGIN | ||
426 | LEFTMARGIN, 7 | ||
427 | RIGHTMARGIN, 184 | ||
428 | TOPMARGIN, 7 | ||
429 | BOTTOMMARGIN, 154 | ||
430 | END | ||
431 | |||
432 | IDD_PROPS_SOUNDS, DIALOG | ||
433 | BEGIN | ||
434 | LEFTMARGIN, 7 | ||
435 | RIGHTMARGIN, 293 | ||
436 | TOPMARGIN, 7 | ||
437 | BOTTOMMARGIN, 194 | ||
438 | END | ||
439 | |||
440 | IDD_PROPS_ACL, DIALOG | ||
441 | BEGIN | ||
442 | LEFTMARGIN, 7 | ||
443 | RIGHTMARGIN, 293 | ||
444 | TOPMARGIN, 7 | ||
445 | BOTTOMMARGIN, 194 | ||
446 | HORZGUIDE, 117 | ||
447 | HORZGUIDE, 125 | ||
448 | END | ||
449 | END | ||
450 | #endif // APSTUDIO_INVOKED | ||
451 | |||
452 | |||
453 | ///////////////////////////////////////////////////////////////////////////// | ||
454 | // | ||
455 | // Bitmap | ||
456 | // | ||
457 | |||
458 | IDB_BACKGROUND BITMAP DISCARDABLE "shared-data/klever-background.bmp" | ||
459 | |||
460 | ///////////////////////////////////////////////////////////////////////////// | ||
461 | // | ||
462 | // WAVE | ||
463 | // | ||
464 | |||
465 | IDR_WAVE_RING WAVE DISCARDABLE "res\\ring.wav" | ||
466 | IDR_WAVE_FINISHED WAVE DISCARDABLE "res\\finished.wav" | ||
467 | IDR_WAVE_ABORTED WAVE DISCARDABLE "res\\failed.wav" | ||
468 | |||
469 | ///////////////////////////////////////////////////////////////////////////// | ||
470 | // | ||
471 | // Dialog Info | ||
472 | // | ||
473 | |||
474 | IDD_REQUEST DLGINIT | ||
475 | BEGIN | ||
476 | IDC_TYPE, 0x403, 6, 0 | ||
477 | 0x636f, 0x6574, 0x0074, | ||
478 | IDC_TYPE, 0x403, 9, 0 | ||
479 | 0x656e, 0x6174, 0x6373, 0x6969, "\000" | ||
480 | IDC_BSIZE, 0x403, 4, 0 | ||
481 | 0x3135, 0x0032, | ||
482 | IDC_BSIZE, 0x403, 5, 0 | ||
483 | 0x3031, 0x3432, "\000" | ||
484 | IDC_BSIZE, 0x403, 5, 0 | ||
485 | 0x3032, 0x3834, "\000" | ||
486 | IDC_BSIZE, 0x403, 5, 0 | ||
487 | 0x3034, 0x3639, "\000" | ||
488 | IDC_BSIZE, 0x403, 5, 0 | ||
489 | 0x3138, 0x3239, "\000" | ||
490 | 0 | ||
491 | END | ||
492 | |||
493 | IDD_PROPS_ACL DLGINIT | ||
494 | BEGIN | ||
495 | IDC_ACL_XFER, 0x403, 5, 0 | ||
496 | 0x6572, 0x6461, "\000" | ||
497 | IDC_ACL_XFER, 0x403, 6, 0 | ||
498 | 0x7277, 0x7469, 0x0065, | ||
499 | IDC_ACL_RULE, 0x403, 12, 0 | ||
500 | 0x6361, 0x6563, 0x7470, 0x6620, 0x6c69, 0x0065, | ||
501 | IDC_ACL_RULE, 0x403, 33, 0 | ||
502 | 0x6361, 0x6563, 0x7470, 0x6120, 0x646e, 0x7220, 0x6e65, 0x6d61, 0x2065, | ||
503 | 0x6669, 0x6620, 0x6c69, 0x2065, 0x7865, 0x7369, 0x7374, "\000" | ||
504 | IDC_ACL_RULE, 0x403, 12, 0 | ||
505 | 0x6572, 0x656a, 0x7463, 0x6620, 0x6c69, 0x0065, | ||
506 | IDC_ACL_RULE, 0x403, 31, 0 | ||
507 | 0x6166, 0x6c6c, 0x6162, 0x6b63, 0x7420, 0x206f, 0x6874, 0x2065, 0x6c67, | ||
508 | 0x626f, 0x6c61, 0x7320, 0x7465, 0x6974, 0x676e, "\000" | ||
509 | 0 | ||
510 | END | ||
511 | |||
512 | |||
513 | ///////////////////////////////////////////////////////////////////////////// | ||
514 | // | ||
515 | // Menu | ||
516 | // | ||
517 | |||
518 | IDM_POPUPS MENU DISCARDABLE | ||
519 | BEGIN | ||
520 | POPUP "&Tray" | ||
521 | BEGIN | ||
522 | MENUITEM "&Send File", ID_TRAY_SENDFILE | ||
523 | MENUITEM "F&etch file", ID_TRAY_FETCHFILE | ||
524 | MENUITEM "&Options", ID_TRAY_OPTIONS | ||
525 | MENUITEM "&Listen to requests", ID_TRAY_LISTEN | ||
526 | MENUITEM "Show &PumpKIN Window", ID_TRAY_SHOWPUMPKINWINDOW | ||
527 | MENUITEM "Open &Files Folder", ID_TRAY_OPENFILESFOLDER | ||
528 | MENUITEM SEPARATOR | ||
529 | MENUITEM "&Help Topics", ID_TRAY_HELP | ||
530 | MENUITEM "&About PumpKIN", ID_TRAY_ABOUTPUMPKIN | ||
531 | MENUITEM SEPARATOR | ||
532 | MENUITEM "E&xit", ID_TRAY_EXIT | ||
533 | END | ||
534 | END | ||
535 | |||
536 | |||
537 | ///////////////////////////////////////////////////////////////////////////// | ||
538 | // | ||
539 | // String Table | ||
540 | // | ||
541 | |||
542 | STRINGTABLE DISCARDABLE | ||
543 | BEGIN | ||
544 | IDS_ABOUTBOX "&About PumpKIN..." | ||
545 | IDS_FMT_BYTES "%lu" | ||
546 | IDP_SOCKETS_INIT_FAILED "Windows sockets initialization failed." | ||
547 | IDS_TFTP_ERROR_ACCESS "Access violation" | ||
548 | IDS_TFTP_ERROR_NOTFOUND "File not found" | ||
549 | IDS_TFTP_ERROR_DIRFULL "Directory is full" | ||
550 | IDS_TFTP_ERROR_SHARING "Sharing violation" | ||
551 | IDS_TFTP_ERROR_DISKFULL "Disk full" | ||
552 | IDS_TFTP_ERROR_UNDEFINED "Undefined error" | ||
553 | IDS_LOG_START "PumpKIN started" | ||
554 | IDS_LOG_LISTENRECEIVEERROR "Error listening for incoming connections" | ||
555 | END | ||
556 | |||
557 | STRINGTABLE DISCARDABLE | ||
558 | BEGIN | ||
559 | IDS_LOG_LISTENACCEPTERROR "Error accepting incoming connection" | ||
560 | IDS_LOG_RRQSERVE "'%s' of type '%s' is requested from %s" | ||
561 | IDS_LOG_LISTENOPCODE "Invalid opcode in initial connection request" | ||
562 | IDS_LOG_XFERUDPSEND "UDP packet send failed" | ||
563 | IDS_LOG_XFERRECEIVE "Error on xfer socket" | ||
564 | IDS_LOG_XFERSEND "Error on xfer socket" | ||
565 | IDS_LOG_XFERUDPRECEIVE "UDP packet receive failed" | ||
566 | IDS_LOG_XFERSOURCETID "Packet from unexpected source" | ||
567 | IDS_LOG_SENTTFTPERROR ">> %u: %s" | ||
568 | IDS_LOG_GOTTFTPERROR "TFTP:%u: %s" | ||
569 | IDS_LOG_XFEROPCODE "Invalid opcode (%u) during transfer received" | ||
570 | IDS_LOG_XFERRRQFINISHED "Transfer of '%s' has successfully completed" | ||
571 | IDS_TITLE_OPTIONS "Options" | ||
572 | IDS_LOG_WRQSERVE "Writing of '%s' of type '%s' is requested by %s" | ||
573 | IDS_TFTP_ERROR_FAILEDTORENAME "Too many clones of the file" | ||
574 | IDS_RENAME_TITLE "Save As" | ||
575 | END | ||
576 | |||
577 | STRINGTABLE DISCARDABLE | ||
578 | BEGIN | ||
579 | IDS_LOG_TIMEDOUT "Transmission of '%s' is timed out" | ||
580 | IDS_CONFIRMEXIT_TITLE "Exit" | ||
581 | IDS_CONFIRMEXIT_TEXT "File transmission is currently in progress. Are you sure you want to exit?" | ||
582 | IDS_LOG_XFERWRQFINISHED "Transfer of '%s' has successfully completed" | ||
583 | IDS_LOG_XFERABORTED "Transfer of '%s' was aborted" | ||
584 | IDS_TITLE_PUTREQUEST "Send file" | ||
585 | IDS_TITLE_GETREQUEST "Fetch file" | ||
586 | IDS_WTALKHEADING "Talk with " | ||
587 | IDS_TITLE_BROWSEFILE "Browse" | ||
588 | IDS_LOG_RESOLVEFAILED "Failed to resolve host address for '%s'" | ||
589 | IDS_LOG_FAILEDLOCALFILE "Failed to open local file '%s'" | ||
590 | IDS_LOG_FAILEDTOOPEN "Failed to open '%s'" | ||
591 | IDS_OTALXHEADING "Open Talks: talking to " | ||
592 | IDS_REGISTRYKEY "Klever Group" | ||
593 | IDS_KLEVERNET_URL "http://www.klever.net/" | ||
594 | IDS_LOGTIMEFORMAT "%H:%M:%S %B %d" | ||
595 | END | ||
596 | |||
597 | STRINGTABLE DISCARDABLE | ||
598 | BEGIN | ||
599 | ID_TRAY_HELP "Read the help on PumpKIN" | ||
600 | ID_TRAY_ABOUTPUMPKIN "Learn about PumpKIN and it's creator" | ||
601 | ID_TRAY_EXIT "Close PumpKIN" | ||
602 | ID_TRAY_SENDFILE "Send file over the network to your tete-a-tete" | ||
603 | ID_TRAY_FETCHFILE "Fetch file from remote computer" | ||
604 | ID_TRAY_OPTIONS "Set PumpKIN options" | ||
605 | ID_TRAY_SHOWPUMPKINWINDOW "Show main window" | ||
606 | ID_TRAY_OPENFILESFOLDER "Explore TFTP root folder" | ||
607 | ID_TRAY_LISTEN "Listen for incoming requests" | ||
608 | END | ||
609 | |||
610 | STRINGTABLE DISCARDABLE | ||
611 | BEGIN | ||
612 | IDC_CONNECTIONS "Active transfers" | ||
613 | IDC_LOG "PumpKIN Activity Log" | ||
614 | IDC_GET "Fetch file from remote server" | ||
615 | IDC_PUT "Send file over the net" | ||
616 | IDC_ABORT "Abort transfer currently in progress" | ||
617 | IDC_EXIT "Close PumpKIN" | ||
618 | END | ||
619 | |||
620 | STRINGTABLE DISCARDABLE | ||
621 | BEGIN | ||
622 | IDC_OPTIONS "Set PumpKIN options" | ||
623 | IDC_REFRESH "Refresh talks list" | ||
624 | IDC_BROWSE "Browse" | ||
625 | END | ||
626 | |||
627 | STRINGTABLE DISCARDABLE | ||
628 | BEGIN | ||
629 | ID_HELP "Read help on PumpKIN" | ||
630 | END | ||
631 | |||
632 | STRINGTABLE DISCARDABLE | ||
633 | BEGIN | ||
634 | IDS_DROPFILES_TITLE "Drop Files" | ||
635 | IDS_NOMULTIPLEDROP_TEXT "You can't drop more than one file here. Only the first one will be accepted" | ||
636 | IDS_LOG_REQUESTING "Requesting '%s' from '%s'" | ||
637 | IDS_LOG_SENDING "Sending '%s' to '%s'" | ||
638 | IDS_WTALKAT "@" | ||
639 | IDS_OTALXAT " at " | ||
640 | IDS_TFTP_ERROR_TSIZE "Invalid transfer size" | ||
641 | IDS_TFTP_ERROR_BSIZE "Invalid block size" | ||
642 | IDS_TFTP_ERROR_TOUT "Invalid timeout" | ||
643 | IDS_SELECT_TFTPROOT "Select TFTP filesystem root.." | ||
644 | IDS_FILTER_WAV "Sound Files (*.wav)|*.wav||" | ||
645 | IDS_TITLE_WAV "Select sound.." | ||
646 | IDS_BOX_CANTBIND "Failed to create listening socket. The port may be in use by another application." | ||
647 | IDS_NO_XFER_OP "No request type specified." | ||
648 | IDS_INVALID_IP "Invalid IP address." | ||
649 | IDS_INVALID_NETMASK "Invalid netmask." | ||
650 | END | ||
651 | |||
652 | STRINGTABLE DISCARDABLE | ||
653 | BEGIN | ||
654 | AFX_IDS_APP_TITLE "PUMPKIN" | ||
655 | END | ||
656 | |||
657 | STRINGTABLE DISCARDABLE | ||
658 | BEGIN | ||
659 | IDS_INVALID_RULE "Invalid access rule." | ||
660 | IDS_LOG_LOGERROR "Error logging to '%s'" | ||
661 | IDS_TFTP_ERROR_TOOBIG "File is too big, try increasing block size" | ||
662 | END | ||
663 | |||
664 | #endif // English (U.S.) resources | ||
665 | ///////////////////////////////////////////////////////////////////////////// | ||
666 | |||
667 | |||
668 | |||
669 | #ifndef APSTUDIO_INVOKED | ||
670 | ///////////////////////////////////////////////////////////////////////////// | ||
671 | // | ||
672 | // Generated from the TEXTINCLUDE 3 resource. | ||
673 | // | ||
674 | #define _AFX_NO_SPLITTER_RESOURCES | ||
675 | #define _AFX_NO_OLE_RESOURCES | ||
676 | #define _AFX_NO_TRACKER_RESOURCES | ||
677 | #define _AFX_NO_PROPERTY_RESOURCES | ||
678 | |||
679 | #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) | ||
680 | #ifdef _WIN32 | ||
681 | LANGUAGE 9, 1 | ||
682 | #pragma code_page(1252) | ||
683 | #endif | ||
684 | #include "res\PumpKIN.rc2" // non-Microsoft Visual C++ edited resources | ||
685 | #include "afxres.rc" // Standard components | ||
686 | #endif | ||
687 | ///////////////////////////////////////////////////////////////////////////// | ||
688 | #endif // not APSTUDIO_INVOKED | ||
689 | |||