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