2 * FILE : src/gtk/filesys.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
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.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
47 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
48 extern PyObject
*SWIG_newvarlink(void);
52 #define SWIG_init initfilesysc
54 #define SWIG_name "filesysc"
57 #include <wx/filesys.h>
58 #include <wx/fs_inet.h>
59 #include <wx/fs_mem.h>
60 #include <wx/fs_zip.h>
62 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
66 } else if (target
== Py_None
) {
70 if (!PyList_Check(target
)) {
72 target
= PyList_New(0);
73 PyList_Append(target
, o2
);
76 PyList_Append(target
,o
);
82 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
88 } else if (target
== Py_None
) {
92 if (!PyTuple_Check(target
)) {
94 target
= PyTuple_New(1);
95 PyTuple_SetItem(target
, 0, o2
);
98 PyTuple_SetItem(o3
, 0, o
);
101 target
= PySequence_Concat(o2
, o3
);
108 #if PYTHON_API_VERSION >= 1009
109 static char* wxStringErrorMsg
= "String or Unicode type required";
111 static char* wxStringErrorMsg
= "String type required";
114 // wxPyFileSystemHandler will be the Python class wxFileSystemHandler and handling
115 // the callback functions
116 class wxPyFileSystemHandler
: public wxFileSystemHandler
{
118 wxPyFileSystemHandler() : wxFileSystemHandler() {}
120 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen
);
121 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile
);
122 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst
);
123 DEC_PYCALLBACK_STRING__pure(FindNext
);
125 wxString
GetProtocol(const wxString
& location
) {
126 return wxFileSystemHandler::GetProtocol(location
);
129 wxString
GetLeftLocation(const wxString
& location
) {
130 return wxFileSystemHandler::GetLeftLocation(location
);
133 wxString
GetAnchor(const wxString
& location
) {
134 return wxFileSystemHandler::GetAnchor(location
);
137 wxString
GetRightLocation(const wxString
& location
) {
138 return wxFileSystemHandler::GetRightLocation(location
);
141 wxString
GetMimeTypeFromExt(const wxString
& location
){
142 return wxFileSystemHandler::GetMimeTypeFromExt(location
);
149 IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, CanOpen
);
150 IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, OpenFile
);
151 IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindFirst
);
152 IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindNext
);
154 void __wxMemoryFSHandler_AddFile_wxImage(const wxString
& filename
,
157 wxMemoryFSHandler::AddFile(filename
, image
, type
);
160 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString
& filename
,
161 const wxBitmap
& bitmap
,
163 wxMemoryFSHandler::AddFile(filename
, bitmap
, type
);
166 // void __wxMemoryFSHandler_AddFile_wxString(const wxString& filename,
167 // const wxString& textdata) {
168 // wxMemoryFSHandler::AddFile(filename, textdata);
171 void __wxMemoryFSHandler_AddFile_Data(const wxString
& filename
,
174 wxMemoryFSHandler::AddFile(filename
,
175 (void*)PyString_AsString(data
),
176 (size_t)PyString_Size(data
));
181 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
182 PyObject
* _resultobj
;
186 PyObject
* _obj0
= 0;
187 PyObject
* _argo1
= 0;
188 char *_kwnames
[] = { "filename","image","type", NULL
};
191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOl:__wxMemoryFSHandler_AddFile_wxImage",_kwnames
,&_obj0
,&_argo1
,&_arg2
))
194 #if PYTHON_API_VERSION >= 1009
195 char* tmpPtr
; int tmpSize
;
196 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
197 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
200 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
202 _arg0
= new wxString(tmpPtr
, tmpSize
);
204 if (!PyString_Check(_obj0
)) {
205 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
208 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
212 if (_argo1
== Py_None
) { _arg1
= NULL
; }
213 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImage_p")) {
214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of __wxMemoryFSHandler_AddFile_wxImage. Expected _wxImage_p.");
219 wxPy_BEGIN_ALLOW_THREADS
;
220 __wxMemoryFSHandler_AddFile_wxImage(*_arg0
,*_arg1
,_arg2
);
222 wxPy_END_ALLOW_THREADS
;
223 } Py_INCREF(Py_None
);
224 _resultobj
= Py_None
;
232 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
233 PyObject
* _resultobj
;
237 PyObject
* _obj0
= 0;
238 PyObject
* _argo1
= 0;
239 char *_kwnames
[] = { "filename","bitmap","type", NULL
};
242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOl:__wxMemoryFSHandler_AddFile_wxBitmap",_kwnames
,&_obj0
,&_argo1
,&_arg2
))
245 #if PYTHON_API_VERSION >= 1009
246 char* tmpPtr
; int tmpSize
;
247 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
248 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
251 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
253 _arg0
= new wxString(tmpPtr
, tmpSize
);
255 if (!PyString_Check(_obj0
)) {
256 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
259 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
263 if (_argo1
== Py_None
) { _arg1
= NULL
; }
264 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of __wxMemoryFSHandler_AddFile_wxBitmap. Expected _wxBitmap_p.");
270 wxPy_BEGIN_ALLOW_THREADS
;
271 __wxMemoryFSHandler_AddFile_wxBitmap(*_arg0
,*_arg1
,_arg2
);
273 wxPy_END_ALLOW_THREADS
;
274 } Py_INCREF(Py_None
);
275 _resultobj
= Py_None
;
283 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
284 PyObject
* _resultobj
;
287 PyObject
* _obj0
= 0;
288 PyObject
* _obj1
= 0;
289 char *_kwnames
[] = { "filename","data", NULL
};
292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:__wxMemoryFSHandler_AddFile_Data",_kwnames
,&_obj0
,&_obj1
))
295 #if PYTHON_API_VERSION >= 1009
296 char* tmpPtr
; int tmpSize
;
297 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
298 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
301 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
303 _arg0
= new wxString(tmpPtr
, tmpSize
);
305 if (!PyString_Check(_obj0
)) {
306 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
309 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
316 wxPy_BEGIN_ALLOW_THREADS
;
317 __wxMemoryFSHandler_AddFile_Data(*_arg0
,_arg1
);
319 wxPy_END_ALLOW_THREADS
;
320 } Py_INCREF(Py_None
);
321 _resultobj
= Py_None
;
329 static void *SwigwxFSFileTowxObject(void *ptr
) {
332 src
= (wxFSFile
*) ptr
;
333 dest
= (wxObject
*) src
;
334 return (void *) dest
;
337 #define new_wxFSFile(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxFSFile(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
338 static PyObject
*_wrap_new_wxFSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
339 PyObject
* _resultobj
;
341 wxInputStream
* _arg0
;
346 PyObject
* _obj0
= 0;
347 PyObject
* _obj1
= 0;
348 PyObject
* _obj2
= 0;
349 PyObject
* _obj3
= 0;
350 PyObject
* _argo4
= 0;
351 char *_kwnames
[] = { "stream","loc","mimetype","anchor","modif", NULL
};
355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOOO:new_wxFSFile",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_obj3
,&_argo4
))
358 if (PyInstance_Check(_obj0
)) {
359 wxPyInputStream
* ptr
;
360 if (SWIG_GetPtrObj(_obj0
, (void **) &ptr
,"_wxPyInputStream_p")) {
361 PyErr_SetString(PyExc_TypeError
,"Expected _wxInputStream_p.");
366 PyErr_SetString(PyExc_TypeError
,"Expected _wxInputStream_p.");
371 #if PYTHON_API_VERSION >= 1009
372 char* tmpPtr
; int tmpSize
;
373 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
374 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
377 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
379 _arg1
= new wxString(tmpPtr
, tmpSize
);
381 if (!PyString_Check(_obj1
)) {
382 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
385 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
389 #if PYTHON_API_VERSION >= 1009
390 char* tmpPtr
; int tmpSize
;
391 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
392 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
395 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
397 _arg2
= new wxString(tmpPtr
, tmpSize
);
399 if (!PyString_Check(_obj2
)) {
400 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
403 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
407 #if PYTHON_API_VERSION >= 1009
408 char* tmpPtr
; int tmpSize
;
409 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
410 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
413 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
415 _arg3
= new wxString(tmpPtr
, tmpSize
);
417 if (!PyString_Check(_obj3
)) {
418 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
421 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
425 if (_argo4
== Py_None
) { _arg4
= NULL
; }
426 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxDateTime_p")) {
427 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of new_wxFSFile. Expected _wxDateTime_p.");
432 wxPy_BEGIN_ALLOW_THREADS
;
433 _result
= (wxFSFile
*)new_wxFSFile(_arg0
,*_arg1
,*_arg2
,*_arg3
,*_arg4
);
435 wxPy_END_ALLOW_THREADS
;
437 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFSFile_p");
438 _resultobj
= Py_BuildValue("s",_ptemp
);
441 _resultobj
= Py_None
;
458 #define wxFSFile_GetStream(_swigobj) (_swigobj->GetStream())
459 static PyObject
*_wrap_wxFSFile_GetStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
460 PyObject
* _resultobj
;
461 wxInputStream
* _result
;
463 PyObject
* _argo0
= 0;
464 char *_kwnames
[] = { "self", NULL
};
467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFSFile_GetStream",_kwnames
,&_argo0
))
470 if (_argo0
== Py_None
) { _arg0
= NULL
; }
471 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFSFile_p")) {
472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFSFile_GetStream. Expected _wxFSFile_p.");
477 wxPy_BEGIN_ALLOW_THREADS
;
478 _result
= (wxInputStream
*)wxFSFile_GetStream(_arg0
);
480 wxPy_END_ALLOW_THREADS
;
482 wxPyInputStream
* _ptr
= NULL
;
485 _ptr
= new wxPyInputStream(_result
);
487 _resultobj
= wxPyConstructObject(_ptr
, "wxInputStream", TRUE
);
492 #define wxFSFile_GetMimeType(_swigobj) (_swigobj->GetMimeType())
493 static PyObject
*_wrap_wxFSFile_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
494 PyObject
* _resultobj
;
497 PyObject
* _argo0
= 0;
498 char *_kwnames
[] = { "self", NULL
};
501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFSFile_GetMimeType",_kwnames
,&_argo0
))
504 if (_argo0
== Py_None
) { _arg0
= NULL
; }
505 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFSFile_p")) {
506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFSFile_GetMimeType. Expected _wxFSFile_p.");
511 wxPy_BEGIN_ALLOW_THREADS
;
512 const wxString
& _result_ref
= wxFSFile_GetMimeType(_arg0
);
513 _result
= (wxString
*) &_result_ref
;
515 wxPy_END_ALLOW_THREADS
;
517 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
522 #define wxFSFile_GetLocation(_swigobj) (_swigobj->GetLocation())
523 static PyObject
*_wrap_wxFSFile_GetLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
524 PyObject
* _resultobj
;
527 PyObject
* _argo0
= 0;
528 char *_kwnames
[] = { "self", NULL
};
531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFSFile_GetLocation",_kwnames
,&_argo0
))
534 if (_argo0
== Py_None
) { _arg0
= NULL
; }
535 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFSFile_p")) {
536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFSFile_GetLocation. Expected _wxFSFile_p.");
541 wxPy_BEGIN_ALLOW_THREADS
;
542 const wxString
& _result_ref
= wxFSFile_GetLocation(_arg0
);
543 _result
= (wxString
*) &_result_ref
;
545 wxPy_END_ALLOW_THREADS
;
547 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
552 #define wxFSFile_GetAnchor(_swigobj) (_swigobj->GetAnchor())
553 static PyObject
*_wrap_wxFSFile_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
554 PyObject
* _resultobj
;
557 PyObject
* _argo0
= 0;
558 char *_kwnames
[] = { "self", NULL
};
561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFSFile_GetAnchor",_kwnames
,&_argo0
))
564 if (_argo0
== Py_None
) { _arg0
= NULL
; }
565 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFSFile_p")) {
566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFSFile_GetAnchor. Expected _wxFSFile_p.");
571 wxPy_BEGIN_ALLOW_THREADS
;
572 const wxString
& _result_ref
= wxFSFile_GetAnchor(_arg0
);
573 _result
= (wxString
*) &_result_ref
;
575 wxPy_END_ALLOW_THREADS
;
577 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
582 #define wxFSFile_GetModificationTime(_swigobj) (_swigobj->GetModificationTime())
583 static PyObject
*_wrap_wxFSFile_GetModificationTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
584 PyObject
* _resultobj
;
585 wxDateTime
* _result
;
587 PyObject
* _argo0
= 0;
588 char *_kwnames
[] = { "self", NULL
};
592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFSFile_GetModificationTime",_kwnames
,&_argo0
))
595 if (_argo0
== Py_None
) { _arg0
= NULL
; }
596 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFSFile_p")) {
597 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFSFile_GetModificationTime. Expected _wxFSFile_p.");
602 wxPy_BEGIN_ALLOW_THREADS
;
603 _result
= new wxDateTime (wxFSFile_GetModificationTime(_arg0
));
605 wxPy_END_ALLOW_THREADS
;
606 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
607 _resultobj
= Py_BuildValue("s",_ptemp
);
611 static void *SwigwxFileSystemHandlerTowxObject(void *ptr
) {
612 wxFileSystemHandler
*src
;
614 src
= (wxFileSystemHandler
*) ptr
;
615 dest
= (wxObject
*) src
;
616 return (void *) dest
;
619 static void *SwigwxPyFileSystemHandlerTowxFileSystemHandler(void *ptr
) {
620 wxPyFileSystemHandler
*src
;
621 wxFileSystemHandler
*dest
;
622 src
= (wxPyFileSystemHandler
*) ptr
;
623 dest
= (wxFileSystemHandler
*) src
;
624 return (void *) dest
;
627 static void *SwigwxPyFileSystemHandlerTowxObject(void *ptr
) {
628 wxPyFileSystemHandler
*src
;
630 src
= (wxPyFileSystemHandler
*) ptr
;
631 dest
= (wxObject
*) src
;
632 return (void *) dest
;
635 #define new_wxFileSystemHandler() (new wxPyFileSystemHandler())
636 static PyObject
*_wrap_new_wxFileSystemHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
637 PyObject
* _resultobj
;
638 wxPyFileSystemHandler
* _result
;
639 char *_kwnames
[] = { NULL
};
643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFileSystemHandler",_kwnames
))
646 wxPy_BEGIN_ALLOW_THREADS
;
647 _result
= (wxPyFileSystemHandler
*)new_wxFileSystemHandler();
649 wxPy_END_ALLOW_THREADS
;
651 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyFileSystemHandler_p");
652 _resultobj
= Py_BuildValue("s",_ptemp
);
655 _resultobj
= Py_None
;
660 #define wxFileSystemHandler__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
661 static PyObject
*_wrap_wxFileSystemHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
662 PyObject
* _resultobj
;
663 wxPyFileSystemHandler
* _arg0
;
666 PyObject
* _argo0
= 0;
667 PyObject
* _obj1
= 0;
668 PyObject
* _obj2
= 0;
669 char *_kwnames
[] = { "self","self","_class", NULL
};
672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxFileSystemHandler__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
675 if (_argo0
== Py_None
) { _arg0
= NULL
; }
676 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileSystemHandler_p")) {
677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystemHandler__setCallbackInfo. Expected _wxPyFileSystemHandler_p.");
688 wxPy_BEGIN_ALLOW_THREADS
;
689 wxFileSystemHandler__setCallbackInfo(_arg0
,_arg1
,_arg2
);
691 wxPy_END_ALLOW_THREADS
;
692 } Py_INCREF(Py_None
);
693 _resultobj
= Py_None
;
697 #define wxFileSystemHandler_CanOpen(_swigobj,_swigarg0) (_swigobj->CanOpen(_swigarg0))
698 static PyObject
*_wrap_wxFileSystemHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
699 PyObject
* _resultobj
;
701 wxPyFileSystemHandler
* _arg0
;
703 PyObject
* _argo0
= 0;
704 PyObject
* _obj1
= 0;
705 char *_kwnames
[] = { "self","location", NULL
};
708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileSystemHandler_CanOpen",_kwnames
,&_argo0
,&_obj1
))
711 if (_argo0
== Py_None
) { _arg0
= NULL
; }
712 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileSystemHandler_p")) {
713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystemHandler_CanOpen. Expected _wxPyFileSystemHandler_p.");
718 #if PYTHON_API_VERSION >= 1009
719 char* tmpPtr
; int tmpSize
;
720 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
721 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
724 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
726 _arg1
= new wxString(tmpPtr
, tmpSize
);
728 if (!PyString_Check(_obj1
)) {
729 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
732 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
736 wxPy_BEGIN_ALLOW_THREADS
;
737 _result
= (bool )wxFileSystemHandler_CanOpen(_arg0
,*_arg1
);
739 wxPy_END_ALLOW_THREADS
;
740 } _resultobj
= Py_BuildValue("i",_result
);
748 #define wxFileSystemHandler_OpenFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->OpenFile(_swigarg0,_swigarg1))
749 static PyObject
*_wrap_wxFileSystemHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
750 PyObject
* _resultobj
;
752 wxPyFileSystemHandler
* _arg0
;
753 wxFileSystem
* _arg1
;
755 PyObject
* _argo0
= 0;
756 PyObject
* _argo1
= 0;
757 PyObject
* _obj2
= 0;
758 char *_kwnames
[] = { "self","fs","location", NULL
};
761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxFileSystemHandler_OpenFile",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
764 if (_argo0
== Py_None
) { _arg0
= NULL
; }
765 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileSystemHandler_p")) {
766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystemHandler_OpenFile. Expected _wxPyFileSystemHandler_p.");
771 if (_argo1
== Py_None
) { _arg1
= NULL
; }
772 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileSystem_p")) {
773 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileSystemHandler_OpenFile. Expected _wxFileSystem_p.");
778 #if PYTHON_API_VERSION >= 1009
779 char* tmpPtr
; int tmpSize
;
780 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
781 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
784 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
786 _arg2
= new wxString(tmpPtr
, tmpSize
);
788 if (!PyString_Check(_obj2
)) {
789 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
792 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
796 wxPy_BEGIN_ALLOW_THREADS
;
797 _result
= (wxFSFile
*)wxFileSystemHandler_OpenFile(_arg0
,*_arg1
,*_arg2
);
799 wxPy_END_ALLOW_THREADS
;
800 }{ _resultobj
= wxPyMake_wxObject(_result
); }
808 #define wxFileSystemHandler_FindFirst(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindFirst(_swigarg0,_swigarg1))
809 static PyObject
*_wrap_wxFileSystemHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
810 PyObject
* _resultobj
;
812 wxPyFileSystemHandler
* _arg0
;
814 int _arg2
= (int ) 0;
815 PyObject
* _argo0
= 0;
816 PyObject
* _obj1
= 0;
817 char *_kwnames
[] = { "self","spec","flags", NULL
};
820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxFileSystemHandler_FindFirst",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
823 if (_argo0
== Py_None
) { _arg0
= NULL
; }
824 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileSystemHandler_p")) {
825 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystemHandler_FindFirst. Expected _wxPyFileSystemHandler_p.");
830 #if PYTHON_API_VERSION >= 1009
831 char* tmpPtr
; int tmpSize
;
832 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
833 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
836 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
838 _arg1
= new wxString(tmpPtr
, tmpSize
);
840 if (!PyString_Check(_obj1
)) {
841 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
844 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
848 wxPy_BEGIN_ALLOW_THREADS
;
849 _result
= new wxString (wxFileSystemHandler_FindFirst(_arg0
,*_arg1
,_arg2
));
851 wxPy_END_ALLOW_THREADS
;
853 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
865 #define wxFileSystemHandler_FindNext(_swigobj) (_swigobj->FindNext())
866 static PyObject
*_wrap_wxFileSystemHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
867 PyObject
* _resultobj
;
869 wxPyFileSystemHandler
* _arg0
;
870 PyObject
* _argo0
= 0;
871 char *_kwnames
[] = { "self", NULL
};
874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileSystemHandler_FindNext",_kwnames
,&_argo0
))
877 if (_argo0
== Py_None
) { _arg0
= NULL
; }
878 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileSystemHandler_p")) {
879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystemHandler_FindNext. Expected _wxPyFileSystemHandler_p.");
884 wxPy_BEGIN_ALLOW_THREADS
;
885 _result
= new wxString (wxFileSystemHandler_FindNext(_arg0
));
887 wxPy_END_ALLOW_THREADS
;
889 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
897 #define wxFileSystemHandler_GetProtocol(_swigobj,_swigarg0) (_swigobj->GetProtocol(_swigarg0))
898 static PyObject
*_wrap_wxFileSystemHandler_GetProtocol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
899 PyObject
* _resultobj
;
901 wxPyFileSystemHandler
* _arg0
;
903 PyObject
* _argo0
= 0;
904 PyObject
* _obj1
= 0;
905 char *_kwnames
[] = { "self","location", NULL
};
908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileSystemHandler_GetProtocol",_kwnames
,&_argo0
,&_obj1
))
911 if (_argo0
== Py_None
) { _arg0
= NULL
; }
912 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileSystemHandler_p")) {
913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystemHandler_GetProtocol. Expected _wxPyFileSystemHandler_p.");
918 #if PYTHON_API_VERSION >= 1009
919 char* tmpPtr
; int tmpSize
;
920 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
921 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
924 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
926 _arg1
= new wxString(tmpPtr
, tmpSize
);
928 if (!PyString_Check(_obj1
)) {
929 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
932 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
936 wxPy_BEGIN_ALLOW_THREADS
;
937 _result
= new wxString (wxFileSystemHandler_GetProtocol(_arg0
,*_arg1
));
939 wxPy_END_ALLOW_THREADS
;
941 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
953 #define wxFileSystemHandler_GetLeftLocation(_swigobj,_swigarg0) (_swigobj->GetLeftLocation(_swigarg0))
954 static PyObject
*_wrap_wxFileSystemHandler_GetLeftLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
955 PyObject
* _resultobj
;
957 wxPyFileSystemHandler
* _arg0
;
959 PyObject
* _argo0
= 0;
960 PyObject
* _obj1
= 0;
961 char *_kwnames
[] = { "self","location", NULL
};
964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileSystemHandler_GetLeftLocation",_kwnames
,&_argo0
,&_obj1
))
967 if (_argo0
== Py_None
) { _arg0
= NULL
; }
968 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileSystemHandler_p")) {
969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystemHandler_GetLeftLocation. Expected _wxPyFileSystemHandler_p.");
974 #if PYTHON_API_VERSION >= 1009
975 char* tmpPtr
; int tmpSize
;
976 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
977 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
980 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
982 _arg1
= new wxString(tmpPtr
, tmpSize
);
984 if (!PyString_Check(_obj1
)) {
985 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
988 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
992 wxPy_BEGIN_ALLOW_THREADS
;
993 _result
= new wxString (wxFileSystemHandler_GetLeftLocation(_arg0
,*_arg1
));
995 wxPy_END_ALLOW_THREADS
;
997 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1009 #define wxFileSystemHandler_GetAnchor(_swigobj,_swigarg0) (_swigobj->GetAnchor(_swigarg0))
1010 static PyObject
*_wrap_wxFileSystemHandler_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1011 PyObject
* _resultobj
;
1013 wxPyFileSystemHandler
* _arg0
;
1015 PyObject
* _argo0
= 0;
1016 PyObject
* _obj1
= 0;
1017 char *_kwnames
[] = { "self","location", NULL
};
1020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileSystemHandler_GetAnchor",_kwnames
,&_argo0
,&_obj1
))
1023 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1024 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileSystemHandler_p")) {
1025 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystemHandler_GetAnchor. Expected _wxPyFileSystemHandler_p.");
1030 #if PYTHON_API_VERSION >= 1009
1031 char* tmpPtr
; int tmpSize
;
1032 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1033 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1036 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1038 _arg1
= new wxString(tmpPtr
, tmpSize
);
1040 if (!PyString_Check(_obj1
)) {
1041 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1044 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1048 wxPy_BEGIN_ALLOW_THREADS
;
1049 _result
= new wxString (wxFileSystemHandler_GetAnchor(_arg0
,*_arg1
));
1051 wxPy_END_ALLOW_THREADS
;
1053 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1065 #define wxFileSystemHandler_GetRightLocation(_swigobj,_swigarg0) (_swigobj->GetRightLocation(_swigarg0))
1066 static PyObject
*_wrap_wxFileSystemHandler_GetRightLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1067 PyObject
* _resultobj
;
1069 wxPyFileSystemHandler
* _arg0
;
1071 PyObject
* _argo0
= 0;
1072 PyObject
* _obj1
= 0;
1073 char *_kwnames
[] = { "self","location", NULL
};
1076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileSystemHandler_GetRightLocation",_kwnames
,&_argo0
,&_obj1
))
1079 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1080 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileSystemHandler_p")) {
1081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystemHandler_GetRightLocation. Expected _wxPyFileSystemHandler_p.");
1086 #if PYTHON_API_VERSION >= 1009
1087 char* tmpPtr
; int tmpSize
;
1088 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1089 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1092 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1094 _arg1
= new wxString(tmpPtr
, tmpSize
);
1096 if (!PyString_Check(_obj1
)) {
1097 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1100 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1104 wxPy_BEGIN_ALLOW_THREADS
;
1105 _result
= new wxString (wxFileSystemHandler_GetRightLocation(_arg0
,*_arg1
));
1107 wxPy_END_ALLOW_THREADS
;
1109 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1121 #define wxFileSystemHandler_GetMimeTypeFromExt(_swigobj,_swigarg0) (_swigobj->GetMimeTypeFromExt(_swigarg0))
1122 static PyObject
*_wrap_wxFileSystemHandler_GetMimeTypeFromExt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1123 PyObject
* _resultobj
;
1125 wxPyFileSystemHandler
* _arg0
;
1127 PyObject
* _argo0
= 0;
1128 PyObject
* _obj1
= 0;
1129 char *_kwnames
[] = { "self","location", NULL
};
1132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileSystemHandler_GetMimeTypeFromExt",_kwnames
,&_argo0
,&_obj1
))
1135 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1136 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileSystemHandler_p")) {
1137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystemHandler_GetMimeTypeFromExt. Expected _wxPyFileSystemHandler_p.");
1142 #if PYTHON_API_VERSION >= 1009
1143 char* tmpPtr
; int tmpSize
;
1144 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1145 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1148 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1150 _arg1
= new wxString(tmpPtr
, tmpSize
);
1152 if (!PyString_Check(_obj1
)) {
1153 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1156 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1160 wxPy_BEGIN_ALLOW_THREADS
;
1161 _result
= new wxString (wxFileSystemHandler_GetMimeTypeFromExt(_arg0
,*_arg1
));
1163 wxPy_END_ALLOW_THREADS
;
1165 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1177 static void *SwigwxFileSystemTowxObject(void *ptr
) {
1180 src
= (wxFileSystem
*) ptr
;
1181 dest
= (wxObject
*) src
;
1182 return (void *) dest
;
1185 #define new_wxFileSystem() (new wxFileSystem())
1186 static PyObject
*_wrap_new_wxFileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1187 PyObject
* _resultobj
;
1188 wxFileSystem
* _result
;
1189 char *_kwnames
[] = { NULL
};
1193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFileSystem",_kwnames
))
1196 wxPy_BEGIN_ALLOW_THREADS
;
1197 _result
= (wxFileSystem
*)new_wxFileSystem();
1199 wxPy_END_ALLOW_THREADS
;
1201 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileSystem_p");
1202 _resultobj
= Py_BuildValue("s",_ptemp
);
1205 _resultobj
= Py_None
;
1210 #define wxFileSystem_ChangePathTo(_swigobj,_swigarg0,_swigarg1) (_swigobj->ChangePathTo(_swigarg0,_swigarg1))
1211 static PyObject
*_wrap_wxFileSystem_ChangePathTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1212 PyObject
* _resultobj
;
1213 wxFileSystem
* _arg0
;
1215 bool _arg2
= (bool ) FALSE
;
1216 PyObject
* _argo0
= 0;
1217 PyObject
* _obj1
= 0;
1218 int tempbool2
= (int) FALSE
;
1219 char *_kwnames
[] = { "self","location","is_dir", NULL
};
1222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxFileSystem_ChangePathTo",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
1225 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1226 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileSystem_p")) {
1227 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystem_ChangePathTo. Expected _wxFileSystem_p.");
1232 #if PYTHON_API_VERSION >= 1009
1233 char* tmpPtr
; int tmpSize
;
1234 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1235 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1238 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1240 _arg1
= new wxString(tmpPtr
, tmpSize
);
1242 if (!PyString_Check(_obj1
)) {
1243 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1246 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1249 _arg2
= (bool ) tempbool2
;
1251 wxPy_BEGIN_ALLOW_THREADS
;
1252 wxFileSystem_ChangePathTo(_arg0
,*_arg1
,_arg2
);
1254 wxPy_END_ALLOW_THREADS
;
1255 } Py_INCREF(Py_None
);
1256 _resultobj
= Py_None
;
1264 #define wxFileSystem_GetPath(_swigobj) (_swigobj->GetPath())
1265 static PyObject
*_wrap_wxFileSystem_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1266 PyObject
* _resultobj
;
1268 wxFileSystem
* _arg0
;
1269 PyObject
* _argo0
= 0;
1270 char *_kwnames
[] = { "self", NULL
};
1273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileSystem_GetPath",_kwnames
,&_argo0
))
1276 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1277 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileSystem_p")) {
1278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystem_GetPath. Expected _wxFileSystem_p.");
1283 wxPy_BEGIN_ALLOW_THREADS
;
1284 _result
= new wxString (wxFileSystem_GetPath(_arg0
));
1286 wxPy_END_ALLOW_THREADS
;
1288 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1296 #define wxFileSystem_OpenFile(_swigobj,_swigarg0) (_swigobj->OpenFile(_swigarg0))
1297 static PyObject
*_wrap_wxFileSystem_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1298 PyObject
* _resultobj
;
1300 wxFileSystem
* _arg0
;
1302 PyObject
* _argo0
= 0;
1303 PyObject
* _obj1
= 0;
1304 char *_kwnames
[] = { "self","location", NULL
};
1307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileSystem_OpenFile",_kwnames
,&_argo0
,&_obj1
))
1310 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1311 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileSystem_p")) {
1312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystem_OpenFile. Expected _wxFileSystem_p.");
1317 #if PYTHON_API_VERSION >= 1009
1318 char* tmpPtr
; int tmpSize
;
1319 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1320 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1323 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1325 _arg1
= new wxString(tmpPtr
, tmpSize
);
1327 if (!PyString_Check(_obj1
)) {
1328 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1331 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1335 wxPy_BEGIN_ALLOW_THREADS
;
1336 _result
= (wxFSFile
*)wxFileSystem_OpenFile(_arg0
,*_arg1
);
1338 wxPy_END_ALLOW_THREADS
;
1339 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1347 #define wxFileSystem_FindFirst(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindFirst(_swigarg0,_swigarg1))
1348 static PyObject
*_wrap_wxFileSystem_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1349 PyObject
* _resultobj
;
1351 wxFileSystem
* _arg0
;
1353 int _arg2
= (int ) 0;
1354 PyObject
* _argo0
= 0;
1355 PyObject
* _obj1
= 0;
1356 char *_kwnames
[] = { "self","spec","flags", NULL
};
1359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxFileSystem_FindFirst",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1362 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1363 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileSystem_p")) {
1364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystem_FindFirst. Expected _wxFileSystem_p.");
1369 #if PYTHON_API_VERSION >= 1009
1370 char* tmpPtr
; int tmpSize
;
1371 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1372 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1375 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1377 _arg1
= new wxString(tmpPtr
, tmpSize
);
1379 if (!PyString_Check(_obj1
)) {
1380 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1383 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1387 wxPy_BEGIN_ALLOW_THREADS
;
1388 _result
= new wxString (wxFileSystem_FindFirst(_arg0
,*_arg1
,_arg2
));
1390 wxPy_END_ALLOW_THREADS
;
1392 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1404 #define wxFileSystem_FindNext(_swigobj) (_swigobj->FindNext())
1405 static PyObject
*_wrap_wxFileSystem_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1406 PyObject
* _resultobj
;
1408 wxFileSystem
* _arg0
;
1409 PyObject
* _argo0
= 0;
1410 char *_kwnames
[] = { "self", NULL
};
1413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileSystem_FindNext",_kwnames
,&_argo0
))
1416 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1417 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileSystem_p")) {
1418 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystem_FindNext. Expected _wxFileSystem_p.");
1423 wxPy_BEGIN_ALLOW_THREADS
;
1424 _result
= new wxString (wxFileSystem_FindNext(_arg0
));
1426 wxPy_END_ALLOW_THREADS
;
1428 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1436 static PyObject
*_wrap_wxFileSystem_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1437 PyObject
* _resultobj
;
1438 wxFileSystemHandler
* _arg0
;
1439 PyObject
* _argo0
= 0;
1440 char *_kwnames
[] = { "handler", NULL
};
1443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileSystem_AddHandler",_kwnames
,&_argo0
))
1446 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1447 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileSystemHandler_p")) {
1448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystem_AddHandler. Expected _wxFileSystemHandler_p.");
1453 wxPy_BEGIN_ALLOW_THREADS
;
1454 wxFileSystem::AddHandler(_arg0
);
1456 wxPy_END_ALLOW_THREADS
;
1457 } Py_INCREF(Py_None
);
1458 _resultobj
= Py_None
;
1462 static PyObject
*_wrap_wxFileSystem_CleanUpHandlers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1463 PyObject
* _resultobj
;
1464 char *_kwnames
[] = { NULL
};
1467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxFileSystem_CleanUpHandlers",_kwnames
))
1470 wxPy_BEGIN_ALLOW_THREADS
;
1471 wxFileSystem::CleanUpHandlers();
1473 wxPy_END_ALLOW_THREADS
;
1474 } Py_INCREF(Py_None
);
1475 _resultobj
= Py_None
;
1479 static void *SwigwxInternetFSHandlerTowxFileSystemHandler(void *ptr
) {
1480 wxInternetFSHandler
*src
;
1481 wxFileSystemHandler
*dest
;
1482 src
= (wxInternetFSHandler
*) ptr
;
1483 dest
= (wxFileSystemHandler
*) src
;
1484 return (void *) dest
;
1487 static void *SwigwxInternetFSHandlerTowxObject(void *ptr
) {
1488 wxInternetFSHandler
*src
;
1490 src
= (wxInternetFSHandler
*) ptr
;
1491 dest
= (wxObject
*) src
;
1492 return (void *) dest
;
1495 #define new_wxInternetFSHandler() (new wxInternetFSHandler())
1496 static PyObject
*_wrap_new_wxInternetFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1497 PyObject
* _resultobj
;
1498 wxInternetFSHandler
* _result
;
1499 char *_kwnames
[] = { NULL
};
1503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxInternetFSHandler",_kwnames
))
1506 wxPy_BEGIN_ALLOW_THREADS
;
1507 _result
= (wxInternetFSHandler
*)new_wxInternetFSHandler();
1509 wxPy_END_ALLOW_THREADS
;
1511 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxInternetFSHandler_p");
1512 _resultobj
= Py_BuildValue("s",_ptemp
);
1515 _resultobj
= Py_None
;
1520 #define wxInternetFSHandler_CanOpen(_swigobj,_swigarg0) (_swigobj->CanOpen(_swigarg0))
1521 static PyObject
*_wrap_wxInternetFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1522 PyObject
* _resultobj
;
1524 wxInternetFSHandler
* _arg0
;
1526 PyObject
* _argo0
= 0;
1527 PyObject
* _obj1
= 0;
1528 char *_kwnames
[] = { "self","location", NULL
};
1531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxInternetFSHandler_CanOpen",_kwnames
,&_argo0
,&_obj1
))
1534 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1535 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxInternetFSHandler_p")) {
1536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxInternetFSHandler_CanOpen. Expected _wxInternetFSHandler_p.");
1541 #if PYTHON_API_VERSION >= 1009
1542 char* tmpPtr
; int tmpSize
;
1543 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1544 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1547 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1549 _arg1
= new wxString(tmpPtr
, tmpSize
);
1551 if (!PyString_Check(_obj1
)) {
1552 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1555 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1559 wxPy_BEGIN_ALLOW_THREADS
;
1560 _result
= (bool )wxInternetFSHandler_CanOpen(_arg0
,*_arg1
);
1562 wxPy_END_ALLOW_THREADS
;
1563 } _resultobj
= Py_BuildValue("i",_result
);
1571 #define wxInternetFSHandler_OpenFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->OpenFile(_swigarg0,_swigarg1))
1572 static PyObject
*_wrap_wxInternetFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1573 PyObject
* _resultobj
;
1575 wxInternetFSHandler
* _arg0
;
1576 wxFileSystem
* _arg1
;
1578 PyObject
* _argo0
= 0;
1579 PyObject
* _argo1
= 0;
1580 PyObject
* _obj2
= 0;
1581 char *_kwnames
[] = { "self","fs","location", NULL
};
1584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxInternetFSHandler_OpenFile",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
1587 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1588 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxInternetFSHandler_p")) {
1589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxInternetFSHandler_OpenFile. Expected _wxInternetFSHandler_p.");
1594 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1595 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileSystem_p")) {
1596 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxInternetFSHandler_OpenFile. Expected _wxFileSystem_p.");
1601 #if PYTHON_API_VERSION >= 1009
1602 char* tmpPtr
; int tmpSize
;
1603 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1604 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1607 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1609 _arg2
= new wxString(tmpPtr
, tmpSize
);
1611 if (!PyString_Check(_obj2
)) {
1612 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1615 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1619 wxPy_BEGIN_ALLOW_THREADS
;
1620 _result
= (wxFSFile
*)wxInternetFSHandler_OpenFile(_arg0
,*_arg1
,*_arg2
);
1622 wxPy_END_ALLOW_THREADS
;
1623 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1631 static void *SwigwxZipFSHandlerTowxFileSystemHandler(void *ptr
) {
1632 wxZipFSHandler
*src
;
1633 wxFileSystemHandler
*dest
;
1634 src
= (wxZipFSHandler
*) ptr
;
1635 dest
= (wxFileSystemHandler
*) src
;
1636 return (void *) dest
;
1639 static void *SwigwxZipFSHandlerTowxObject(void *ptr
) {
1640 wxZipFSHandler
*src
;
1642 src
= (wxZipFSHandler
*) ptr
;
1643 dest
= (wxObject
*) src
;
1644 return (void *) dest
;
1647 #define new_wxZipFSHandler() (new wxZipFSHandler())
1648 static PyObject
*_wrap_new_wxZipFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1649 PyObject
* _resultobj
;
1650 wxZipFSHandler
* _result
;
1651 char *_kwnames
[] = { NULL
};
1655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxZipFSHandler",_kwnames
))
1658 wxPy_BEGIN_ALLOW_THREADS
;
1659 _result
= (wxZipFSHandler
*)new_wxZipFSHandler();
1661 wxPy_END_ALLOW_THREADS
;
1663 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxZipFSHandler_p");
1664 _resultobj
= Py_BuildValue("s",_ptemp
);
1667 _resultobj
= Py_None
;
1672 #define wxZipFSHandler_CanOpen(_swigobj,_swigarg0) (_swigobj->CanOpen(_swigarg0))
1673 static PyObject
*_wrap_wxZipFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1674 PyObject
* _resultobj
;
1676 wxZipFSHandler
* _arg0
;
1678 PyObject
* _argo0
= 0;
1679 PyObject
* _obj1
= 0;
1680 char *_kwnames
[] = { "self","location", NULL
};
1683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxZipFSHandler_CanOpen",_kwnames
,&_argo0
,&_obj1
))
1686 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1687 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxZipFSHandler_p")) {
1688 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxZipFSHandler_CanOpen. Expected _wxZipFSHandler_p.");
1693 #if PYTHON_API_VERSION >= 1009
1694 char* tmpPtr
; int tmpSize
;
1695 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1696 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1699 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1701 _arg1
= new wxString(tmpPtr
, tmpSize
);
1703 if (!PyString_Check(_obj1
)) {
1704 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1707 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1711 wxPy_BEGIN_ALLOW_THREADS
;
1712 _result
= (bool )wxZipFSHandler_CanOpen(_arg0
,*_arg1
);
1714 wxPy_END_ALLOW_THREADS
;
1715 } _resultobj
= Py_BuildValue("i",_result
);
1723 #define wxZipFSHandler_OpenFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->OpenFile(_swigarg0,_swigarg1))
1724 static PyObject
*_wrap_wxZipFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1725 PyObject
* _resultobj
;
1727 wxZipFSHandler
* _arg0
;
1728 wxFileSystem
* _arg1
;
1730 PyObject
* _argo0
= 0;
1731 PyObject
* _argo1
= 0;
1732 PyObject
* _obj2
= 0;
1733 char *_kwnames
[] = { "self","fs","location", NULL
};
1736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxZipFSHandler_OpenFile",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
1739 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1740 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxZipFSHandler_p")) {
1741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxZipFSHandler_OpenFile. Expected _wxZipFSHandler_p.");
1746 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1747 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileSystem_p")) {
1748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxZipFSHandler_OpenFile. Expected _wxFileSystem_p.");
1753 #if PYTHON_API_VERSION >= 1009
1754 char* tmpPtr
; int tmpSize
;
1755 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1756 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1759 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1761 _arg2
= new wxString(tmpPtr
, tmpSize
);
1763 if (!PyString_Check(_obj2
)) {
1764 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1767 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1771 wxPy_BEGIN_ALLOW_THREADS
;
1772 _result
= (wxFSFile
*)wxZipFSHandler_OpenFile(_arg0
,*_arg1
,*_arg2
);
1774 wxPy_END_ALLOW_THREADS
;
1775 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1783 #define wxZipFSHandler_FindFirst(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindFirst(_swigarg0,_swigarg1))
1784 static PyObject
*_wrap_wxZipFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1785 PyObject
* _resultobj
;
1787 wxZipFSHandler
* _arg0
;
1789 int _arg2
= (int ) 0;
1790 PyObject
* _argo0
= 0;
1791 PyObject
* _obj1
= 0;
1792 char *_kwnames
[] = { "self","spec","flags", NULL
};
1795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxZipFSHandler_FindFirst",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1798 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1799 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxZipFSHandler_p")) {
1800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxZipFSHandler_FindFirst. Expected _wxZipFSHandler_p.");
1805 #if PYTHON_API_VERSION >= 1009
1806 char* tmpPtr
; int tmpSize
;
1807 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1808 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1811 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1813 _arg1
= new wxString(tmpPtr
, tmpSize
);
1815 if (!PyString_Check(_obj1
)) {
1816 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1819 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1823 wxPy_BEGIN_ALLOW_THREADS
;
1824 _result
= new wxString (wxZipFSHandler_FindFirst(_arg0
,*_arg1
,_arg2
));
1826 wxPy_END_ALLOW_THREADS
;
1828 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1840 #define wxZipFSHandler_FindNext(_swigobj) (_swigobj->FindNext())
1841 static PyObject
*_wrap_wxZipFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1842 PyObject
* _resultobj
;
1844 wxZipFSHandler
* _arg0
;
1845 PyObject
* _argo0
= 0;
1846 char *_kwnames
[] = { "self", NULL
};
1849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxZipFSHandler_FindNext",_kwnames
,&_argo0
))
1852 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1853 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxZipFSHandler_p")) {
1854 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxZipFSHandler_FindNext. Expected _wxZipFSHandler_p.");
1859 wxPy_BEGIN_ALLOW_THREADS
;
1860 _result
= new wxString (wxZipFSHandler_FindNext(_arg0
));
1862 wxPy_END_ALLOW_THREADS
;
1864 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1872 static void *SwigwxMemoryFSHandlerTowxFileSystemHandler(void *ptr
) {
1873 wxMemoryFSHandler
*src
;
1874 wxFileSystemHandler
*dest
;
1875 src
= (wxMemoryFSHandler
*) ptr
;
1876 dest
= (wxFileSystemHandler
*) src
;
1877 return (void *) dest
;
1880 static void *SwigwxMemoryFSHandlerTowxObject(void *ptr
) {
1881 wxMemoryFSHandler
*src
;
1883 src
= (wxMemoryFSHandler
*) ptr
;
1884 dest
= (wxObject
*) src
;
1885 return (void *) dest
;
1888 #define new_wxMemoryFSHandler() (new wxMemoryFSHandler())
1889 static PyObject
*_wrap_new_wxMemoryFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1890 PyObject
* _resultobj
;
1891 wxMemoryFSHandler
* _result
;
1892 char *_kwnames
[] = { NULL
};
1896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMemoryFSHandler",_kwnames
))
1899 wxPy_BEGIN_ALLOW_THREADS
;
1900 _result
= (wxMemoryFSHandler
*)new_wxMemoryFSHandler();
1902 wxPy_END_ALLOW_THREADS
;
1904 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMemoryFSHandler_p");
1905 _resultobj
= Py_BuildValue("s",_ptemp
);
1908 _resultobj
= Py_None
;
1913 static PyObject
*_wrap_wxMemoryFSHandler_RemoveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1914 PyObject
* _resultobj
;
1916 PyObject
* _obj0
= 0;
1917 char *_kwnames
[] = { "filename", NULL
};
1920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMemoryFSHandler_RemoveFile",_kwnames
,&_obj0
))
1923 #if PYTHON_API_VERSION >= 1009
1924 char* tmpPtr
; int tmpSize
;
1925 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1926 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1929 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1931 _arg0
= new wxString(tmpPtr
, tmpSize
);
1933 if (!PyString_Check(_obj0
)) {
1934 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1937 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1941 wxPy_BEGIN_ALLOW_THREADS
;
1942 wxMemoryFSHandler::RemoveFile(*_arg0
);
1944 wxPy_END_ALLOW_THREADS
;
1945 } Py_INCREF(Py_None
);
1946 _resultobj
= Py_None
;
1954 #define wxMemoryFSHandler_CanOpen(_swigobj,_swigarg0) (_swigobj->CanOpen(_swigarg0))
1955 static PyObject
*_wrap_wxMemoryFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1956 PyObject
* _resultobj
;
1958 wxMemoryFSHandler
* _arg0
;
1960 PyObject
* _argo0
= 0;
1961 PyObject
* _obj1
= 0;
1962 char *_kwnames
[] = { "self","location", NULL
};
1965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMemoryFSHandler_CanOpen",_kwnames
,&_argo0
,&_obj1
))
1968 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1969 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMemoryFSHandler_p")) {
1970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryFSHandler_CanOpen. Expected _wxMemoryFSHandler_p.");
1975 #if PYTHON_API_VERSION >= 1009
1976 char* tmpPtr
; int tmpSize
;
1977 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1978 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1981 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1983 _arg1
= new wxString(tmpPtr
, tmpSize
);
1985 if (!PyString_Check(_obj1
)) {
1986 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1989 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1993 wxPy_BEGIN_ALLOW_THREADS
;
1994 _result
= (bool )wxMemoryFSHandler_CanOpen(_arg0
,*_arg1
);
1996 wxPy_END_ALLOW_THREADS
;
1997 } _resultobj
= Py_BuildValue("i",_result
);
2005 #define wxMemoryFSHandler_OpenFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->OpenFile(_swigarg0,_swigarg1))
2006 static PyObject
*_wrap_wxMemoryFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2007 PyObject
* _resultobj
;
2009 wxMemoryFSHandler
* _arg0
;
2010 wxFileSystem
* _arg1
;
2012 PyObject
* _argo0
= 0;
2013 PyObject
* _argo1
= 0;
2014 PyObject
* _obj2
= 0;
2015 char *_kwnames
[] = { "self","fs","location", NULL
};
2018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMemoryFSHandler_OpenFile",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
2021 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2022 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMemoryFSHandler_p")) {
2023 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryFSHandler_OpenFile. Expected _wxMemoryFSHandler_p.");
2028 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2029 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileSystem_p")) {
2030 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMemoryFSHandler_OpenFile. Expected _wxFileSystem_p.");
2035 #if PYTHON_API_VERSION >= 1009
2036 char* tmpPtr
; int tmpSize
;
2037 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
2038 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2041 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
2043 _arg2
= new wxString(tmpPtr
, tmpSize
);
2045 if (!PyString_Check(_obj2
)) {
2046 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2049 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
2053 wxPy_BEGIN_ALLOW_THREADS
;
2054 _result
= (wxFSFile
*)wxMemoryFSHandler_OpenFile(_arg0
,*_arg1
,*_arg2
);
2056 wxPy_END_ALLOW_THREADS
;
2057 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2065 #define wxMemoryFSHandler_FindFirst(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindFirst(_swigarg0,_swigarg1))
2066 static PyObject
*_wrap_wxMemoryFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2067 PyObject
* _resultobj
;
2069 wxMemoryFSHandler
* _arg0
;
2071 int _arg2
= (int ) 0;
2072 PyObject
* _argo0
= 0;
2073 PyObject
* _obj1
= 0;
2074 char *_kwnames
[] = { "self","spec","flags", NULL
};
2077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxMemoryFSHandler_FindFirst",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
2080 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2081 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMemoryFSHandler_p")) {
2082 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryFSHandler_FindFirst. Expected _wxMemoryFSHandler_p.");
2087 #if PYTHON_API_VERSION >= 1009
2088 char* tmpPtr
; int tmpSize
;
2089 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2090 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2093 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2095 _arg1
= new wxString(tmpPtr
, tmpSize
);
2097 if (!PyString_Check(_obj1
)) {
2098 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2101 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2105 wxPy_BEGIN_ALLOW_THREADS
;
2106 _result
= new wxString (wxMemoryFSHandler_FindFirst(_arg0
,*_arg1
,_arg2
));
2108 wxPy_END_ALLOW_THREADS
;
2110 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2122 #define wxMemoryFSHandler_FindNext(_swigobj) (_swigobj->FindNext())
2123 static PyObject
*_wrap_wxMemoryFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2124 PyObject
* _resultobj
;
2126 wxMemoryFSHandler
* _arg0
;
2127 PyObject
* _argo0
= 0;
2128 char *_kwnames
[] = { "self", NULL
};
2131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMemoryFSHandler_FindNext",_kwnames
,&_argo0
))
2134 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2135 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMemoryFSHandler_p")) {
2136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryFSHandler_FindNext. Expected _wxMemoryFSHandler_p.");
2141 wxPy_BEGIN_ALLOW_THREADS
;
2142 _result
= new wxString (wxMemoryFSHandler_FindNext(_arg0
));
2144 wxPy_END_ALLOW_THREADS
;
2146 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2154 static PyMethodDef filesyscMethods
[] = {
2155 { "wxMemoryFSHandler_FindNext", (PyCFunction
) _wrap_wxMemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
2156 { "wxMemoryFSHandler_FindFirst", (PyCFunction
) _wrap_wxMemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
2157 { "wxMemoryFSHandler_OpenFile", (PyCFunction
) _wrap_wxMemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
2158 { "wxMemoryFSHandler_CanOpen", (PyCFunction
) _wrap_wxMemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
2159 { "wxMemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_wxMemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
},
2160 { "new_wxMemoryFSHandler", (PyCFunction
) _wrap_new_wxMemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
2161 { "wxZipFSHandler_FindNext", (PyCFunction
) _wrap_wxZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
2162 { "wxZipFSHandler_FindFirst", (PyCFunction
) _wrap_wxZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
2163 { "wxZipFSHandler_OpenFile", (PyCFunction
) _wrap_wxZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
2164 { "wxZipFSHandler_CanOpen", (PyCFunction
) _wrap_wxZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
2165 { "new_wxZipFSHandler", (PyCFunction
) _wrap_new_wxZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
2166 { "wxInternetFSHandler_OpenFile", (PyCFunction
) _wrap_wxInternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
2167 { "wxInternetFSHandler_CanOpen", (PyCFunction
) _wrap_wxInternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
2168 { "new_wxInternetFSHandler", (PyCFunction
) _wrap_new_wxInternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
2169 { "wxFileSystem_CleanUpHandlers", (PyCFunction
) _wrap_wxFileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
},
2170 { "wxFileSystem_AddHandler", (PyCFunction
) _wrap_wxFileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
2171 { "wxFileSystem_FindNext", (PyCFunction
) _wrap_wxFileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
2172 { "wxFileSystem_FindFirst", (PyCFunction
) _wrap_wxFileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
2173 { "wxFileSystem_OpenFile", (PyCFunction
) _wrap_wxFileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
2174 { "wxFileSystem_GetPath", (PyCFunction
) _wrap_wxFileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
2175 { "wxFileSystem_ChangePathTo", (PyCFunction
) _wrap_wxFileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
},
2176 { "new_wxFileSystem", (PyCFunction
) _wrap_new_wxFileSystem
, METH_VARARGS
| METH_KEYWORDS
},
2177 { "wxFileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_wxFileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
},
2178 { "wxFileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_wxFileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
},
2179 { "wxFileSystemHandler_GetAnchor", (PyCFunction
) _wrap_wxFileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
2180 { "wxFileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_wxFileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
},
2181 { "wxFileSystemHandler_GetProtocol", (PyCFunction
) _wrap_wxFileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
},
2182 { "wxFileSystemHandler_FindNext", (PyCFunction
) _wrap_wxFileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
2183 { "wxFileSystemHandler_FindFirst", (PyCFunction
) _wrap_wxFileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
2184 { "wxFileSystemHandler_OpenFile", (PyCFunction
) _wrap_wxFileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
2185 { "wxFileSystemHandler_CanOpen", (PyCFunction
) _wrap_wxFileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
2186 { "wxFileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_wxFileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
2187 { "new_wxFileSystemHandler", (PyCFunction
) _wrap_new_wxFileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
},
2188 { "wxFSFile_GetModificationTime", (PyCFunction
) _wrap_wxFSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
},
2189 { "wxFSFile_GetAnchor", (PyCFunction
) _wrap_wxFSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
2190 { "wxFSFile_GetLocation", (PyCFunction
) _wrap_wxFSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
},
2191 { "wxFSFile_GetMimeType", (PyCFunction
) _wrap_wxFSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
2192 { "wxFSFile_GetStream", (PyCFunction
) _wrap_wxFSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
},
2193 { "new_wxFSFile", (PyCFunction
) _wrap_new_wxFSFile
, METH_VARARGS
| METH_KEYWORDS
},
2194 { "__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
},
2195 { "__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
2196 { "__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
},
2203 * This table is used by the pointer type-checker
2205 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
2206 { "_signed_long","_long",0},
2207 { "_wxPrintQuality","_wxCoord",0},
2208 { "_wxPrintQuality","_int",0},
2209 { "_wxPrintQuality","_signed_int",0},
2210 { "_wxPrintQuality","_unsigned_int",0},
2211 { "_wxPrintQuality","_wxWindowID",0},
2212 { "_wxPrintQuality","_uint",0},
2213 { "_wxPrintQuality","_EBool",0},
2214 { "_wxPrintQuality","_size_t",0},
2215 { "_wxPrintQuality","_time_t",0},
2216 { "_byte","_unsigned_char",0},
2217 { "_long","_unsigned_long",0},
2218 { "_long","_signed_long",0},
2219 { "_class_wxObject","_class_wxMemoryFSHandler",SwigwxMemoryFSHandlerTowxObject
},
2220 { "_class_wxObject","_wxMemoryFSHandler",SwigwxMemoryFSHandlerTowxObject
},
2221 { "_class_wxObject","_class_wxZipFSHandler",SwigwxZipFSHandlerTowxObject
},
2222 { "_class_wxObject","_wxZipFSHandler",SwigwxZipFSHandlerTowxObject
},
2223 { "_class_wxObject","_class_wxInternetFSHandler",SwigwxInternetFSHandlerTowxObject
},
2224 { "_class_wxObject","_wxInternetFSHandler",SwigwxInternetFSHandlerTowxObject
},
2225 { "_class_wxObject","_class_wxFileSystem",SwigwxFileSystemTowxObject
},
2226 { "_class_wxObject","_wxFileSystem",SwigwxFileSystemTowxObject
},
2227 { "_class_wxObject","_class_wxPyFileSystemHandler",SwigwxPyFileSystemHandlerTowxObject
},
2228 { "_class_wxObject","_wxPyFileSystemHandler",SwigwxPyFileSystemHandlerTowxObject
},
2229 { "_class_wxObject","_class_wxFileSystemHandler",SwigwxFileSystemHandlerTowxObject
},
2230 { "_class_wxObject","_wxFileSystemHandler",SwigwxFileSystemHandlerTowxObject
},
2231 { "_class_wxObject","_class_wxFSFile",SwigwxFSFileTowxObject
},
2232 { "_class_wxObject","_wxFSFile",SwigwxFSFileTowxObject
},
2233 { "_size_t","_wxCoord",0},
2234 { "_size_t","_wxPrintQuality",0},
2235 { "_size_t","_time_t",0},
2236 { "_size_t","_unsigned_int",0},
2237 { "_size_t","_int",0},
2238 { "_size_t","_wxWindowID",0},
2239 { "_size_t","_uint",0},
2240 { "_uint","_wxCoord",0},
2241 { "_uint","_wxPrintQuality",0},
2242 { "_uint","_time_t",0},
2243 { "_uint","_size_t",0},
2244 { "_uint","_unsigned_int",0},
2245 { "_uint","_int",0},
2246 { "_uint","_wxWindowID",0},
2247 { "_wxChar","_char",0},
2248 { "_char","_wxChar",0},
2249 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
2250 { "_EBool","_wxCoord",0},
2251 { "_EBool","_wxPrintQuality",0},
2252 { "_EBool","_signed_int",0},
2253 { "_EBool","_int",0},
2254 { "_EBool","_wxWindowID",0},
2255 { "_unsigned_long","_long",0},
2256 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
2257 { "_signed_int","_wxCoord",0},
2258 { "_signed_int","_wxPrintQuality",0},
2259 { "_signed_int","_EBool",0},
2260 { "_signed_int","_wxWindowID",0},
2261 { "_signed_int","_int",0},
2262 { "_WXTYPE","_wxDateTime_t",0},
2263 { "_WXTYPE","_short",0},
2264 { "_WXTYPE","_signed_short",0},
2265 { "_WXTYPE","_unsigned_short",0},
2266 { "_unsigned_short","_wxDateTime_t",0},
2267 { "_unsigned_short","_WXTYPE",0},
2268 { "_unsigned_short","_short",0},
2269 { "_wxObject","_class_wxMemoryFSHandler",SwigwxMemoryFSHandlerTowxObject
},
2270 { "_wxObject","_wxMemoryFSHandler",SwigwxMemoryFSHandlerTowxObject
},
2271 { "_wxObject","_class_wxZipFSHandler",SwigwxZipFSHandlerTowxObject
},
2272 { "_wxObject","_wxZipFSHandler",SwigwxZipFSHandlerTowxObject
},
2273 { "_wxObject","_class_wxInternetFSHandler",SwigwxInternetFSHandlerTowxObject
},
2274 { "_wxObject","_wxInternetFSHandler",SwigwxInternetFSHandlerTowxObject
},
2275 { "_wxObject","_class_wxFileSystem",SwigwxFileSystemTowxObject
},
2276 { "_wxObject","_wxFileSystem",SwigwxFileSystemTowxObject
},
2277 { "_wxObject","_class_wxPyFileSystemHandler",SwigwxPyFileSystemHandlerTowxObject
},
2278 { "_wxObject","_wxPyFileSystemHandler",SwigwxPyFileSystemHandlerTowxObject
},
2279 { "_wxObject","_class_wxFileSystemHandler",SwigwxFileSystemHandlerTowxObject
},
2280 { "_wxObject","_wxFileSystemHandler",SwigwxFileSystemHandlerTowxObject
},
2281 { "_wxObject","_class_wxFSFile",SwigwxFSFileTowxObject
},
2282 { "_wxObject","_wxFSFile",SwigwxFSFileTowxObject
},
2283 { "_signed_short","_WXTYPE",0},
2284 { "_signed_short","_short",0},
2285 { "_unsigned_char","_byte",0},
2286 { "_unsigned_int","_wxCoord",0},
2287 { "_unsigned_int","_wxPrintQuality",0},
2288 { "_unsigned_int","_time_t",0},
2289 { "_unsigned_int","_size_t",0},
2290 { "_unsigned_int","_uint",0},
2291 { "_unsigned_int","_wxWindowID",0},
2292 { "_unsigned_int","_int",0},
2293 { "_short","_wxDateTime_t",0},
2294 { "_short","_WXTYPE",0},
2295 { "_short","_unsigned_short",0},
2296 { "_short","_signed_short",0},
2297 { "_wxFileSystemHandler","_class_wxMemoryFSHandler",SwigwxMemoryFSHandlerTowxFileSystemHandler
},
2298 { "_wxFileSystemHandler","_wxMemoryFSHandler",SwigwxMemoryFSHandlerTowxFileSystemHandler
},
2299 { "_wxFileSystemHandler","_class_wxZipFSHandler",SwigwxZipFSHandlerTowxFileSystemHandler
},
2300 { "_wxFileSystemHandler","_wxZipFSHandler",SwigwxZipFSHandlerTowxFileSystemHandler
},
2301 { "_wxFileSystemHandler","_class_wxInternetFSHandler",SwigwxInternetFSHandlerTowxFileSystemHandler
},
2302 { "_wxFileSystemHandler","_wxInternetFSHandler",SwigwxInternetFSHandlerTowxFileSystemHandler
},
2303 { "_wxFileSystemHandler","_class_wxPyFileSystemHandler",SwigwxPyFileSystemHandlerTowxFileSystemHandler
},
2304 { "_wxFileSystemHandler","_wxPyFileSystemHandler",SwigwxPyFileSystemHandlerTowxFileSystemHandler
},
2305 { "_wxWindowID","_wxCoord",0},
2306 { "_wxWindowID","_wxPrintQuality",0},
2307 { "_wxWindowID","_time_t",0},
2308 { "_wxWindowID","_size_t",0},
2309 { "_wxWindowID","_EBool",0},
2310 { "_wxWindowID","_uint",0},
2311 { "_wxWindowID","_int",0},
2312 { "_wxWindowID","_signed_int",0},
2313 { "_wxWindowID","_unsigned_int",0},
2314 { "_int","_wxCoord",0},
2315 { "_int","_wxPrintQuality",0},
2316 { "_int","_time_t",0},
2317 { "_int","_size_t",0},
2318 { "_int","_EBool",0},
2319 { "_int","_uint",0},
2320 { "_int","_wxWindowID",0},
2321 { "_int","_unsigned_int",0},
2322 { "_int","_signed_int",0},
2323 { "_wxDateTime_t","_unsigned_short",0},
2324 { "_wxDateTime_t","_short",0},
2325 { "_wxDateTime_t","_WXTYPE",0},
2326 { "_time_t","_wxCoord",0},
2327 { "_time_t","_wxPrintQuality",0},
2328 { "_time_t","_unsigned_int",0},
2329 { "_time_t","_int",0},
2330 { "_time_t","_wxWindowID",0},
2331 { "_time_t","_uint",0},
2332 { "_time_t","_size_t",0},
2333 { "_wxCoord","_int",0},
2334 { "_wxCoord","_signed_int",0},
2335 { "_wxCoord","_unsigned_int",0},
2336 { "_wxCoord","_wxWindowID",0},
2337 { "_wxCoord","_uint",0},
2338 { "_wxCoord","_EBool",0},
2339 { "_wxCoord","_size_t",0},
2340 { "_wxCoord","_time_t",0},
2341 { "_wxCoord","_wxPrintQuality",0},
2342 { "_class_wxFileSystemHandler","_class_wxMemoryFSHandler",SwigwxMemoryFSHandlerTowxFileSystemHandler
},
2343 { "_class_wxFileSystemHandler","_wxMemoryFSHandler",SwigwxMemoryFSHandlerTowxFileSystemHandler
},
2344 { "_class_wxFileSystemHandler","_class_wxZipFSHandler",SwigwxZipFSHandlerTowxFileSystemHandler
},
2345 { "_class_wxFileSystemHandler","_wxZipFSHandler",SwigwxZipFSHandlerTowxFileSystemHandler
},
2346 { "_class_wxFileSystemHandler","_class_wxInternetFSHandler",SwigwxInternetFSHandlerTowxFileSystemHandler
},
2347 { "_class_wxFileSystemHandler","_wxInternetFSHandler",SwigwxInternetFSHandlerTowxFileSystemHandler
},
2348 { "_class_wxFileSystemHandler","_class_wxPyFileSystemHandler",SwigwxPyFileSystemHandlerTowxFileSystemHandler
},
2349 { "_class_wxFileSystemHandler","_wxPyFileSystemHandler",SwigwxPyFileSystemHandlerTowxFileSystemHandler
},
2352 static PyObject
*SWIG_globals
;
2356 SWIGEXPORT(void) initfilesysc() {
2358 SWIG_globals
= SWIG_newvarlink();
2359 m
= Py_InitModule("filesysc", filesyscMethods
);
2360 d
= PyModule_GetDict(m
);
2362 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
2365 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
2366 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);