]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/filesys.cpp
Merged wxPython 2.2.2 over to the main branch
[wxWidgets.git] / wxPython / src / msw / filesys.cpp
1 /*
2 * FILE : src/msw/filesys.cpp
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 810)
7 *
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
12 *
13 * Do not make changes to this file--changes will be lost!
14 *
15 */
16
17
18 #define SWIGCODE
19 /* Implementation : PYTHON */
20
21 #define SWIGPYTHON
22 #include <string.h>
23 #include <stdlib.h>
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
28 # else
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
31 # else
32 # define SWIGEXPORT(a) a
33 # endif
34 # endif
35 #else
36 # define SWIGEXPORT(a) a
37 #endif
38
39 #include "Python.h"
40
41 #ifdef __cplusplus
42 extern "C" {
43 #endif
44 extern void SWIG_MakePtr(char *, void *, char *);
45 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
46 extern char *SWIG_GetPtr(char *, void **, char *);
47 extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
48 extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
49 extern PyObject *SWIG_newvarlink(void);
50 #ifdef __cplusplus
51 }
52 #endif
53 #define SWIG_init initfilesysc
54
55 #define SWIG_name "filesysc"
56
57 #include "helpers.h"
58 #include <wx/filesys.h>
59 #include <wx/fs_inet.h>
60 #include <wx/fs_mem.h>
61 #include <wx/fs_zip.h>
62
63 static PyObject* l_output_helper(PyObject* target, PyObject* o) {
64 PyObject* o2;
65 if (!target) {
66 target = o;
67 } else if (target == Py_None) {
68 Py_DECREF(Py_None);
69 target = o;
70 } else {
71 if (!PyList_Check(target)) {
72 o2 = target;
73 target = PyList_New(0);
74 PyList_Append(target, o2);
75 Py_XDECREF(o2);
76 }
77 PyList_Append(target,o);
78 Py_XDECREF(o);
79 }
80 return target;
81 }
82
83 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
84 PyObject* o2;
85 PyObject* o3;
86
87 if (!target) {
88 target = o;
89 } else if (target == Py_None) {
90 Py_DECREF(Py_None);
91 target = o;
92 } else {
93 if (!PyTuple_Check(target)) {
94 o2 = target;
95 target = PyTuple_New(1);
96 PyTuple_SetItem(target, 0, o2);
97 }
98 o3 = PyTuple_New(1);
99 PyTuple_SetItem(o3, 0, o);
100
101 o2 = target;
102 target = PySequence_Concat(o2, o3);
103 Py_DECREF(o2);
104 Py_DECREF(o3);
105 }
106 return target;
107 }
108
109 static char* wxStringErrorMsg = "string type is required for parameter";
110
111 // wxPyFileSystemHandler will be the Python class wxFileSystemHandler and handling
112 // the callback functions
113 class wxPyFileSystemHandler : public wxFileSystemHandler {
114 public:
115 wxPyFileSystemHandler() : wxFileSystemHandler() {}
116
117 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen);
118 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile);
119 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst);
120 DEC_PYCALLBACK_STRING__pure(FindNext);
121
122 wxString GetProtocol(const wxString& location) {
123 return wxFileSystemHandler::GetProtocol(location);
124 }
125
126 wxString GetLeftLocation(const wxString& location) {
127 return wxFileSystemHandler::GetLeftLocation(location);
128 }
129
130 wxString GetAnchor(const wxString& location) {
131 return wxFileSystemHandler::GetAnchor(location);
132 }
133
134 wxString GetRightLocation(const wxString& location) {
135 return wxFileSystemHandler::GetRightLocation(location);
136 }
137
138 wxString GetMimeTypeFromExt(const wxString& location){
139 return wxFileSystemHandler::GetMimeTypeFromExt(location);
140 }
141
142 PYPRIVATE;
143 };
144
145
146 IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler, wxFileSystemHandler, CanOpen);
147 IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler, wxFileSystemHandler, OpenFile);
148 IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler, wxFileSystemHandler, FindFirst);
149 IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler, wxFileSystemHandler, FindNext);
150
151 void __wxMemoryFSHandler_AddFile_wxImage(const wxString& filename,
152 wxImage& image,
153 long type) {
154 wxMemoryFSHandler::AddFile(filename, image, type);
155 }
156
157 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString& filename,
158 const wxBitmap& bitmap,
159 long type) {
160 wxMemoryFSHandler::AddFile(filename, bitmap, type);
161 }
162
163 // void __wxMemoryFSHandler_AddFile_wxString(const wxString& filename,
164 // const wxString& textdata) {
165 // wxMemoryFSHandler::AddFile(filename, textdata);
166 // }
167
168 void __wxMemoryFSHandler_AddFile_Data(const wxString& filename,
169 PyObject* data) {
170
171 wxMemoryFSHandler::AddFile(filename,
172 (void*)PyString_AsString(data),
173 (size_t)PyString_Size(data));
174 }
175 #ifdef __cplusplus
176 extern "C" {
177 #endif
178 static PyObject *_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject *self, PyObject *args, PyObject *kwargs) {
179 PyObject * _resultobj;
180 wxString * _arg0;
181 wxImage * _arg1;
182 long _arg2;
183 PyObject * _obj0 = 0;
184 PyObject * _argo1 = 0;
185 char *_kwnames[] = { "filename","image","type", NULL };
186
187 self = self;
188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOl:__wxMemoryFSHandler_AddFile_wxImage",_kwnames,&_obj0,&_argo1,&_arg2))
189 return NULL;
190 {
191 if (!PyString_Check(_obj0)) {
192 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
193 return NULL;
194 }
195 _arg0 = new wxString(PyString_AsString(_obj0), PyString_Size(_obj0));
196 }
197 if (_argo1) {
198 if (_argo1 == Py_None) { _arg1 = NULL; }
199 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImage_p")) {
200 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of __wxMemoryFSHandler_AddFile_wxImage. Expected _wxImage_p.");
201 return NULL;
202 }
203 }
204 {
205 wxPy_BEGIN_ALLOW_THREADS;
206 __wxMemoryFSHandler_AddFile_wxImage(*_arg0,*_arg1,_arg2);
207
208 wxPy_END_ALLOW_THREADS;
209 } Py_INCREF(Py_None);
210 _resultobj = Py_None;
211 {
212 if (_obj0)
213 delete _arg0;
214 }
215 return _resultobj;
216 }
217
218 static PyObject *_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
219 PyObject * _resultobj;
220 wxString * _arg0;
221 wxBitmap * _arg1;
222 long _arg2;
223 PyObject * _obj0 = 0;
224 PyObject * _argo1 = 0;
225 char *_kwnames[] = { "filename","bitmap","type", NULL };
226
227 self = self;
228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOl:__wxMemoryFSHandler_AddFile_wxBitmap",_kwnames,&_obj0,&_argo1,&_arg2))
229 return NULL;
230 {
231 if (!PyString_Check(_obj0)) {
232 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
233 return NULL;
234 }
235 _arg0 = new wxString(PyString_AsString(_obj0), PyString_Size(_obj0));
236 }
237 if (_argo1) {
238 if (_argo1 == Py_None) { _arg1 = NULL; }
239 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
240 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of __wxMemoryFSHandler_AddFile_wxBitmap. Expected _wxBitmap_p.");
241 return NULL;
242 }
243 }
244 {
245 wxPy_BEGIN_ALLOW_THREADS;
246 __wxMemoryFSHandler_AddFile_wxBitmap(*_arg0,*_arg1,_arg2);
247
248 wxPy_END_ALLOW_THREADS;
249 } Py_INCREF(Py_None);
250 _resultobj = Py_None;
251 {
252 if (_obj0)
253 delete _arg0;
254 }
255 return _resultobj;
256 }
257
258 static PyObject *_wrap___wxMemoryFSHandler_AddFile_Data(PyObject *self, PyObject *args, PyObject *kwargs) {
259 PyObject * _resultobj;
260 wxString * _arg0;
261 PyObject * _arg1;
262 PyObject * _obj0 = 0;
263 PyObject * _obj1 = 0;
264 char *_kwnames[] = { "filename","data", NULL };
265
266 self = self;
267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:__wxMemoryFSHandler_AddFile_Data",_kwnames,&_obj0,&_obj1))
268 return NULL;
269 {
270 if (!PyString_Check(_obj0)) {
271 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
272 return NULL;
273 }
274 _arg0 = new wxString(PyString_AsString(_obj0), PyString_Size(_obj0));
275 }
276 {
277 _arg1 = _obj1;
278 }
279 {
280 wxPy_BEGIN_ALLOW_THREADS;
281 __wxMemoryFSHandler_AddFile_Data(*_arg0,_arg1);
282
283 wxPy_END_ALLOW_THREADS;
284 } Py_INCREF(Py_None);
285 _resultobj = Py_None;
286 {
287 if (_obj0)
288 delete _arg0;
289 }
290 return _resultobj;
291 }
292
293 #define new_wxFSFile(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxFSFile(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
294 static PyObject *_wrap_new_wxFSFile(PyObject *self, PyObject *args, PyObject *kwargs) {
295 PyObject * _resultobj;
296 wxFSFile * _result;
297 wxInputStream * _arg0;
298 wxString * _arg1;
299 wxString * _arg2;
300 wxString * _arg3;
301 wxDateTime * _arg4;
302 PyObject * _obj0 = 0;
303 PyObject * _obj1 = 0;
304 PyObject * _obj2 = 0;
305 PyObject * _obj3 = 0;
306 PyObject * _argo4 = 0;
307 char *_kwnames[] = { "stream","loc","mimetype","anchor","modif", NULL };
308 char _ptemp[128];
309
310 self = self;
311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOOO:new_wxFSFile",_kwnames,&_obj0,&_obj1,&_obj2,&_obj3,&_argo4))
312 return NULL;
313 {
314 if (PyInstance_Check(_obj0)) {
315 wxPyInputStream* ptr;
316 if (SWIG_GetPtrObj(_obj0, (void **) &ptr,"_wxPyInputStream_p")) {
317 PyErr_SetString(PyExc_TypeError,"Expected _wxInputStream_p.");
318 return NULL;
319 }
320 _arg0 = ptr->wxi;
321 } else {
322 PyErr_SetString(PyExc_TypeError,"Expected _wxInputStream_p.");
323 return NULL;
324 }
325 }
326 {
327 if (!PyString_Check(_obj1)) {
328 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
329 return NULL;
330 }
331 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
332 }
333 {
334 if (!PyString_Check(_obj2)) {
335 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
336 return NULL;
337 }
338 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
339 }
340 {
341 if (!PyString_Check(_obj3)) {
342 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
343 return NULL;
344 }
345 _arg3 = new wxString(PyString_AsString(_obj3), PyString_Size(_obj3));
346 }
347 if (_argo4) {
348 if (_argo4 == Py_None) { _arg4 = NULL; }
349 else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_wxDateTime_p")) {
350 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of new_wxFSFile. Expected _wxDateTime_p.");
351 return NULL;
352 }
353 }
354 {
355 wxPy_BEGIN_ALLOW_THREADS;
356 _result = (wxFSFile *)new_wxFSFile(_arg0,*_arg1,*_arg2,*_arg3,*_arg4);
357
358 wxPy_END_ALLOW_THREADS;
359 } if (_result) {
360 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFSFile_p");
361 _resultobj = Py_BuildValue("s",_ptemp);
362 } else {
363 Py_INCREF(Py_None);
364 _resultobj = Py_None;
365 }
366 {
367 if (_obj1)
368 delete _arg1;
369 }
370 {
371 if (_obj2)
372 delete _arg2;
373 }
374 {
375 if (_obj3)
376 delete _arg3;
377 }
378 return _resultobj;
379 }
380
381 #define wxFSFile_GetStream(_swigobj) (_swigobj->GetStream())
382 static PyObject *_wrap_wxFSFile_GetStream(PyObject *self, PyObject *args, PyObject *kwargs) {
383 PyObject * _resultobj;
384 wxInputStream * _result;
385 wxFSFile * _arg0;
386 PyObject * _argo0 = 0;
387 char *_kwnames[] = { "self", NULL };
388
389 self = self;
390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFSFile_GetStream",_kwnames,&_argo0))
391 return NULL;
392 if (_argo0) {
393 if (_argo0 == Py_None) { _arg0 = NULL; }
394 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFSFile_p")) {
395 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFSFile_GetStream. Expected _wxFSFile_p.");
396 return NULL;
397 }
398 }
399 {
400 wxPy_BEGIN_ALLOW_THREADS;
401 _result = (wxInputStream *)wxFSFile_GetStream(_arg0);
402
403 wxPy_END_ALLOW_THREADS;
404 }{
405 wxPyInputStream * _ptr = NULL;
406
407 if (_result) {
408 _ptr = new wxPyInputStream(_result);
409 }
410 if (_ptr) {
411 char swigptr[64];
412 SWIG_MakePtr(swigptr, _ptr, "_wxPyInputStream_p");
413
414 PyObject* classobj = PyDict_GetItemString(wxPython_dict, "wxInputStreamPtr");
415 if (! classobj) {
416 Py_INCREF(Py_None);
417 _resultobj = Py_None;
418 } else {
419 PyObject* arg = Py_BuildValue("(s)", swigptr);
420 _resultobj = PyInstance_New(classobj, arg, NULL);
421 Py_DECREF(arg);
422
423 // set ThisOwn
424 PyObject_SetAttrString(_resultobj, "thisown", PyInt_FromLong(1));
425 }
426 } else {
427 Py_INCREF(Py_None);
428 _resultobj = Py_None;
429 }
430 }
431 return _resultobj;
432 }
433
434 #define wxFSFile_GetMimeType(_swigobj) (_swigobj->GetMimeType())
435 static PyObject *_wrap_wxFSFile_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
436 PyObject * _resultobj;
437 wxString * _result;
438 wxFSFile * _arg0;
439 PyObject * _argo0 = 0;
440 char *_kwnames[] = { "self", NULL };
441
442 self = self;
443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFSFile_GetMimeType",_kwnames,&_argo0))
444 return NULL;
445 if (_argo0) {
446 if (_argo0 == Py_None) { _arg0 = NULL; }
447 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFSFile_p")) {
448 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFSFile_GetMimeType. Expected _wxFSFile_p.");
449 return NULL;
450 }
451 }
452 {
453 wxPy_BEGIN_ALLOW_THREADS;
454 const wxString & _result_ref = wxFSFile_GetMimeType(_arg0);
455 _result = (wxString *) &_result_ref;
456
457 wxPy_END_ALLOW_THREADS;
458 }{
459 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
460 }
461 return _resultobj;
462 }
463
464 #define wxFSFile_GetLocation(_swigobj) (_swigobj->GetLocation())
465 static PyObject *_wrap_wxFSFile_GetLocation(PyObject *self, PyObject *args, PyObject *kwargs) {
466 PyObject * _resultobj;
467 wxString * _result;
468 wxFSFile * _arg0;
469 PyObject * _argo0 = 0;
470 char *_kwnames[] = { "self", NULL };
471
472 self = self;
473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFSFile_GetLocation",_kwnames,&_argo0))
474 return NULL;
475 if (_argo0) {
476 if (_argo0 == Py_None) { _arg0 = NULL; }
477 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFSFile_p")) {
478 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFSFile_GetLocation. Expected _wxFSFile_p.");
479 return NULL;
480 }
481 }
482 {
483 wxPy_BEGIN_ALLOW_THREADS;
484 const wxString & _result_ref = wxFSFile_GetLocation(_arg0);
485 _result = (wxString *) &_result_ref;
486
487 wxPy_END_ALLOW_THREADS;
488 }{
489 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
490 }
491 return _resultobj;
492 }
493
494 #define wxFSFile_GetAnchor(_swigobj) (_swigobj->GetAnchor())
495 static PyObject *_wrap_wxFSFile_GetAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
496 PyObject * _resultobj;
497 wxString * _result;
498 wxFSFile * _arg0;
499 PyObject * _argo0 = 0;
500 char *_kwnames[] = { "self", NULL };
501
502 self = self;
503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFSFile_GetAnchor",_kwnames,&_argo0))
504 return NULL;
505 if (_argo0) {
506 if (_argo0 == Py_None) { _arg0 = NULL; }
507 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFSFile_p")) {
508 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFSFile_GetAnchor. Expected _wxFSFile_p.");
509 return NULL;
510 }
511 }
512 {
513 wxPy_BEGIN_ALLOW_THREADS;
514 const wxString & _result_ref = wxFSFile_GetAnchor(_arg0);
515 _result = (wxString *) &_result_ref;
516
517 wxPy_END_ALLOW_THREADS;
518 }{
519 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
520 }
521 return _resultobj;
522 }
523
524 #define wxFSFile_GetModificationTime(_swigobj) (_swigobj->GetModificationTime())
525 static PyObject *_wrap_wxFSFile_GetModificationTime(PyObject *self, PyObject *args, PyObject *kwargs) {
526 PyObject * _resultobj;
527 wxDateTime * _result;
528 wxFSFile * _arg0;
529 PyObject * _argo0 = 0;
530 char *_kwnames[] = { "self", NULL };
531 char _ptemp[128];
532
533 self = self;
534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFSFile_GetModificationTime",_kwnames,&_argo0))
535 return NULL;
536 if (_argo0) {
537 if (_argo0 == Py_None) { _arg0 = NULL; }
538 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFSFile_p")) {
539 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFSFile_GetModificationTime. Expected _wxFSFile_p.");
540 return NULL;
541 }
542 }
543 {
544 wxPy_BEGIN_ALLOW_THREADS;
545 _result = new wxDateTime (wxFSFile_GetModificationTime(_arg0));
546
547 wxPy_END_ALLOW_THREADS;
548 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxDateTime_p");
549 _resultobj = Py_BuildValue("s",_ptemp);
550 return _resultobj;
551 }
552
553 static void *SwigwxPyFileSystemHandlerTowxFileSystemHandler(void *ptr) {
554 wxPyFileSystemHandler *src;
555 wxFileSystemHandler *dest;
556 src = (wxPyFileSystemHandler *) ptr;
557 dest = (wxFileSystemHandler *) src;
558 return (void *) dest;
559 }
560
561 #define new_wxFileSystemHandler() (new wxPyFileSystemHandler())
562 static PyObject *_wrap_new_wxFileSystemHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
563 PyObject * _resultobj;
564 wxPyFileSystemHandler * _result;
565 char *_kwnames[] = { NULL };
566 char _ptemp[128];
567
568 self = self;
569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxFileSystemHandler",_kwnames))
570 return NULL;
571 {
572 wxPy_BEGIN_ALLOW_THREADS;
573 _result = (wxPyFileSystemHandler *)new_wxFileSystemHandler();
574
575 wxPy_END_ALLOW_THREADS;
576 } if (_result) {
577 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyFileSystemHandler_p");
578 _resultobj = Py_BuildValue("s",_ptemp);
579 } else {
580 Py_INCREF(Py_None);
581 _resultobj = Py_None;
582 }
583 return _resultobj;
584 }
585
586 #define wxFileSystemHandler__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
587 static PyObject *_wrap_wxFileSystemHandler__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
588 PyObject * _resultobj;
589 wxPyFileSystemHandler * _arg0;
590 PyObject * _arg1;
591 PyObject * _arg2;
592 PyObject * _argo0 = 0;
593 PyObject * _obj1 = 0;
594 PyObject * _obj2 = 0;
595 char *_kwnames[] = { "self","self","_class", NULL };
596
597 self = self;
598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxFileSystemHandler__setSelf",_kwnames,&_argo0,&_obj1,&_obj2))
599 return NULL;
600 if (_argo0) {
601 if (_argo0 == Py_None) { _arg0 = NULL; }
602 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyFileSystemHandler_p")) {
603 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileSystemHandler__setSelf. Expected _wxPyFileSystemHandler_p.");
604 return NULL;
605 }
606 }
607 {
608 _arg1 = _obj1;
609 }
610 {
611 _arg2 = _obj2;
612 }
613 {
614 wxPy_BEGIN_ALLOW_THREADS;
615 wxFileSystemHandler__setSelf(_arg0,_arg1,_arg2);
616
617 wxPy_END_ALLOW_THREADS;
618 } Py_INCREF(Py_None);
619 _resultobj = Py_None;
620 return _resultobj;
621 }
622
623 #define wxFileSystemHandler_CanOpen(_swigobj,_swigarg0) (_swigobj->CanOpen(_swigarg0))
624 static PyObject *_wrap_wxFileSystemHandler_CanOpen(PyObject *self, PyObject *args, PyObject *kwargs) {
625 PyObject * _resultobj;
626 bool _result;
627 wxPyFileSystemHandler * _arg0;
628 wxString * _arg1;
629 PyObject * _argo0 = 0;
630 PyObject * _obj1 = 0;
631 char *_kwnames[] = { "self","location", NULL };
632
633 self = self;
634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFileSystemHandler_CanOpen",_kwnames,&_argo0,&_obj1))
635 return NULL;
636 if (_argo0) {
637 if (_argo0 == Py_None) { _arg0 = NULL; }
638 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyFileSystemHandler_p")) {
639 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileSystemHandler_CanOpen. Expected _wxPyFileSystemHandler_p.");
640 return NULL;
641 }
642 }
643 {
644 if (!PyString_Check(_obj1)) {
645 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
646 return NULL;
647 }
648 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
649 }
650 {
651 wxPy_BEGIN_ALLOW_THREADS;
652 _result = (bool )wxFileSystemHandler_CanOpen(_arg0,*_arg1);
653
654 wxPy_END_ALLOW_THREADS;
655 } _resultobj = Py_BuildValue("i",_result);
656 {
657 if (_obj1)
658 delete _arg1;
659 }
660 return _resultobj;
661 }
662
663 #define wxFileSystemHandler_OpenFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->OpenFile(_swigarg0,_swigarg1))
664 static PyObject *_wrap_wxFileSystemHandler_OpenFile(PyObject *self, PyObject *args, PyObject *kwargs) {
665 PyObject * _resultobj;
666 wxFSFile * _result;
667 wxPyFileSystemHandler * _arg0;
668 wxFileSystem * _arg1;
669 wxString * _arg2;
670 PyObject * _argo0 = 0;
671 PyObject * _argo1 = 0;
672 PyObject * _obj2 = 0;
673 char *_kwnames[] = { "self","fs","location", NULL };
674 char _ptemp[128];
675
676 self = self;
677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxFileSystemHandler_OpenFile",_kwnames,&_argo0,&_argo1,&_obj2))
678 return NULL;
679 if (_argo0) {
680 if (_argo0 == Py_None) { _arg0 = NULL; }
681 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyFileSystemHandler_p")) {
682 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileSystemHandler_OpenFile. Expected _wxPyFileSystemHandler_p.");
683 return NULL;
684 }
685 }
686 if (_argo1) {
687 if (_argo1 == Py_None) { _arg1 = NULL; }
688 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFileSystem_p")) {
689 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFileSystemHandler_OpenFile. Expected _wxFileSystem_p.");
690 return NULL;
691 }
692 }
693 {
694 if (!PyString_Check(_obj2)) {
695 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
696 return NULL;
697 }
698 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
699 }
700 {
701 wxPy_BEGIN_ALLOW_THREADS;
702 _result = (wxFSFile *)wxFileSystemHandler_OpenFile(_arg0,*_arg1,*_arg2);
703
704 wxPy_END_ALLOW_THREADS;
705 } if (_result) {
706 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFSFile_p");
707 _resultobj = Py_BuildValue("s",_ptemp);
708 } else {
709 Py_INCREF(Py_None);
710 _resultobj = Py_None;
711 }
712 {
713 if (_obj2)
714 delete _arg2;
715 }
716 return _resultobj;
717 }
718
719 #define wxFileSystemHandler_FindFirst(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindFirst(_swigarg0,_swigarg1))
720 static PyObject *_wrap_wxFileSystemHandler_FindFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
721 PyObject * _resultobj;
722 wxString * _result;
723 wxPyFileSystemHandler * _arg0;
724 wxString * _arg1;
725 int _arg2 = (int ) 0;
726 PyObject * _argo0 = 0;
727 PyObject * _obj1 = 0;
728 char *_kwnames[] = { "self","spec","flags", NULL };
729
730 self = self;
731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxFileSystemHandler_FindFirst",_kwnames,&_argo0,&_obj1,&_arg2))
732 return NULL;
733 if (_argo0) {
734 if (_argo0 == Py_None) { _arg0 = NULL; }
735 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyFileSystemHandler_p")) {
736 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileSystemHandler_FindFirst. Expected _wxPyFileSystemHandler_p.");
737 return NULL;
738 }
739 }
740 {
741 if (!PyString_Check(_obj1)) {
742 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
743 return NULL;
744 }
745 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
746 }
747 {
748 wxPy_BEGIN_ALLOW_THREADS;
749 _result = new wxString (wxFileSystemHandler_FindFirst(_arg0,*_arg1,_arg2));
750
751 wxPy_END_ALLOW_THREADS;
752 }{
753 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
754 }
755 {
756 if (_obj1)
757 delete _arg1;
758 }
759 {
760 delete _result;
761 }
762 return _resultobj;
763 }
764
765 #define wxFileSystemHandler_FindNext(_swigobj) (_swigobj->FindNext())
766 static PyObject *_wrap_wxFileSystemHandler_FindNext(PyObject *self, PyObject *args, PyObject *kwargs) {
767 PyObject * _resultobj;
768 wxString * _result;
769 wxPyFileSystemHandler * _arg0;
770 PyObject * _argo0 = 0;
771 char *_kwnames[] = { "self", NULL };
772
773 self = self;
774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileSystemHandler_FindNext",_kwnames,&_argo0))
775 return NULL;
776 if (_argo0) {
777 if (_argo0 == Py_None) { _arg0 = NULL; }
778 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyFileSystemHandler_p")) {
779 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileSystemHandler_FindNext. Expected _wxPyFileSystemHandler_p.");
780 return NULL;
781 }
782 }
783 {
784 wxPy_BEGIN_ALLOW_THREADS;
785 _result = new wxString (wxFileSystemHandler_FindNext(_arg0));
786
787 wxPy_END_ALLOW_THREADS;
788 }{
789 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
790 }
791 {
792 delete _result;
793 }
794 return _resultobj;
795 }
796
797 #define wxFileSystemHandler_GetProtocol(_swigobj,_swigarg0) (_swigobj->GetProtocol(_swigarg0))
798 static PyObject *_wrap_wxFileSystemHandler_GetProtocol(PyObject *self, PyObject *args, PyObject *kwargs) {
799 PyObject * _resultobj;
800 wxString * _result;
801 wxPyFileSystemHandler * _arg0;
802 wxString * _arg1;
803 PyObject * _argo0 = 0;
804 PyObject * _obj1 = 0;
805 char *_kwnames[] = { "self","location", NULL };
806
807 self = self;
808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFileSystemHandler_GetProtocol",_kwnames,&_argo0,&_obj1))
809 return NULL;
810 if (_argo0) {
811 if (_argo0 == Py_None) { _arg0 = NULL; }
812 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyFileSystemHandler_p")) {
813 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileSystemHandler_GetProtocol. Expected _wxPyFileSystemHandler_p.");
814 return NULL;
815 }
816 }
817 {
818 if (!PyString_Check(_obj1)) {
819 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
820 return NULL;
821 }
822 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
823 }
824 {
825 wxPy_BEGIN_ALLOW_THREADS;
826 _result = new wxString (wxFileSystemHandler_GetProtocol(_arg0,*_arg1));
827
828 wxPy_END_ALLOW_THREADS;
829 }{
830 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
831 }
832 {
833 if (_obj1)
834 delete _arg1;
835 }
836 {
837 delete _result;
838 }
839 return _resultobj;
840 }
841
842 #define wxFileSystemHandler_GetLeftLocation(_swigobj,_swigarg0) (_swigobj->GetLeftLocation(_swigarg0))
843 static PyObject *_wrap_wxFileSystemHandler_GetLeftLocation(PyObject *self, PyObject *args, PyObject *kwargs) {
844 PyObject * _resultobj;
845 wxString * _result;
846 wxPyFileSystemHandler * _arg0;
847 wxString * _arg1;
848 PyObject * _argo0 = 0;
849 PyObject * _obj1 = 0;
850 char *_kwnames[] = { "self","location", NULL };
851
852 self = self;
853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFileSystemHandler_GetLeftLocation",_kwnames,&_argo0,&_obj1))
854 return NULL;
855 if (_argo0) {
856 if (_argo0 == Py_None) { _arg0 = NULL; }
857 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyFileSystemHandler_p")) {
858 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileSystemHandler_GetLeftLocation. Expected _wxPyFileSystemHandler_p.");
859 return NULL;
860 }
861 }
862 {
863 if (!PyString_Check(_obj1)) {
864 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
865 return NULL;
866 }
867 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
868 }
869 {
870 wxPy_BEGIN_ALLOW_THREADS;
871 _result = new wxString (wxFileSystemHandler_GetLeftLocation(_arg0,*_arg1));
872
873 wxPy_END_ALLOW_THREADS;
874 }{
875 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
876 }
877 {
878 if (_obj1)
879 delete _arg1;
880 }
881 {
882 delete _result;
883 }
884 return _resultobj;
885 }
886
887 #define wxFileSystemHandler_GetAnchor(_swigobj,_swigarg0) (_swigobj->GetAnchor(_swigarg0))
888 static PyObject *_wrap_wxFileSystemHandler_GetAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
889 PyObject * _resultobj;
890 wxString * _result;
891 wxPyFileSystemHandler * _arg0;
892 wxString * _arg1;
893 PyObject * _argo0 = 0;
894 PyObject * _obj1 = 0;
895 char *_kwnames[] = { "self","location", NULL };
896
897 self = self;
898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFileSystemHandler_GetAnchor",_kwnames,&_argo0,&_obj1))
899 return NULL;
900 if (_argo0) {
901 if (_argo0 == Py_None) { _arg0 = NULL; }
902 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyFileSystemHandler_p")) {
903 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileSystemHandler_GetAnchor. Expected _wxPyFileSystemHandler_p.");
904 return NULL;
905 }
906 }
907 {
908 if (!PyString_Check(_obj1)) {
909 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
910 return NULL;
911 }
912 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
913 }
914 {
915 wxPy_BEGIN_ALLOW_THREADS;
916 _result = new wxString (wxFileSystemHandler_GetAnchor(_arg0,*_arg1));
917
918 wxPy_END_ALLOW_THREADS;
919 }{
920 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
921 }
922 {
923 if (_obj1)
924 delete _arg1;
925 }
926 {
927 delete _result;
928 }
929 return _resultobj;
930 }
931
932 #define wxFileSystemHandler_GetRightLocation(_swigobj,_swigarg0) (_swigobj->GetRightLocation(_swigarg0))
933 static PyObject *_wrap_wxFileSystemHandler_GetRightLocation(PyObject *self, PyObject *args, PyObject *kwargs) {
934 PyObject * _resultobj;
935 wxString * _result;
936 wxPyFileSystemHandler * _arg0;
937 wxString * _arg1;
938 PyObject * _argo0 = 0;
939 PyObject * _obj1 = 0;
940 char *_kwnames[] = { "self","location", NULL };
941
942 self = self;
943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFileSystemHandler_GetRightLocation",_kwnames,&_argo0,&_obj1))
944 return NULL;
945 if (_argo0) {
946 if (_argo0 == Py_None) { _arg0 = NULL; }
947 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyFileSystemHandler_p")) {
948 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileSystemHandler_GetRightLocation. Expected _wxPyFileSystemHandler_p.");
949 return NULL;
950 }
951 }
952 {
953 if (!PyString_Check(_obj1)) {
954 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
955 return NULL;
956 }
957 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
958 }
959 {
960 wxPy_BEGIN_ALLOW_THREADS;
961 _result = new wxString (wxFileSystemHandler_GetRightLocation(_arg0,*_arg1));
962
963 wxPy_END_ALLOW_THREADS;
964 }{
965 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
966 }
967 {
968 if (_obj1)
969 delete _arg1;
970 }
971 {
972 delete _result;
973 }
974 return _resultobj;
975 }
976
977 #define wxFileSystemHandler_GetMimeTypeFromExt(_swigobj,_swigarg0) (_swigobj->GetMimeTypeFromExt(_swigarg0))
978 static PyObject *_wrap_wxFileSystemHandler_GetMimeTypeFromExt(PyObject *self, PyObject *args, PyObject *kwargs) {
979 PyObject * _resultobj;
980 wxString * _result;
981 wxPyFileSystemHandler * _arg0;
982 wxString * _arg1;
983 PyObject * _argo0 = 0;
984 PyObject * _obj1 = 0;
985 char *_kwnames[] = { "self","location", NULL };
986
987 self = self;
988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFileSystemHandler_GetMimeTypeFromExt",_kwnames,&_argo0,&_obj1))
989 return NULL;
990 if (_argo0) {
991 if (_argo0 == Py_None) { _arg0 = NULL; }
992 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyFileSystemHandler_p")) {
993 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileSystemHandler_GetMimeTypeFromExt. Expected _wxPyFileSystemHandler_p.");
994 return NULL;
995 }
996 }
997 {
998 if (!PyString_Check(_obj1)) {
999 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1000 return NULL;
1001 }
1002 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
1003 }
1004 {
1005 wxPy_BEGIN_ALLOW_THREADS;
1006 _result = new wxString (wxFileSystemHandler_GetMimeTypeFromExt(_arg0,*_arg1));
1007
1008 wxPy_END_ALLOW_THREADS;
1009 }{
1010 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
1011 }
1012 {
1013 if (_obj1)
1014 delete _arg1;
1015 }
1016 {
1017 delete _result;
1018 }
1019 return _resultobj;
1020 }
1021
1022 #define new_wxFileSystem() (new wxFileSystem())
1023 static PyObject *_wrap_new_wxFileSystem(PyObject *self, PyObject *args, PyObject *kwargs) {
1024 PyObject * _resultobj;
1025 wxFileSystem * _result;
1026 char *_kwnames[] = { NULL };
1027 char _ptemp[128];
1028
1029 self = self;
1030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxFileSystem",_kwnames))
1031 return NULL;
1032 {
1033 wxPy_BEGIN_ALLOW_THREADS;
1034 _result = (wxFileSystem *)new_wxFileSystem();
1035
1036 wxPy_END_ALLOW_THREADS;
1037 } if (_result) {
1038 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFileSystem_p");
1039 _resultobj = Py_BuildValue("s",_ptemp);
1040 } else {
1041 Py_INCREF(Py_None);
1042 _resultobj = Py_None;
1043 }
1044 return _resultobj;
1045 }
1046
1047 #define wxFileSystem_ChangePathTo(_swigobj,_swigarg0,_swigarg1) (_swigobj->ChangePathTo(_swigarg0,_swigarg1))
1048 static PyObject *_wrap_wxFileSystem_ChangePathTo(PyObject *self, PyObject *args, PyObject *kwargs) {
1049 PyObject * _resultobj;
1050 wxFileSystem * _arg0;
1051 wxString * _arg1;
1052 bool _arg2 = (bool ) FALSE;
1053 PyObject * _argo0 = 0;
1054 PyObject * _obj1 = 0;
1055 int tempbool2 = (int) FALSE;
1056 char *_kwnames[] = { "self","location","is_dir", NULL };
1057
1058 self = self;
1059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxFileSystem_ChangePathTo",_kwnames,&_argo0,&_obj1,&tempbool2))
1060 return NULL;
1061 if (_argo0) {
1062 if (_argo0 == Py_None) { _arg0 = NULL; }
1063 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileSystem_p")) {
1064 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileSystem_ChangePathTo. Expected _wxFileSystem_p.");
1065 return NULL;
1066 }
1067 }
1068 {
1069 if (!PyString_Check(_obj1)) {
1070 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1071 return NULL;
1072 }
1073 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
1074 }
1075 _arg2 = (bool ) tempbool2;
1076 {
1077 wxPy_BEGIN_ALLOW_THREADS;
1078 wxFileSystem_ChangePathTo(_arg0,*_arg1,_arg2);
1079
1080 wxPy_END_ALLOW_THREADS;
1081 } Py_INCREF(Py_None);
1082 _resultobj = Py_None;
1083 {
1084 if (_obj1)
1085 delete _arg1;
1086 }
1087 return _resultobj;
1088 }
1089
1090 #define wxFileSystem_GetPath(_swigobj) (_swigobj->GetPath())
1091 static PyObject *_wrap_wxFileSystem_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
1092 PyObject * _resultobj;
1093 wxString * _result;
1094 wxFileSystem * _arg0;
1095 PyObject * _argo0 = 0;
1096 char *_kwnames[] = { "self", NULL };
1097
1098 self = self;
1099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileSystem_GetPath",_kwnames,&_argo0))
1100 return NULL;
1101 if (_argo0) {
1102 if (_argo0 == Py_None) { _arg0 = NULL; }
1103 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileSystem_p")) {
1104 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileSystem_GetPath. Expected _wxFileSystem_p.");
1105 return NULL;
1106 }
1107 }
1108 {
1109 wxPy_BEGIN_ALLOW_THREADS;
1110 _result = new wxString (wxFileSystem_GetPath(_arg0));
1111
1112 wxPy_END_ALLOW_THREADS;
1113 }{
1114 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
1115 }
1116 {
1117 delete _result;
1118 }
1119 return _resultobj;
1120 }
1121
1122 #define wxFileSystem_OpenFile(_swigobj,_swigarg0) (_swigobj->OpenFile(_swigarg0))
1123 static PyObject *_wrap_wxFileSystem_OpenFile(PyObject *self, PyObject *args, PyObject *kwargs) {
1124 PyObject * _resultobj;
1125 wxFSFile * _result;
1126 wxFileSystem * _arg0;
1127 wxString * _arg1;
1128 PyObject * _argo0 = 0;
1129 PyObject * _obj1 = 0;
1130 char *_kwnames[] = { "self","location", NULL };
1131 char _ptemp[128];
1132
1133 self = self;
1134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFileSystem_OpenFile",_kwnames,&_argo0,&_obj1))
1135 return NULL;
1136 if (_argo0) {
1137 if (_argo0 == Py_None) { _arg0 = NULL; }
1138 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileSystem_p")) {
1139 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileSystem_OpenFile. Expected _wxFileSystem_p.");
1140 return NULL;
1141 }
1142 }
1143 {
1144 if (!PyString_Check(_obj1)) {
1145 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1146 return NULL;
1147 }
1148 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
1149 }
1150 {
1151 wxPy_BEGIN_ALLOW_THREADS;
1152 _result = (wxFSFile *)wxFileSystem_OpenFile(_arg0,*_arg1);
1153
1154 wxPy_END_ALLOW_THREADS;
1155 } if (_result) {
1156 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFSFile_p");
1157 _resultobj = Py_BuildValue("s",_ptemp);
1158 } else {
1159 Py_INCREF(Py_None);
1160 _resultobj = Py_None;
1161 }
1162 {
1163 if (_obj1)
1164 delete _arg1;
1165 }
1166 return _resultobj;
1167 }
1168
1169 #define wxFileSystem_FindFirst(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindFirst(_swigarg0,_swigarg1))
1170 static PyObject *_wrap_wxFileSystem_FindFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
1171 PyObject * _resultobj;
1172 wxString * _result;
1173 wxFileSystem * _arg0;
1174 wxString * _arg1;
1175 int _arg2 = (int ) 0;
1176 PyObject * _argo0 = 0;
1177 PyObject * _obj1 = 0;
1178 char *_kwnames[] = { "self","spec","flags", NULL };
1179
1180 self = self;
1181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxFileSystem_FindFirst",_kwnames,&_argo0,&_obj1,&_arg2))
1182 return NULL;
1183 if (_argo0) {
1184 if (_argo0 == Py_None) { _arg0 = NULL; }
1185 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileSystem_p")) {
1186 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileSystem_FindFirst. Expected _wxFileSystem_p.");
1187 return NULL;
1188 }
1189 }
1190 {
1191 if (!PyString_Check(_obj1)) {
1192 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1193 return NULL;
1194 }
1195 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
1196 }
1197 {
1198 wxPy_BEGIN_ALLOW_THREADS;
1199 _result = new wxString (wxFileSystem_FindFirst(_arg0,*_arg1,_arg2));
1200
1201 wxPy_END_ALLOW_THREADS;
1202 }{
1203 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
1204 }
1205 {
1206 if (_obj1)
1207 delete _arg1;
1208 }
1209 {
1210 delete _result;
1211 }
1212 return _resultobj;
1213 }
1214
1215 #define wxFileSystem_FindNext(_swigobj) (_swigobj->FindNext())
1216 static PyObject *_wrap_wxFileSystem_FindNext(PyObject *self, PyObject *args, PyObject *kwargs) {
1217 PyObject * _resultobj;
1218 wxString * _result;
1219 wxFileSystem * _arg0;
1220 PyObject * _argo0 = 0;
1221 char *_kwnames[] = { "self", NULL };
1222
1223 self = self;
1224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileSystem_FindNext",_kwnames,&_argo0))
1225 return NULL;
1226 if (_argo0) {
1227 if (_argo0 == Py_None) { _arg0 = NULL; }
1228 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileSystem_p")) {
1229 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileSystem_FindNext. Expected _wxFileSystem_p.");
1230 return NULL;
1231 }
1232 }
1233 {
1234 wxPy_BEGIN_ALLOW_THREADS;
1235 _result = new wxString (wxFileSystem_FindNext(_arg0));
1236
1237 wxPy_END_ALLOW_THREADS;
1238 }{
1239 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
1240 }
1241 {
1242 delete _result;
1243 }
1244 return _resultobj;
1245 }
1246
1247 static PyObject *_wrap_wxFileSystem_AddHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
1248 PyObject * _resultobj;
1249 wxFileSystemHandler * _arg0;
1250 PyObject * _argo0 = 0;
1251 char *_kwnames[] = { "handler", NULL };
1252
1253 self = self;
1254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileSystem_AddHandler",_kwnames,&_argo0))
1255 return NULL;
1256 if (_argo0) {
1257 if (_argo0 == Py_None) { _arg0 = NULL; }
1258 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileSystemHandler_p")) {
1259 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileSystem_AddHandler. Expected _wxFileSystemHandler_p.");
1260 return NULL;
1261 }
1262 }
1263 {
1264 wxPy_BEGIN_ALLOW_THREADS;
1265 wxFileSystem::AddHandler(_arg0);
1266
1267 wxPy_END_ALLOW_THREADS;
1268 } Py_INCREF(Py_None);
1269 _resultobj = Py_None;
1270 return _resultobj;
1271 }
1272
1273 static PyObject *_wrap_wxFileSystem_CleanUpHandlers(PyObject *self, PyObject *args, PyObject *kwargs) {
1274 PyObject * _resultobj;
1275 char *_kwnames[] = { NULL };
1276
1277 self = self;
1278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxFileSystem_CleanUpHandlers",_kwnames))
1279 return NULL;
1280 {
1281 wxPy_BEGIN_ALLOW_THREADS;
1282 wxFileSystem::CleanUpHandlers();
1283
1284 wxPy_END_ALLOW_THREADS;
1285 } Py_INCREF(Py_None);
1286 _resultobj = Py_None;
1287 return _resultobj;
1288 }
1289
1290 static void *SwigwxInternetFSHandlerTowxFileSystemHandler(void *ptr) {
1291 wxInternetFSHandler *src;
1292 wxFileSystemHandler *dest;
1293 src = (wxInternetFSHandler *) ptr;
1294 dest = (wxFileSystemHandler *) src;
1295 return (void *) dest;
1296 }
1297
1298 #define new_wxInternetFSHandler() (new wxInternetFSHandler())
1299 static PyObject *_wrap_new_wxInternetFSHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
1300 PyObject * _resultobj;
1301 wxInternetFSHandler * _result;
1302 char *_kwnames[] = { NULL };
1303 char _ptemp[128];
1304
1305 self = self;
1306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxInternetFSHandler",_kwnames))
1307 return NULL;
1308 {
1309 wxPy_BEGIN_ALLOW_THREADS;
1310 _result = (wxInternetFSHandler *)new_wxInternetFSHandler();
1311
1312 wxPy_END_ALLOW_THREADS;
1313 } if (_result) {
1314 SWIG_MakePtr(_ptemp, (char *) _result,"_wxInternetFSHandler_p");
1315 _resultobj = Py_BuildValue("s",_ptemp);
1316 } else {
1317 Py_INCREF(Py_None);
1318 _resultobj = Py_None;
1319 }
1320 return _resultobj;
1321 }
1322
1323 #define wxInternetFSHandler_CanOpen(_swigobj,_swigarg0) (_swigobj->CanOpen(_swigarg0))
1324 static PyObject *_wrap_wxInternetFSHandler_CanOpen(PyObject *self, PyObject *args, PyObject *kwargs) {
1325 PyObject * _resultobj;
1326 bool _result;
1327 wxInternetFSHandler * _arg0;
1328 wxString * _arg1;
1329 PyObject * _argo0 = 0;
1330 PyObject * _obj1 = 0;
1331 char *_kwnames[] = { "self","location", NULL };
1332
1333 self = self;
1334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxInternetFSHandler_CanOpen",_kwnames,&_argo0,&_obj1))
1335 return NULL;
1336 if (_argo0) {
1337 if (_argo0 == Py_None) { _arg0 = NULL; }
1338 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxInternetFSHandler_p")) {
1339 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxInternetFSHandler_CanOpen. Expected _wxInternetFSHandler_p.");
1340 return NULL;
1341 }
1342 }
1343 {
1344 if (!PyString_Check(_obj1)) {
1345 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1346 return NULL;
1347 }
1348 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
1349 }
1350 {
1351 wxPy_BEGIN_ALLOW_THREADS;
1352 _result = (bool )wxInternetFSHandler_CanOpen(_arg0,*_arg1);
1353
1354 wxPy_END_ALLOW_THREADS;
1355 } _resultobj = Py_BuildValue("i",_result);
1356 {
1357 if (_obj1)
1358 delete _arg1;
1359 }
1360 return _resultobj;
1361 }
1362
1363 #define wxInternetFSHandler_OpenFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->OpenFile(_swigarg0,_swigarg1))
1364 static PyObject *_wrap_wxInternetFSHandler_OpenFile(PyObject *self, PyObject *args, PyObject *kwargs) {
1365 PyObject * _resultobj;
1366 wxFSFile * _result;
1367 wxInternetFSHandler * _arg0;
1368 wxFileSystem * _arg1;
1369 wxString * _arg2;
1370 PyObject * _argo0 = 0;
1371 PyObject * _argo1 = 0;
1372 PyObject * _obj2 = 0;
1373 char *_kwnames[] = { "self","fs","location", NULL };
1374 char _ptemp[128];
1375
1376 self = self;
1377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxInternetFSHandler_OpenFile",_kwnames,&_argo0,&_argo1,&_obj2))
1378 return NULL;
1379 if (_argo0) {
1380 if (_argo0 == Py_None) { _arg0 = NULL; }
1381 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxInternetFSHandler_p")) {
1382 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxInternetFSHandler_OpenFile. Expected _wxInternetFSHandler_p.");
1383 return NULL;
1384 }
1385 }
1386 if (_argo1) {
1387 if (_argo1 == Py_None) { _arg1 = NULL; }
1388 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFileSystem_p")) {
1389 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxInternetFSHandler_OpenFile. Expected _wxFileSystem_p.");
1390 return NULL;
1391 }
1392 }
1393 {
1394 if (!PyString_Check(_obj2)) {
1395 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1396 return NULL;
1397 }
1398 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
1399 }
1400 {
1401 wxPy_BEGIN_ALLOW_THREADS;
1402 _result = (wxFSFile *)wxInternetFSHandler_OpenFile(_arg0,*_arg1,*_arg2);
1403
1404 wxPy_END_ALLOW_THREADS;
1405 } if (_result) {
1406 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFSFile_p");
1407 _resultobj = Py_BuildValue("s",_ptemp);
1408 } else {
1409 Py_INCREF(Py_None);
1410 _resultobj = Py_None;
1411 }
1412 {
1413 if (_obj2)
1414 delete _arg2;
1415 }
1416 return _resultobj;
1417 }
1418
1419 static void *SwigwxZipFSHandlerTowxFileSystemHandler(void *ptr) {
1420 wxZipFSHandler *src;
1421 wxFileSystemHandler *dest;
1422 src = (wxZipFSHandler *) ptr;
1423 dest = (wxFileSystemHandler *) src;
1424 return (void *) dest;
1425 }
1426
1427 #define new_wxZipFSHandler() (new wxZipFSHandler())
1428 static PyObject *_wrap_new_wxZipFSHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
1429 PyObject * _resultobj;
1430 wxZipFSHandler * _result;
1431 char *_kwnames[] = { NULL };
1432 char _ptemp[128];
1433
1434 self = self;
1435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxZipFSHandler",_kwnames))
1436 return NULL;
1437 {
1438 wxPy_BEGIN_ALLOW_THREADS;
1439 _result = (wxZipFSHandler *)new_wxZipFSHandler();
1440
1441 wxPy_END_ALLOW_THREADS;
1442 } if (_result) {
1443 SWIG_MakePtr(_ptemp, (char *) _result,"_wxZipFSHandler_p");
1444 _resultobj = Py_BuildValue("s",_ptemp);
1445 } else {
1446 Py_INCREF(Py_None);
1447 _resultobj = Py_None;
1448 }
1449 return _resultobj;
1450 }
1451
1452 #define wxZipFSHandler_CanOpen(_swigobj,_swigarg0) (_swigobj->CanOpen(_swigarg0))
1453 static PyObject *_wrap_wxZipFSHandler_CanOpen(PyObject *self, PyObject *args, PyObject *kwargs) {
1454 PyObject * _resultobj;
1455 bool _result;
1456 wxZipFSHandler * _arg0;
1457 wxString * _arg1;
1458 PyObject * _argo0 = 0;
1459 PyObject * _obj1 = 0;
1460 char *_kwnames[] = { "self","location", NULL };
1461
1462 self = self;
1463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxZipFSHandler_CanOpen",_kwnames,&_argo0,&_obj1))
1464 return NULL;
1465 if (_argo0) {
1466 if (_argo0 == Py_None) { _arg0 = NULL; }
1467 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxZipFSHandler_p")) {
1468 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxZipFSHandler_CanOpen. Expected _wxZipFSHandler_p.");
1469 return NULL;
1470 }
1471 }
1472 {
1473 if (!PyString_Check(_obj1)) {
1474 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1475 return NULL;
1476 }
1477 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
1478 }
1479 {
1480 wxPy_BEGIN_ALLOW_THREADS;
1481 _result = (bool )wxZipFSHandler_CanOpen(_arg0,*_arg1);
1482
1483 wxPy_END_ALLOW_THREADS;
1484 } _resultobj = Py_BuildValue("i",_result);
1485 {
1486 if (_obj1)
1487 delete _arg1;
1488 }
1489 return _resultobj;
1490 }
1491
1492 #define wxZipFSHandler_OpenFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->OpenFile(_swigarg0,_swigarg1))
1493 static PyObject *_wrap_wxZipFSHandler_OpenFile(PyObject *self, PyObject *args, PyObject *kwargs) {
1494 PyObject * _resultobj;
1495 wxFSFile * _result;
1496 wxZipFSHandler * _arg0;
1497 wxFileSystem * _arg1;
1498 wxString * _arg2;
1499 PyObject * _argo0 = 0;
1500 PyObject * _argo1 = 0;
1501 PyObject * _obj2 = 0;
1502 char *_kwnames[] = { "self","fs","location", NULL };
1503 char _ptemp[128];
1504
1505 self = self;
1506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxZipFSHandler_OpenFile",_kwnames,&_argo0,&_argo1,&_obj2))
1507 return NULL;
1508 if (_argo0) {
1509 if (_argo0 == Py_None) { _arg0 = NULL; }
1510 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxZipFSHandler_p")) {
1511 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxZipFSHandler_OpenFile. Expected _wxZipFSHandler_p.");
1512 return NULL;
1513 }
1514 }
1515 if (_argo1) {
1516 if (_argo1 == Py_None) { _arg1 = NULL; }
1517 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFileSystem_p")) {
1518 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxZipFSHandler_OpenFile. Expected _wxFileSystem_p.");
1519 return NULL;
1520 }
1521 }
1522 {
1523 if (!PyString_Check(_obj2)) {
1524 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1525 return NULL;
1526 }
1527 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
1528 }
1529 {
1530 wxPy_BEGIN_ALLOW_THREADS;
1531 _result = (wxFSFile *)wxZipFSHandler_OpenFile(_arg0,*_arg1,*_arg2);
1532
1533 wxPy_END_ALLOW_THREADS;
1534 } if (_result) {
1535 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFSFile_p");
1536 _resultobj = Py_BuildValue("s",_ptemp);
1537 } else {
1538 Py_INCREF(Py_None);
1539 _resultobj = Py_None;
1540 }
1541 {
1542 if (_obj2)
1543 delete _arg2;
1544 }
1545 return _resultobj;
1546 }
1547
1548 #define wxZipFSHandler_FindFirst(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindFirst(_swigarg0,_swigarg1))
1549 static PyObject *_wrap_wxZipFSHandler_FindFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
1550 PyObject * _resultobj;
1551 wxString * _result;
1552 wxZipFSHandler * _arg0;
1553 wxString * _arg1;
1554 int _arg2 = (int ) 0;
1555 PyObject * _argo0 = 0;
1556 PyObject * _obj1 = 0;
1557 char *_kwnames[] = { "self","spec","flags", NULL };
1558
1559 self = self;
1560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxZipFSHandler_FindFirst",_kwnames,&_argo0,&_obj1,&_arg2))
1561 return NULL;
1562 if (_argo0) {
1563 if (_argo0 == Py_None) { _arg0 = NULL; }
1564 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxZipFSHandler_p")) {
1565 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxZipFSHandler_FindFirst. Expected _wxZipFSHandler_p.");
1566 return NULL;
1567 }
1568 }
1569 {
1570 if (!PyString_Check(_obj1)) {
1571 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1572 return NULL;
1573 }
1574 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
1575 }
1576 {
1577 wxPy_BEGIN_ALLOW_THREADS;
1578 _result = new wxString (wxZipFSHandler_FindFirst(_arg0,*_arg1,_arg2));
1579
1580 wxPy_END_ALLOW_THREADS;
1581 }{
1582 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
1583 }
1584 {
1585 if (_obj1)
1586 delete _arg1;
1587 }
1588 {
1589 delete _result;
1590 }
1591 return _resultobj;
1592 }
1593
1594 #define wxZipFSHandler_FindNext(_swigobj) (_swigobj->FindNext())
1595 static PyObject *_wrap_wxZipFSHandler_FindNext(PyObject *self, PyObject *args, PyObject *kwargs) {
1596 PyObject * _resultobj;
1597 wxString * _result;
1598 wxZipFSHandler * _arg0;
1599 PyObject * _argo0 = 0;
1600 char *_kwnames[] = { "self", NULL };
1601
1602 self = self;
1603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxZipFSHandler_FindNext",_kwnames,&_argo0))
1604 return NULL;
1605 if (_argo0) {
1606 if (_argo0 == Py_None) { _arg0 = NULL; }
1607 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxZipFSHandler_p")) {
1608 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxZipFSHandler_FindNext. Expected _wxZipFSHandler_p.");
1609 return NULL;
1610 }
1611 }
1612 {
1613 wxPy_BEGIN_ALLOW_THREADS;
1614 _result = new wxString (wxZipFSHandler_FindNext(_arg0));
1615
1616 wxPy_END_ALLOW_THREADS;
1617 }{
1618 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
1619 }
1620 {
1621 delete _result;
1622 }
1623 return _resultobj;
1624 }
1625
1626 static void *SwigwxMemoryFSHandlerTowxFileSystemHandler(void *ptr) {
1627 wxMemoryFSHandler *src;
1628 wxFileSystemHandler *dest;
1629 src = (wxMemoryFSHandler *) ptr;
1630 dest = (wxFileSystemHandler *) src;
1631 return (void *) dest;
1632 }
1633
1634 #define new_wxMemoryFSHandler() (new wxMemoryFSHandler())
1635 static PyObject *_wrap_new_wxMemoryFSHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
1636 PyObject * _resultobj;
1637 wxMemoryFSHandler * _result;
1638 char *_kwnames[] = { NULL };
1639 char _ptemp[128];
1640
1641 self = self;
1642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxMemoryFSHandler",_kwnames))
1643 return NULL;
1644 {
1645 wxPy_BEGIN_ALLOW_THREADS;
1646 _result = (wxMemoryFSHandler *)new_wxMemoryFSHandler();
1647
1648 wxPy_END_ALLOW_THREADS;
1649 } if (_result) {
1650 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMemoryFSHandler_p");
1651 _resultobj = Py_BuildValue("s",_ptemp);
1652 } else {
1653 Py_INCREF(Py_None);
1654 _resultobj = Py_None;
1655 }
1656 return _resultobj;
1657 }
1658
1659 static PyObject *_wrap_wxMemoryFSHandler_RemoveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
1660 PyObject * _resultobj;
1661 wxString * _arg0;
1662 PyObject * _obj0 = 0;
1663 char *_kwnames[] = { "filename", NULL };
1664
1665 self = self;
1666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMemoryFSHandler_RemoveFile",_kwnames,&_obj0))
1667 return NULL;
1668 {
1669 if (!PyString_Check(_obj0)) {
1670 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1671 return NULL;
1672 }
1673 _arg0 = new wxString(PyString_AsString(_obj0), PyString_Size(_obj0));
1674 }
1675 {
1676 wxPy_BEGIN_ALLOW_THREADS;
1677 wxMemoryFSHandler::RemoveFile(*_arg0);
1678
1679 wxPy_END_ALLOW_THREADS;
1680 } Py_INCREF(Py_None);
1681 _resultobj = Py_None;
1682 {
1683 if (_obj0)
1684 delete _arg0;
1685 }
1686 return _resultobj;
1687 }
1688
1689 #define wxMemoryFSHandler_CanOpen(_swigobj,_swigarg0) (_swigobj->CanOpen(_swigarg0))
1690 static PyObject *_wrap_wxMemoryFSHandler_CanOpen(PyObject *self, PyObject *args, PyObject *kwargs) {
1691 PyObject * _resultobj;
1692 bool _result;
1693 wxMemoryFSHandler * _arg0;
1694 wxString * _arg1;
1695 PyObject * _argo0 = 0;
1696 PyObject * _obj1 = 0;
1697 char *_kwnames[] = { "self","location", NULL };
1698
1699 self = self;
1700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMemoryFSHandler_CanOpen",_kwnames,&_argo0,&_obj1))
1701 return NULL;
1702 if (_argo0) {
1703 if (_argo0 == Py_None) { _arg0 = NULL; }
1704 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMemoryFSHandler_p")) {
1705 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMemoryFSHandler_CanOpen. Expected _wxMemoryFSHandler_p.");
1706 return NULL;
1707 }
1708 }
1709 {
1710 if (!PyString_Check(_obj1)) {
1711 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1712 return NULL;
1713 }
1714 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
1715 }
1716 {
1717 wxPy_BEGIN_ALLOW_THREADS;
1718 _result = (bool )wxMemoryFSHandler_CanOpen(_arg0,*_arg1);
1719
1720 wxPy_END_ALLOW_THREADS;
1721 } _resultobj = Py_BuildValue("i",_result);
1722 {
1723 if (_obj1)
1724 delete _arg1;
1725 }
1726 return _resultobj;
1727 }
1728
1729 #define wxMemoryFSHandler_OpenFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->OpenFile(_swigarg0,_swigarg1))
1730 static PyObject *_wrap_wxMemoryFSHandler_OpenFile(PyObject *self, PyObject *args, PyObject *kwargs) {
1731 PyObject * _resultobj;
1732 wxFSFile * _result;
1733 wxMemoryFSHandler * _arg0;
1734 wxFileSystem * _arg1;
1735 wxString * _arg2;
1736 PyObject * _argo0 = 0;
1737 PyObject * _argo1 = 0;
1738 PyObject * _obj2 = 0;
1739 char *_kwnames[] = { "self","fs","location", NULL };
1740 char _ptemp[128];
1741
1742 self = self;
1743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxMemoryFSHandler_OpenFile",_kwnames,&_argo0,&_argo1,&_obj2))
1744 return NULL;
1745 if (_argo0) {
1746 if (_argo0 == Py_None) { _arg0 = NULL; }
1747 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMemoryFSHandler_p")) {
1748 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMemoryFSHandler_OpenFile. Expected _wxMemoryFSHandler_p.");
1749 return NULL;
1750 }
1751 }
1752 if (_argo1) {
1753 if (_argo1 == Py_None) { _arg1 = NULL; }
1754 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFileSystem_p")) {
1755 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMemoryFSHandler_OpenFile. Expected _wxFileSystem_p.");
1756 return NULL;
1757 }
1758 }
1759 {
1760 if (!PyString_Check(_obj2)) {
1761 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1762 return NULL;
1763 }
1764 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
1765 }
1766 {
1767 wxPy_BEGIN_ALLOW_THREADS;
1768 _result = (wxFSFile *)wxMemoryFSHandler_OpenFile(_arg0,*_arg1,*_arg2);
1769
1770 wxPy_END_ALLOW_THREADS;
1771 } if (_result) {
1772 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFSFile_p");
1773 _resultobj = Py_BuildValue("s",_ptemp);
1774 } else {
1775 Py_INCREF(Py_None);
1776 _resultobj = Py_None;
1777 }
1778 {
1779 if (_obj2)
1780 delete _arg2;
1781 }
1782 return _resultobj;
1783 }
1784
1785 #define wxMemoryFSHandler_FindFirst(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindFirst(_swigarg0,_swigarg1))
1786 static PyObject *_wrap_wxMemoryFSHandler_FindFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
1787 PyObject * _resultobj;
1788 wxString * _result;
1789 wxMemoryFSHandler * _arg0;
1790 wxString * _arg1;
1791 int _arg2 = (int ) 0;
1792 PyObject * _argo0 = 0;
1793 PyObject * _obj1 = 0;
1794 char *_kwnames[] = { "self","spec","flags", NULL };
1795
1796 self = self;
1797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxMemoryFSHandler_FindFirst",_kwnames,&_argo0,&_obj1,&_arg2))
1798 return NULL;
1799 if (_argo0) {
1800 if (_argo0 == Py_None) { _arg0 = NULL; }
1801 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMemoryFSHandler_p")) {
1802 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMemoryFSHandler_FindFirst. Expected _wxMemoryFSHandler_p.");
1803 return NULL;
1804 }
1805 }
1806 {
1807 if (!PyString_Check(_obj1)) {
1808 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1809 return NULL;
1810 }
1811 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
1812 }
1813 {
1814 wxPy_BEGIN_ALLOW_THREADS;
1815 _result = new wxString (wxMemoryFSHandler_FindFirst(_arg0,*_arg1,_arg2));
1816
1817 wxPy_END_ALLOW_THREADS;
1818 }{
1819 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
1820 }
1821 {
1822 if (_obj1)
1823 delete _arg1;
1824 }
1825 {
1826 delete _result;
1827 }
1828 return _resultobj;
1829 }
1830
1831 #define wxMemoryFSHandler_FindNext(_swigobj) (_swigobj->FindNext())
1832 static PyObject *_wrap_wxMemoryFSHandler_FindNext(PyObject *self, PyObject *args, PyObject *kwargs) {
1833 PyObject * _resultobj;
1834 wxString * _result;
1835 wxMemoryFSHandler * _arg0;
1836 PyObject * _argo0 = 0;
1837 char *_kwnames[] = { "self", NULL };
1838
1839 self = self;
1840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMemoryFSHandler_FindNext",_kwnames,&_argo0))
1841 return NULL;
1842 if (_argo0) {
1843 if (_argo0 == Py_None) { _arg0 = NULL; }
1844 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMemoryFSHandler_p")) {
1845 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMemoryFSHandler_FindNext. Expected _wxMemoryFSHandler_p.");
1846 return NULL;
1847 }
1848 }
1849 {
1850 wxPy_BEGIN_ALLOW_THREADS;
1851 _result = new wxString (wxMemoryFSHandler_FindNext(_arg0));
1852
1853 wxPy_END_ALLOW_THREADS;
1854 }{
1855 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
1856 }
1857 {
1858 delete _result;
1859 }
1860 return _resultobj;
1861 }
1862
1863 static PyMethodDef filesyscMethods[] = {
1864 { "wxMemoryFSHandler_FindNext", (PyCFunction) _wrap_wxMemoryFSHandler_FindNext, METH_VARARGS | METH_KEYWORDS },
1865 { "wxMemoryFSHandler_FindFirst", (PyCFunction) _wrap_wxMemoryFSHandler_FindFirst, METH_VARARGS | METH_KEYWORDS },
1866 { "wxMemoryFSHandler_OpenFile", (PyCFunction) _wrap_wxMemoryFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS },
1867 { "wxMemoryFSHandler_CanOpen", (PyCFunction) _wrap_wxMemoryFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS },
1868 { "wxMemoryFSHandler_RemoveFile", (PyCFunction) _wrap_wxMemoryFSHandler_RemoveFile, METH_VARARGS | METH_KEYWORDS },
1869 { "new_wxMemoryFSHandler", (PyCFunction) _wrap_new_wxMemoryFSHandler, METH_VARARGS | METH_KEYWORDS },
1870 { "wxZipFSHandler_FindNext", (PyCFunction) _wrap_wxZipFSHandler_FindNext, METH_VARARGS | METH_KEYWORDS },
1871 { "wxZipFSHandler_FindFirst", (PyCFunction) _wrap_wxZipFSHandler_FindFirst, METH_VARARGS | METH_KEYWORDS },
1872 { "wxZipFSHandler_OpenFile", (PyCFunction) _wrap_wxZipFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS },
1873 { "wxZipFSHandler_CanOpen", (PyCFunction) _wrap_wxZipFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS },
1874 { "new_wxZipFSHandler", (PyCFunction) _wrap_new_wxZipFSHandler, METH_VARARGS | METH_KEYWORDS },
1875 { "wxInternetFSHandler_OpenFile", (PyCFunction) _wrap_wxInternetFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS },
1876 { "wxInternetFSHandler_CanOpen", (PyCFunction) _wrap_wxInternetFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS },
1877 { "new_wxInternetFSHandler", (PyCFunction) _wrap_new_wxInternetFSHandler, METH_VARARGS | METH_KEYWORDS },
1878 { "wxFileSystem_CleanUpHandlers", (PyCFunction) _wrap_wxFileSystem_CleanUpHandlers, METH_VARARGS | METH_KEYWORDS },
1879 { "wxFileSystem_AddHandler", (PyCFunction) _wrap_wxFileSystem_AddHandler, METH_VARARGS | METH_KEYWORDS },
1880 { "wxFileSystem_FindNext", (PyCFunction) _wrap_wxFileSystem_FindNext, METH_VARARGS | METH_KEYWORDS },
1881 { "wxFileSystem_FindFirst", (PyCFunction) _wrap_wxFileSystem_FindFirst, METH_VARARGS | METH_KEYWORDS },
1882 { "wxFileSystem_OpenFile", (PyCFunction) _wrap_wxFileSystem_OpenFile, METH_VARARGS | METH_KEYWORDS },
1883 { "wxFileSystem_GetPath", (PyCFunction) _wrap_wxFileSystem_GetPath, METH_VARARGS | METH_KEYWORDS },
1884 { "wxFileSystem_ChangePathTo", (PyCFunction) _wrap_wxFileSystem_ChangePathTo, METH_VARARGS | METH_KEYWORDS },
1885 { "new_wxFileSystem", (PyCFunction) _wrap_new_wxFileSystem, METH_VARARGS | METH_KEYWORDS },
1886 { "wxFileSystemHandler_GetMimeTypeFromExt", (PyCFunction) _wrap_wxFileSystemHandler_GetMimeTypeFromExt, METH_VARARGS | METH_KEYWORDS },
1887 { "wxFileSystemHandler_GetRightLocation", (PyCFunction) _wrap_wxFileSystemHandler_GetRightLocation, METH_VARARGS | METH_KEYWORDS },
1888 { "wxFileSystemHandler_GetAnchor", (PyCFunction) _wrap_wxFileSystemHandler_GetAnchor, METH_VARARGS | METH_KEYWORDS },
1889 { "wxFileSystemHandler_GetLeftLocation", (PyCFunction) _wrap_wxFileSystemHandler_GetLeftLocation, METH_VARARGS | METH_KEYWORDS },
1890 { "wxFileSystemHandler_GetProtocol", (PyCFunction) _wrap_wxFileSystemHandler_GetProtocol, METH_VARARGS | METH_KEYWORDS },
1891 { "wxFileSystemHandler_FindNext", (PyCFunction) _wrap_wxFileSystemHandler_FindNext, METH_VARARGS | METH_KEYWORDS },
1892 { "wxFileSystemHandler_FindFirst", (PyCFunction) _wrap_wxFileSystemHandler_FindFirst, METH_VARARGS | METH_KEYWORDS },
1893 { "wxFileSystemHandler_OpenFile", (PyCFunction) _wrap_wxFileSystemHandler_OpenFile, METH_VARARGS | METH_KEYWORDS },
1894 { "wxFileSystemHandler_CanOpen", (PyCFunction) _wrap_wxFileSystemHandler_CanOpen, METH_VARARGS | METH_KEYWORDS },
1895 { "wxFileSystemHandler__setSelf", (PyCFunction) _wrap_wxFileSystemHandler__setSelf, METH_VARARGS | METH_KEYWORDS },
1896 { "new_wxFileSystemHandler", (PyCFunction) _wrap_new_wxFileSystemHandler, METH_VARARGS | METH_KEYWORDS },
1897 { "wxFSFile_GetModificationTime", (PyCFunction) _wrap_wxFSFile_GetModificationTime, METH_VARARGS | METH_KEYWORDS },
1898 { "wxFSFile_GetAnchor", (PyCFunction) _wrap_wxFSFile_GetAnchor, METH_VARARGS | METH_KEYWORDS },
1899 { "wxFSFile_GetLocation", (PyCFunction) _wrap_wxFSFile_GetLocation, METH_VARARGS | METH_KEYWORDS },
1900 { "wxFSFile_GetMimeType", (PyCFunction) _wrap_wxFSFile_GetMimeType, METH_VARARGS | METH_KEYWORDS },
1901 { "wxFSFile_GetStream", (PyCFunction) _wrap_wxFSFile_GetStream, METH_VARARGS | METH_KEYWORDS },
1902 { "new_wxFSFile", (PyCFunction) _wrap_new_wxFSFile, METH_VARARGS | METH_KEYWORDS },
1903 { "__wxMemoryFSHandler_AddFile_Data", (PyCFunction) _wrap___wxMemoryFSHandler_AddFile_Data, METH_VARARGS | METH_KEYWORDS },
1904 { "__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction) _wrap___wxMemoryFSHandler_AddFile_wxBitmap, METH_VARARGS | METH_KEYWORDS },
1905 { "__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction) _wrap___wxMemoryFSHandler_AddFile_wxImage, METH_VARARGS | METH_KEYWORDS },
1906 { NULL, NULL }
1907 };
1908 #ifdef __cplusplus
1909 }
1910 #endif
1911 /*
1912 * This table is used by the pointer type-checker
1913 */
1914 static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
1915 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
1916 { "_signed_long","_long",0},
1917 { "_class_wxJPEGHandler","_wxJPEGHandler",0},
1918 { "_class_wxFSFile","_wxFSFile",0},
1919 { "_wxBMPHandler","_class_wxBMPHandler",0},
1920 { "_wxImage","_class_wxImage",0},
1921 { "_class_wxDateTime","_wxDateTime",0},
1922 { "_wxPrintQuality","_wxCoord",0},
1923 { "_wxPrintQuality","_int",0},
1924 { "_wxPrintQuality","_signed_int",0},
1925 { "_wxPrintQuality","_unsigned_int",0},
1926 { "_wxPrintQuality","_wxWindowID",0},
1927 { "_wxPrintQuality","_uint",0},
1928 { "_wxPrintQuality","_EBool",0},
1929 { "_wxPrintQuality","_size_t",0},
1930 { "_wxPrintQuality","_time_t",0},
1931 { "_class_wxRegionIterator","_wxRegionIterator",0},
1932 { "_wxGIFHandler","_class_wxGIFHandler",0},
1933 { "_wxInternetFSHandler","_class_wxInternetFSHandler",0},
1934 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
1935 { "_wxCursor","_class_wxCursor",0},
1936 { "_wxImageHandler","_class_wxImageHandler",0},
1937 { "_wxMask","_class_wxMask",0},
1938 { "_wxPNGHandler","_class_wxPNGHandler",0},
1939 { "_wxPen","_class_wxPen",0},
1940 { "_byte","_unsigned_char",0},
1941 { "_long","_unsigned_long",0},
1942 { "_long","_signed_long",0},
1943 { "_wxImageList","_class_wxImageList",0},
1944 { "_class_wxTIFFHandler","_wxTIFFHandler",0},
1945 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
1946 { "_wxDC","_class_wxDC",0},
1947 { "_class_wxBMPHandler","_wxBMPHandler",0},
1948 { "_size_t","_wxCoord",0},
1949 { "_size_t","_wxPrintQuality",0},
1950 { "_size_t","_time_t",0},
1951 { "_size_t","_unsigned_int",0},
1952 { "_size_t","_int",0},
1953 { "_size_t","_wxWindowID",0},
1954 { "_size_t","_uint",0},
1955 { "_class_wxRealPoint","_wxRealPoint",0},
1956 { "_wxPNMHandler","_class_wxPNMHandler",0},
1957 { "_wxPrinterDC","_class_wxPrinterDC",0},
1958 { "_class_wxGIFHandler","_wxGIFHandler",0},
1959 { "_wxFileConfig","_class_wxFileConfig",0},
1960 { "_class_wxMask","_wxMask",0},
1961 { "_class_wxPNGHandler","_wxPNGHandler",0},
1962 { "_wxColour","_class_wxColour",0},
1963 { "_wxBrush","_class_wxBrush",0},
1964 { "_uint","_wxCoord",0},
1965 { "_uint","_wxPrintQuality",0},
1966 { "_uint","_time_t",0},
1967 { "_uint","_size_t",0},
1968 { "_uint","_unsigned_int",0},
1969 { "_uint","_int",0},
1970 { "_uint","_wxWindowID",0},
1971 { "_wxChar","_char",0},
1972 { "_wxRect","_class_wxRect",0},
1973 { "_class_wxImage","_wxImage",0},
1974 { "_wxPoint","_class_wxPoint",0},
1975 { "_class_wxPNMHandler","_wxPNMHandler",0},
1976 { "_class_wxZipFSHandler","_wxZipFSHandler",0},
1977 { "_char","_wxChar",0},
1978 { "_wxBitmap","_class_wxBitmap",0},
1979 { "_wxWindowDC","_class_wxWindowDC",0},
1980 { "_class_wxInternetFSHandler","_wxInternetFSHandler",0},
1981 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
1982 { "_wxConfig","_class_wxConfig",0},
1983 { "_class_wxFileConfig","_wxFileConfig",0},
1984 { "_class_wxMemoryFSHandler","_wxMemoryFSHandler",0},
1985 { "_EBool","_wxCoord",0},
1986 { "_EBool","_wxPrintQuality",0},
1987 { "_EBool","_signed_int",0},
1988 { "_EBool","_int",0},
1989 { "_EBool","_wxWindowID",0},
1990 { "_class_wxRegion","_wxRegion",0},
1991 { "_wxFont","_class_wxFont",0},
1992 { "_wxFSFile","_class_wxFSFile",0},
1993 { "_unsigned_long","_long",0},
1994 { "_class_wxRect","_wxRect",0},
1995 { "_class_wxDC","_wxDC",0},
1996 { "_wxPyInputStream","_class_wxPyInputStream",0},
1997 { "_wxTimeSpan","_class_wxTimeSpan",0},
1998 { "_class_wxOutputStream","_wxOutputStream",0},
1999 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
2000 { "_signed_int","_wxCoord",0},
2001 { "_signed_int","_wxPrintQuality",0},
2002 { "_signed_int","_EBool",0},
2003 { "_signed_int","_wxWindowID",0},
2004 { "_signed_int","_int",0},
2005 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
2006 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
2007 { "_wxScreenDC","_class_wxScreenDC",0},
2008 { "_WXTYPE","_wxDateTime_t",0},
2009 { "_WXTYPE","_short",0},
2010 { "_WXTYPE","_signed_short",0},
2011 { "_WXTYPE","_unsigned_short",0},
2012 { "_class_wxBrush","_wxBrush",0},
2013 { "_unsigned_short","_wxDateTime_t",0},
2014 { "_unsigned_short","_WXTYPE",0},
2015 { "_unsigned_short","_short",0},
2016 { "_wxDateSpan","_class_wxDateSpan",0},
2017 { "_class_wxFont","_wxFont",0},
2018 { "_wxBusyInfo","_class_wxBusyInfo",0},
2019 { "_wxClientDC","_class_wxClientDC",0},
2020 { "_class_wxPoint","_wxPoint",0},
2021 { "_class_wxPyInputStream","_wxPyInputStream",0},
2022 { "_wxRealPoint","_class_wxRealPoint",0},
2023 { "_signed_short","_WXTYPE",0},
2024 { "_signed_short","_short",0},
2025 { "_wxMemoryDC","_class_wxMemoryDC",0},
2026 { "_wxPyFileSystemHandler","_class_wxPyFileSystemHandler",0},
2027 { "_wxPaintDC","_class_wxPaintDC",0},
2028 { "_class_wxWindowDC","_wxWindowDC",0},
2029 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
2030 { "_class_wxCursor","_wxCursor",0},
2031 { "_class_wxImageHandler","_wxImageHandler",0},
2032 { "_unsigned_char","_byte",0},
2033 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
2034 { "_unsigned_int","_wxCoord",0},
2035 { "_unsigned_int","_wxPrintQuality",0},
2036 { "_unsigned_int","_time_t",0},
2037 { "_unsigned_int","_size_t",0},
2038 { "_unsigned_int","_uint",0},
2039 { "_unsigned_int","_wxWindowID",0},
2040 { "_unsigned_int","_int",0},
2041 { "_wxIcon","_class_wxIcon",0},
2042 { "_wxConfigBase","_class_wxConfigBase",0},
2043 { "_class_wxPen","_wxPen",0},
2044 { "_short","_wxDateTime_t",0},
2045 { "_short","_WXTYPE",0},
2046 { "_short","_unsigned_short",0},
2047 { "_short","_signed_short",0},
2048 { "_class_wxImageList","_wxImageList",0},
2049 { "_wxFileSystemHandler","_class_wxMemoryFSHandler",SwigwxMemoryFSHandlerTowxFileSystemHandler},
2050 { "_wxFileSystemHandler","_wxMemoryFSHandler",SwigwxMemoryFSHandlerTowxFileSystemHandler},
2051 { "_wxFileSystemHandler","_class_wxZipFSHandler",SwigwxZipFSHandlerTowxFileSystemHandler},
2052 { "_wxFileSystemHandler","_wxZipFSHandler",SwigwxZipFSHandlerTowxFileSystemHandler},
2053 { "_wxFileSystemHandler","_class_wxInternetFSHandler",SwigwxInternetFSHandlerTowxFileSystemHandler},
2054 { "_wxFileSystemHandler","_wxInternetFSHandler",SwigwxInternetFSHandlerTowxFileSystemHandler},
2055 { "_wxFileSystemHandler","_class_wxPyFileSystemHandler",SwigwxPyFileSystemHandlerTowxFileSystemHandler},
2056 { "_wxFileSystemHandler","_wxPyFileSystemHandler",SwigwxPyFileSystemHandlerTowxFileSystemHandler},
2057 { "_wxFileSystemHandler","_class_wxFileSystemHandler",0},
2058 { "_wxPCXHandler","_class_wxPCXHandler",0},
2059 { "_wxJPEGHandler","_class_wxJPEGHandler",0},
2060 { "_wxWindowID","_wxCoord",0},
2061 { "_wxWindowID","_wxPrintQuality",0},
2062 { "_wxWindowID","_time_t",0},
2063 { "_wxWindowID","_size_t",0},
2064 { "_wxWindowID","_EBool",0},
2065 { "_wxWindowID","_uint",0},
2066 { "_wxWindowID","_int",0},
2067 { "_wxWindowID","_signed_int",0},
2068 { "_wxWindowID","_unsigned_int",0},
2069 { "_int","_wxCoord",0},
2070 { "_int","_wxPrintQuality",0},
2071 { "_int","_time_t",0},
2072 { "_int","_size_t",0},
2073 { "_int","_EBool",0},
2074 { "_int","_uint",0},
2075 { "_int","_wxWindowID",0},
2076 { "_int","_unsigned_int",0},
2077 { "_int","_signed_int",0},
2078 { "_wxDateTime_t","_unsigned_short",0},
2079 { "_wxDateTime_t","_short",0},
2080 { "_wxDateTime_t","_WXTYPE",0},
2081 { "_wxDateTime","_class_wxDateTime",0},
2082 { "_time_t","_wxCoord",0},
2083 { "_time_t","_wxPrintQuality",0},
2084 { "_time_t","_unsigned_int",0},
2085 { "_time_t","_int",0},
2086 { "_time_t","_wxWindowID",0},
2087 { "_time_t","_uint",0},
2088 { "_time_t","_size_t",0},
2089 { "_wxZipFSHandler","_class_wxZipFSHandler",0},
2090 { "_class_wxTimeSpan","_wxTimeSpan",0},
2091 { "_wxSize","_class_wxSize",0},
2092 { "_wxRegionIterator","_class_wxRegionIterator",0},
2093 { "_class_wxPrinterDC","_wxPrinterDC",0},
2094 { "_class_wxPyFileSystemHandler","_wxPyFileSystemHandler",0},
2095 { "_class_wxPaintDC","_wxPaintDC",0},
2096 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
2097 { "_class_wxIcon","_wxIcon",0},
2098 { "_class_wxColour","_wxColour",0},
2099 { "_class_wxScreenDC","_wxScreenDC",0},
2100 { "_class_wxConfigBase","_wxConfigBase",0},
2101 { "_wxPalette","_class_wxPalette",0},
2102 { "_wxCoord","_int",0},
2103 { "_wxCoord","_signed_int",0},
2104 { "_wxCoord","_unsigned_int",0},
2105 { "_wxCoord","_wxWindowID",0},
2106 { "_wxCoord","_uint",0},
2107 { "_wxCoord","_EBool",0},
2108 { "_wxCoord","_size_t",0},
2109 { "_wxCoord","_time_t",0},
2110 { "_wxCoord","_wxPrintQuality",0},
2111 { "_wxMemoryFSHandler","_class_wxMemoryFSHandler",0},
2112 { "_class_wxDateSpan","_wxDateSpan",0},
2113 { "_wxRegion","_class_wxRegion",0},
2114 { "_wxFileSystem","_class_wxFileSystem",0},
2115 { "_class_wxPCXHandler","_wxPCXHandler",0},
2116 { "_wxTIFFHandler","_class_wxTIFFHandler",0},
2117 { "_class_wxBusyInfo","_wxBusyInfo",0},
2118 { "_class_wxClientDC","_wxClientDC",0},
2119 { "_class_wxSize","_wxSize",0},
2120 { "_class_wxBitmap","_wxBitmap",0},
2121 { "_class_wxMemoryDC","_wxMemoryDC",0},
2122 { "_wxOutputStream","_class_wxOutputStream",0},
2123 { "_class_wxConfig","_wxConfig",0},
2124 { "_class_wxPalette","_wxPalette",0},
2125 { "_class_wxFileSystemHandler","_class_wxMemoryFSHandler",SwigwxMemoryFSHandlerTowxFileSystemHandler},
2126 { "_class_wxFileSystemHandler","_wxMemoryFSHandler",SwigwxMemoryFSHandlerTowxFileSystemHandler},
2127 { "_class_wxFileSystemHandler","_class_wxZipFSHandler",SwigwxZipFSHandlerTowxFileSystemHandler},
2128 { "_class_wxFileSystemHandler","_wxZipFSHandler",SwigwxZipFSHandlerTowxFileSystemHandler},
2129 { "_class_wxFileSystemHandler","_class_wxInternetFSHandler",SwigwxInternetFSHandlerTowxFileSystemHandler},
2130 { "_class_wxFileSystemHandler","_wxInternetFSHandler",SwigwxInternetFSHandlerTowxFileSystemHandler},
2131 { "_class_wxFileSystemHandler","_class_wxPyFileSystemHandler",SwigwxPyFileSystemHandlerTowxFileSystemHandler},
2132 { "_class_wxFileSystemHandler","_wxPyFileSystemHandler",SwigwxPyFileSystemHandlerTowxFileSystemHandler},
2133 { "_class_wxFileSystemHandler","_wxFileSystemHandler",0},
2134 { "_class_wxFileSystem","_wxFileSystem",0},
2135 {0,0,0}};
2136
2137 static PyObject *SWIG_globals;
2138 #ifdef __cplusplus
2139 extern "C"
2140 #endif
2141 SWIGEXPORT(void) initfilesysc() {
2142 PyObject *m, *d;
2143 SWIG_globals = SWIG_newvarlink();
2144 m = Py_InitModule("filesysc", filesyscMethods);
2145 d = PyModule_GetDict(m);
2146 {
2147 int i;
2148 for (i = 0; _swig_mapping[i].n1; i++)
2149 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
2150 }
2151 }