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
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initfilesysc
56 #define SWIG_name "filesysc"
59 #include <wx/filesys.h>
60 #include <wx/fs_inet.h>
61 #include <wx/fs_mem.h>
62 #include <wx/fs_zip.h>
65 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
71 } else if (target
== Py_None
) {
75 if (!PyTuple_Check(target
)) {
77 target
= PyTuple_New(1);
78 PyTuple_SetItem(target
, 0, o2
);
81 PyTuple_SetItem(o3
, 0, o
);
84 target
= PySequence_Concat(o2
, o3
);
91 #if PYTHON_API_VERSION >= 1009
92 static char* wxStringErrorMsg
= "String or Unicode type required";
94 static char* wxStringErrorMsg
= "String type required";
97 // wxPyFileSystemHandler will be the Python class wxFileSystemHandler and handling
98 // the callback functions
99 class wxPyFileSystemHandler
: public wxFileSystemHandler
{
101 wxPyFileSystemHandler() : wxFileSystemHandler() {}
103 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen
);
104 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile
);
105 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst
);
106 DEC_PYCALLBACK_STRING__pure(FindNext
);
108 wxString
GetProtocol(const wxString
& location
) {
109 return wxFileSystemHandler::GetProtocol(location
);
112 wxString
GetLeftLocation(const wxString
& location
) {
113 return wxFileSystemHandler::GetLeftLocation(location
);
116 wxString
GetAnchor(const wxString
& location
) {
117 return wxFileSystemHandler::GetAnchor(location
);
120 wxString
GetRightLocation(const wxString
& location
) {
121 return wxFileSystemHandler::GetRightLocation(location
);
124 wxString
GetMimeTypeFromExt(const wxString
& location
){
125 return wxFileSystemHandler::GetMimeTypeFromExt(location
);
132 IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, CanOpen
);
133 IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, OpenFile
);
134 IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindFirst
);
135 IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindNext
);
137 void __wxMemoryFSHandler_AddFile_wxImage(const wxString
& filename
,
140 wxMemoryFSHandler::AddFile(filename
, image
, type
);
143 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString
& filename
,
144 const wxBitmap
& bitmap
,
146 wxMemoryFSHandler::AddFile(filename
, bitmap
, type
);
149 // void __wxMemoryFSHandler_AddFile_wxString(const wxString& filename,
150 // const wxString& textdata) {
151 // wxMemoryFSHandler::AddFile(filename, textdata);
154 void __wxMemoryFSHandler_AddFile_Data(const wxString
& filename
,
157 wxMemoryFSHandler::AddFile(filename
,
158 (void*)PyString_AsString(data
),
159 (size_t)PyString_Size(data
));
164 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
165 PyObject
* _resultobj
;
169 PyObject
* _obj0
= 0;
170 PyObject
* _argo1
= 0;
171 char *_kwnames
[] = { "filename","image","type", NULL
};
174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOl:__wxMemoryFSHandler_AddFile_wxImage",_kwnames
,&_obj0
,&_argo1
,&_arg2
))
177 #if PYTHON_API_VERSION >= 1009
178 char* tmpPtr
; int tmpSize
;
179 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
180 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
183 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
185 _arg0
= new wxString(tmpPtr
, tmpSize
);
187 if (!PyString_Check(_obj0
)) {
188 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
191 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
195 if (_argo1
== Py_None
) { _arg1
= NULL
; }
196 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImage_p")) {
197 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of __wxMemoryFSHandler_AddFile_wxImage. Expected _wxImage_p.");
202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
203 __wxMemoryFSHandler_AddFile_wxImage(*_arg0
,*_arg1
,_arg2
);
205 wxPyEndAllowThreads(__tstate
);
206 if (PyErr_Occurred()) return NULL
;
207 } Py_INCREF(Py_None
);
208 _resultobj
= Py_None
;
216 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
217 PyObject
* _resultobj
;
221 PyObject
* _obj0
= 0;
222 PyObject
* _argo1
= 0;
223 char *_kwnames
[] = { "filename","bitmap","type", NULL
};
226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOl:__wxMemoryFSHandler_AddFile_wxBitmap",_kwnames
,&_obj0
,&_argo1
,&_arg2
))
229 #if PYTHON_API_VERSION >= 1009
230 char* tmpPtr
; int tmpSize
;
231 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
232 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
235 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
237 _arg0
= new wxString(tmpPtr
, tmpSize
);
239 if (!PyString_Check(_obj0
)) {
240 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
243 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
247 if (_argo1
== Py_None
) { _arg1
= NULL
; }
248 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
249 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of __wxMemoryFSHandler_AddFile_wxBitmap. Expected _wxBitmap_p.");
254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
255 __wxMemoryFSHandler_AddFile_wxBitmap(*_arg0
,*_arg1
,_arg2
);
257 wxPyEndAllowThreads(__tstate
);
258 if (PyErr_Occurred()) return NULL
;
259 } Py_INCREF(Py_None
);
260 _resultobj
= Py_None
;
268 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
269 PyObject
* _resultobj
;
272 PyObject
* _obj0
= 0;
273 PyObject
* _obj1
= 0;
274 char *_kwnames
[] = { "filename","data", NULL
};
277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:__wxMemoryFSHandler_AddFile_Data",_kwnames
,&_obj0
,&_obj1
))
280 #if PYTHON_API_VERSION >= 1009
281 char* tmpPtr
; int tmpSize
;
282 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
283 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
286 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
288 _arg0
= new wxString(tmpPtr
, tmpSize
);
290 if (!PyString_Check(_obj0
)) {
291 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
294 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
302 __wxMemoryFSHandler_AddFile_Data(*_arg0
,_arg1
);
304 wxPyEndAllowThreads(__tstate
);
305 if (PyErr_Occurred()) return NULL
;
306 } Py_INCREF(Py_None
);
307 _resultobj
= Py_None
;
315 static void *SwigwxFSFileTowxObject(void *ptr
) {
318 src
= (wxFSFile
*) ptr
;
319 dest
= (wxObject
*) src
;
320 return (void *) dest
;
323 #define new_wxFSFile(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxFSFile(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
324 static PyObject
*_wrap_new_wxFSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
325 PyObject
* _resultobj
;
327 wxInputStream
* _arg0
;
332 PyObject
* _obj0
= 0;
333 PyObject
* _obj1
= 0;
334 PyObject
* _obj2
= 0;
335 PyObject
* _obj3
= 0;
336 PyObject
* _argo4
= 0;
337 char *_kwnames
[] = { "stream","loc","mimetype","anchor","modif", NULL
};
341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOOO:new_wxFSFile",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_obj3
,&_argo4
))
344 if (PyInstance_Check(_obj0
)) {
345 wxPyInputStream
* ptr
;
346 if (SWIG_GetPtrObj(_obj0
, (void **) &ptr
,"_wxPyInputStream_p")) {
347 PyErr_SetString(PyExc_TypeError
,"Expected _wxInputStream_p.");
352 PyErr_SetString(PyExc_TypeError
,"Expected _wxInputStream_p.");
357 #if PYTHON_API_VERSION >= 1009
358 char* tmpPtr
; int tmpSize
;
359 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
360 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
363 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
365 _arg1
= new wxString(tmpPtr
, tmpSize
);
367 if (!PyString_Check(_obj1
)) {
368 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
371 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
375 #if PYTHON_API_VERSION >= 1009
376 char* tmpPtr
; int tmpSize
;
377 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
378 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
381 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
383 _arg2
= new wxString(tmpPtr
, tmpSize
);
385 if (!PyString_Check(_obj2
)) {
386 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
389 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
393 #if PYTHON_API_VERSION >= 1009
394 char* tmpPtr
; int tmpSize
;
395 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
396 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
399 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
401 _arg3
= new wxString(tmpPtr
, tmpSize
);
403 if (!PyString_Check(_obj3
)) {
404 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
407 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
411 if (_argo4
== Py_None
) { _arg4
= NULL
; }
412 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxDateTime_p")) {
413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of new_wxFSFile. Expected _wxDateTime_p.");
418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
419 _result
= (wxFSFile
*)new_wxFSFile(_arg0
,*_arg1
,*_arg2
,*_arg3
,*_arg4
);
421 wxPyEndAllowThreads(__tstate
);
422 if (PyErr_Occurred()) return NULL
;
424 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFSFile_p");
425 _resultobj
= Py_BuildValue("s",_ptemp
);
428 _resultobj
= Py_None
;
445 #define wxFSFile_GetStream(_swigobj) (_swigobj->GetStream())
446 static PyObject
*_wrap_wxFSFile_GetStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
447 PyObject
* _resultobj
;
448 wxInputStream
* _result
;
450 PyObject
* _argo0
= 0;
451 char *_kwnames
[] = { "self", NULL
};
454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFSFile_GetStream",_kwnames
,&_argo0
))
457 if (_argo0
== Py_None
) { _arg0
= NULL
; }
458 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFSFile_p")) {
459 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFSFile_GetStream. Expected _wxFSFile_p.");
464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
465 _result
= (wxInputStream
*)wxFSFile_GetStream(_arg0
);
467 wxPyEndAllowThreads(__tstate
);
468 if (PyErr_Occurred()) return NULL
;
470 wxPyInputStream
* _ptr
= NULL
;
473 _ptr
= new wxPyInputStream(_result
);
475 _resultobj
= wxPyConstructObject(_ptr
, "wxInputStream", TRUE
);
480 #define wxFSFile_GetMimeType(_swigobj) (_swigobj->GetMimeType())
481 static PyObject
*_wrap_wxFSFile_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
482 PyObject
* _resultobj
;
485 PyObject
* _argo0
= 0;
486 char *_kwnames
[] = { "self", NULL
};
489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFSFile_GetMimeType",_kwnames
,&_argo0
))
492 if (_argo0
== Py_None
) { _arg0
= NULL
; }
493 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFSFile_p")) {
494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFSFile_GetMimeType. Expected _wxFSFile_p.");
499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
500 const wxString
& _result_ref
= wxFSFile_GetMimeType(_arg0
);
501 _result
= (wxString
*) &_result_ref
;
503 wxPyEndAllowThreads(__tstate
);
504 if (PyErr_Occurred()) return NULL
;
506 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
511 #define wxFSFile_GetLocation(_swigobj) (_swigobj->GetLocation())
512 static PyObject
*_wrap_wxFSFile_GetLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
513 PyObject
* _resultobj
;
516 PyObject
* _argo0
= 0;
517 char *_kwnames
[] = { "self", NULL
};
520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFSFile_GetLocation",_kwnames
,&_argo0
))
523 if (_argo0
== Py_None
) { _arg0
= NULL
; }
524 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFSFile_p")) {
525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFSFile_GetLocation. Expected _wxFSFile_p.");
530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
531 const wxString
& _result_ref
= wxFSFile_GetLocation(_arg0
);
532 _result
= (wxString
*) &_result_ref
;
534 wxPyEndAllowThreads(__tstate
);
535 if (PyErr_Occurred()) return NULL
;
537 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
542 #define wxFSFile_GetAnchor(_swigobj) (_swigobj->GetAnchor())
543 static PyObject
*_wrap_wxFSFile_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
544 PyObject
* _resultobj
;
547 PyObject
* _argo0
= 0;
548 char *_kwnames
[] = { "self", NULL
};
551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFSFile_GetAnchor",_kwnames
,&_argo0
))
554 if (_argo0
== Py_None
) { _arg0
= NULL
; }
555 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFSFile_p")) {
556 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFSFile_GetAnchor. Expected _wxFSFile_p.");
561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
562 const wxString
& _result_ref
= wxFSFile_GetAnchor(_arg0
);
563 _result
= (wxString
*) &_result_ref
;
565 wxPyEndAllowThreads(__tstate
);
566 if (PyErr_Occurred()) return NULL
;
568 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
573 #define wxFSFile_GetModificationTime(_swigobj) (_swigobj->GetModificationTime())
574 static PyObject
*_wrap_wxFSFile_GetModificationTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
575 PyObject
* _resultobj
;
576 wxDateTime
* _result
;
578 PyObject
* _argo0
= 0;
579 char *_kwnames
[] = { "self", NULL
};
583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFSFile_GetModificationTime",_kwnames
,&_argo0
))
586 if (_argo0
== Py_None
) { _arg0
= NULL
; }
587 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFSFile_p")) {
588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFSFile_GetModificationTime. Expected _wxFSFile_p.");
593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
594 _result
= new wxDateTime (wxFSFile_GetModificationTime(_arg0
));
596 wxPyEndAllowThreads(__tstate
);
597 if (PyErr_Occurred()) return NULL
;
598 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
599 _resultobj
= Py_BuildValue("s",_ptemp
);
603 static void *SwigwxFileSystemHandlerTowxObject(void *ptr
) {
604 wxFileSystemHandler
*src
;
606 src
= (wxFileSystemHandler
*) ptr
;
607 dest
= (wxObject
*) src
;
608 return (void *) dest
;
611 static void *SwigwxPyFileSystemHandlerTowxFileSystemHandler(void *ptr
) {
612 wxPyFileSystemHandler
*src
;
613 wxFileSystemHandler
*dest
;
614 src
= (wxPyFileSystemHandler
*) ptr
;
615 dest
= (wxFileSystemHandler
*) src
;
616 return (void *) dest
;
619 static void *SwigwxPyFileSystemHandlerTowxObject(void *ptr
) {
620 wxPyFileSystemHandler
*src
;
622 src
= (wxPyFileSystemHandler
*) ptr
;
623 dest
= (wxObject
*) src
;
624 return (void *) dest
;
627 #define new_wxFileSystemHandler() (new wxPyFileSystemHandler())
628 static PyObject
*_wrap_new_wxFileSystemHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
629 PyObject
* _resultobj
;
630 wxPyFileSystemHandler
* _result
;
631 char *_kwnames
[] = { NULL
};
635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFileSystemHandler",_kwnames
))
638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
639 _result
= (wxPyFileSystemHandler
*)new_wxFileSystemHandler();
641 wxPyEndAllowThreads(__tstate
);
642 if (PyErr_Occurred()) return NULL
;
644 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyFileSystemHandler_p");
645 _resultobj
= Py_BuildValue("s",_ptemp
);
648 _resultobj
= Py_None
;
653 #define wxFileSystemHandler__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
654 static PyObject
*_wrap_wxFileSystemHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
655 PyObject
* _resultobj
;
656 wxPyFileSystemHandler
* _arg0
;
659 PyObject
* _argo0
= 0;
660 PyObject
* _obj1
= 0;
661 PyObject
* _obj2
= 0;
662 char *_kwnames
[] = { "self","self","_class", NULL
};
665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxFileSystemHandler__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
668 if (_argo0
== Py_None
) { _arg0
= NULL
; }
669 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileSystemHandler_p")) {
670 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystemHandler__setCallbackInfo. Expected _wxPyFileSystemHandler_p.");
681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
682 wxFileSystemHandler__setCallbackInfo(_arg0
,_arg1
,_arg2
);
684 wxPyEndAllowThreads(__tstate
);
685 if (PyErr_Occurred()) return NULL
;
686 } Py_INCREF(Py_None
);
687 _resultobj
= Py_None
;
691 #define wxFileSystemHandler_CanOpen(_swigobj,_swigarg0) (_swigobj->CanOpen(_swigarg0))
692 static PyObject
*_wrap_wxFileSystemHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
693 PyObject
* _resultobj
;
695 wxPyFileSystemHandler
* _arg0
;
697 PyObject
* _argo0
= 0;
698 PyObject
* _obj1
= 0;
699 char *_kwnames
[] = { "self","location", NULL
};
702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileSystemHandler_CanOpen",_kwnames
,&_argo0
,&_obj1
))
705 if (_argo0
== Py_None
) { _arg0
= NULL
; }
706 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileSystemHandler_p")) {
707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystemHandler_CanOpen. Expected _wxPyFileSystemHandler_p.");
712 #if PYTHON_API_VERSION >= 1009
713 char* tmpPtr
; int tmpSize
;
714 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
715 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
718 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
720 _arg1
= new wxString(tmpPtr
, tmpSize
);
722 if (!PyString_Check(_obj1
)) {
723 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
726 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
731 _result
= (bool )wxFileSystemHandler_CanOpen(_arg0
,*_arg1
);
733 wxPyEndAllowThreads(__tstate
);
734 if (PyErr_Occurred()) return NULL
;
735 } _resultobj
= Py_BuildValue("i",_result
);
743 #define wxFileSystemHandler_OpenFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->OpenFile(_swigarg0,_swigarg1))
744 static PyObject
*_wrap_wxFileSystemHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
745 PyObject
* _resultobj
;
747 wxPyFileSystemHandler
* _arg0
;
748 wxFileSystem
* _arg1
;
750 PyObject
* _argo0
= 0;
751 PyObject
* _argo1
= 0;
752 PyObject
* _obj2
= 0;
753 char *_kwnames
[] = { "self","fs","location", NULL
};
756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxFileSystemHandler_OpenFile",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
759 if (_argo0
== Py_None
) { _arg0
= NULL
; }
760 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileSystemHandler_p")) {
761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystemHandler_OpenFile. Expected _wxPyFileSystemHandler_p.");
766 if (_argo1
== Py_None
) { _arg1
= NULL
; }
767 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileSystem_p")) {
768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileSystemHandler_OpenFile. Expected _wxFileSystem_p.");
773 #if PYTHON_API_VERSION >= 1009
774 char* tmpPtr
; int tmpSize
;
775 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
776 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
779 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
781 _arg2
= new wxString(tmpPtr
, tmpSize
);
783 if (!PyString_Check(_obj2
)) {
784 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
787 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
792 _result
= (wxFSFile
*)wxFileSystemHandler_OpenFile(_arg0
,*_arg1
,*_arg2
);
794 wxPyEndAllowThreads(__tstate
);
795 if (PyErr_Occurred()) return NULL
;
796 }{ _resultobj
= wxPyMake_wxObject(_result
); }
804 #define wxFileSystemHandler_FindFirst(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindFirst(_swigarg0,_swigarg1))
805 static PyObject
*_wrap_wxFileSystemHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
806 PyObject
* _resultobj
;
808 wxPyFileSystemHandler
* _arg0
;
810 int _arg2
= (int ) 0;
811 PyObject
* _argo0
= 0;
812 PyObject
* _obj1
= 0;
813 char *_kwnames
[] = { "self","spec","flags", NULL
};
816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxFileSystemHandler_FindFirst",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
819 if (_argo0
== Py_None
) { _arg0
= NULL
; }
820 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileSystemHandler_p")) {
821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystemHandler_FindFirst. Expected _wxPyFileSystemHandler_p.");
826 #if PYTHON_API_VERSION >= 1009
827 char* tmpPtr
; int tmpSize
;
828 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
829 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
832 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
834 _arg1
= new wxString(tmpPtr
, tmpSize
);
836 if (!PyString_Check(_obj1
)) {
837 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
840 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
845 _result
= new wxString (wxFileSystemHandler_FindFirst(_arg0
,*_arg1
,_arg2
));
847 wxPyEndAllowThreads(__tstate
);
848 if (PyErr_Occurred()) return NULL
;
850 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
862 #define wxFileSystemHandler_FindNext(_swigobj) (_swigobj->FindNext())
863 static PyObject
*_wrap_wxFileSystemHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
864 PyObject
* _resultobj
;
866 wxPyFileSystemHandler
* _arg0
;
867 PyObject
* _argo0
= 0;
868 char *_kwnames
[] = { "self", NULL
};
871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileSystemHandler_FindNext",_kwnames
,&_argo0
))
874 if (_argo0
== Py_None
) { _arg0
= NULL
; }
875 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileSystemHandler_p")) {
876 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystemHandler_FindNext. Expected _wxPyFileSystemHandler_p.");
881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
882 _result
= new wxString (wxFileSystemHandler_FindNext(_arg0
));
884 wxPyEndAllowThreads(__tstate
);
885 if (PyErr_Occurred()) return NULL
;
887 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
895 #define wxFileSystemHandler_GetProtocol(_swigobj,_swigarg0) (_swigobj->GetProtocol(_swigarg0))
896 static PyObject
*_wrap_wxFileSystemHandler_GetProtocol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
897 PyObject
* _resultobj
;
899 wxPyFileSystemHandler
* _arg0
;
901 PyObject
* _argo0
= 0;
902 PyObject
* _obj1
= 0;
903 char *_kwnames
[] = { "self","location", NULL
};
906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileSystemHandler_GetProtocol",_kwnames
,&_argo0
,&_obj1
))
909 if (_argo0
== Py_None
) { _arg0
= NULL
; }
910 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileSystemHandler_p")) {
911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystemHandler_GetProtocol. Expected _wxPyFileSystemHandler_p.");
916 #if PYTHON_API_VERSION >= 1009
917 char* tmpPtr
; int tmpSize
;
918 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
919 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
922 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
924 _arg1
= new wxString(tmpPtr
, tmpSize
);
926 if (!PyString_Check(_obj1
)) {
927 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
930 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
935 _result
= new wxString (wxFileSystemHandler_GetProtocol(_arg0
,*_arg1
));
937 wxPyEndAllowThreads(__tstate
);
938 if (PyErr_Occurred()) return NULL
;
940 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
952 #define wxFileSystemHandler_GetLeftLocation(_swigobj,_swigarg0) (_swigobj->GetLeftLocation(_swigarg0))
953 static PyObject
*_wrap_wxFileSystemHandler_GetLeftLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
954 PyObject
* _resultobj
;
956 wxPyFileSystemHandler
* _arg0
;
958 PyObject
* _argo0
= 0;
959 PyObject
* _obj1
= 0;
960 char *_kwnames
[] = { "self","location", NULL
};
963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileSystemHandler_GetLeftLocation",_kwnames
,&_argo0
,&_obj1
))
966 if (_argo0
== Py_None
) { _arg0
= NULL
; }
967 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileSystemHandler_p")) {
968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystemHandler_GetLeftLocation. Expected _wxPyFileSystemHandler_p.");
973 #if PYTHON_API_VERSION >= 1009
974 char* tmpPtr
; int tmpSize
;
975 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
976 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
979 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
981 _arg1
= new wxString(tmpPtr
, tmpSize
);
983 if (!PyString_Check(_obj1
)) {
984 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
987 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
992 _result
= new wxString (wxFileSystemHandler_GetLeftLocation(_arg0
,*_arg1
));
994 wxPyEndAllowThreads(__tstate
);
995 if (PyErr_Occurred()) return NULL
;
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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1049 _result
= new wxString (wxFileSystemHandler_GetAnchor(_arg0
,*_arg1
));
1051 wxPyEndAllowThreads(__tstate
);
1052 if (PyErr_Occurred()) return NULL
;
1054 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1066 #define wxFileSystemHandler_GetRightLocation(_swigobj,_swigarg0) (_swigobj->GetRightLocation(_swigarg0))
1067 static PyObject
*_wrap_wxFileSystemHandler_GetRightLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1068 PyObject
* _resultobj
;
1070 wxPyFileSystemHandler
* _arg0
;
1072 PyObject
* _argo0
= 0;
1073 PyObject
* _obj1
= 0;
1074 char *_kwnames
[] = { "self","location", NULL
};
1077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileSystemHandler_GetRightLocation",_kwnames
,&_argo0
,&_obj1
))
1080 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1081 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileSystemHandler_p")) {
1082 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystemHandler_GetRightLocation. Expected _wxPyFileSystemHandler_p.");
1087 #if PYTHON_API_VERSION >= 1009
1088 char* tmpPtr
; int tmpSize
;
1089 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1090 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1093 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1095 _arg1
= new wxString(tmpPtr
, tmpSize
);
1097 if (!PyString_Check(_obj1
)) {
1098 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1101 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1106 _result
= new wxString (wxFileSystemHandler_GetRightLocation(_arg0
,*_arg1
));
1108 wxPyEndAllowThreads(__tstate
);
1109 if (PyErr_Occurred()) return NULL
;
1111 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1123 #define wxFileSystemHandler_GetMimeTypeFromExt(_swigobj,_swigarg0) (_swigobj->GetMimeTypeFromExt(_swigarg0))
1124 static PyObject
*_wrap_wxFileSystemHandler_GetMimeTypeFromExt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1125 PyObject
* _resultobj
;
1127 wxPyFileSystemHandler
* _arg0
;
1129 PyObject
* _argo0
= 0;
1130 PyObject
* _obj1
= 0;
1131 char *_kwnames
[] = { "self","location", NULL
};
1134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileSystemHandler_GetMimeTypeFromExt",_kwnames
,&_argo0
,&_obj1
))
1137 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1138 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileSystemHandler_p")) {
1139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystemHandler_GetMimeTypeFromExt. Expected _wxPyFileSystemHandler_p.");
1144 #if PYTHON_API_VERSION >= 1009
1145 char* tmpPtr
; int tmpSize
;
1146 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1147 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1150 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1152 _arg1
= new wxString(tmpPtr
, tmpSize
);
1154 if (!PyString_Check(_obj1
)) {
1155 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1158 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1163 _result
= new wxString (wxFileSystemHandler_GetMimeTypeFromExt(_arg0
,*_arg1
));
1165 wxPyEndAllowThreads(__tstate
);
1166 if (PyErr_Occurred()) return NULL
;
1168 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1180 static void *SwigwxFileSystemTowxObject(void *ptr
) {
1183 src
= (wxFileSystem
*) ptr
;
1184 dest
= (wxObject
*) src
;
1185 return (void *) dest
;
1188 #define new_wxFileSystem() (new wxFileSystem())
1189 static PyObject
*_wrap_new_wxFileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1190 PyObject
* _resultobj
;
1191 wxFileSystem
* _result
;
1192 char *_kwnames
[] = { NULL
};
1196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFileSystem",_kwnames
))
1199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1200 _result
= (wxFileSystem
*)new_wxFileSystem();
1202 wxPyEndAllowThreads(__tstate
);
1203 if (PyErr_Occurred()) return NULL
;
1205 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileSystem_p");
1206 _resultobj
= Py_BuildValue("s",_ptemp
);
1209 _resultobj
= Py_None
;
1214 #define wxFileSystem_ChangePathTo(_swigobj,_swigarg0,_swigarg1) (_swigobj->ChangePathTo(_swigarg0,_swigarg1))
1215 static PyObject
*_wrap_wxFileSystem_ChangePathTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1216 PyObject
* _resultobj
;
1217 wxFileSystem
* _arg0
;
1219 bool _arg2
= (bool ) FALSE
;
1220 PyObject
* _argo0
= 0;
1221 PyObject
* _obj1
= 0;
1222 int tempbool2
= (int) FALSE
;
1223 char *_kwnames
[] = { "self","location","is_dir", NULL
};
1226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxFileSystem_ChangePathTo",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
1229 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1230 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileSystem_p")) {
1231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystem_ChangePathTo. Expected _wxFileSystem_p.");
1236 #if PYTHON_API_VERSION >= 1009
1237 char* tmpPtr
; int tmpSize
;
1238 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1239 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1242 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1244 _arg1
= new wxString(tmpPtr
, tmpSize
);
1246 if (!PyString_Check(_obj1
)) {
1247 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1250 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1253 _arg2
= (bool ) tempbool2
;
1255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1256 wxFileSystem_ChangePathTo(_arg0
,*_arg1
,_arg2
);
1258 wxPyEndAllowThreads(__tstate
);
1259 if (PyErr_Occurred()) return NULL
;
1260 } Py_INCREF(Py_None
);
1261 _resultobj
= Py_None
;
1269 #define wxFileSystem_GetPath(_swigobj) (_swigobj->GetPath())
1270 static PyObject
*_wrap_wxFileSystem_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1271 PyObject
* _resultobj
;
1273 wxFileSystem
* _arg0
;
1274 PyObject
* _argo0
= 0;
1275 char *_kwnames
[] = { "self", NULL
};
1278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileSystem_GetPath",_kwnames
,&_argo0
))
1281 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1282 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileSystem_p")) {
1283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystem_GetPath. Expected _wxFileSystem_p.");
1288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1289 _result
= new wxString (wxFileSystem_GetPath(_arg0
));
1291 wxPyEndAllowThreads(__tstate
);
1292 if (PyErr_Occurred()) return NULL
;
1294 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1302 #define wxFileSystem_OpenFile(_swigobj,_swigarg0) (_swigobj->OpenFile(_swigarg0))
1303 static PyObject
*_wrap_wxFileSystem_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1304 PyObject
* _resultobj
;
1306 wxFileSystem
* _arg0
;
1308 PyObject
* _argo0
= 0;
1309 PyObject
* _obj1
= 0;
1310 char *_kwnames
[] = { "self","location", NULL
};
1313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileSystem_OpenFile",_kwnames
,&_argo0
,&_obj1
))
1316 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1317 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileSystem_p")) {
1318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystem_OpenFile. Expected _wxFileSystem_p.");
1323 #if PYTHON_API_VERSION >= 1009
1324 char* tmpPtr
; int tmpSize
;
1325 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1326 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1329 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1331 _arg1
= new wxString(tmpPtr
, tmpSize
);
1333 if (!PyString_Check(_obj1
)) {
1334 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1337 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1342 _result
= (wxFSFile
*)wxFileSystem_OpenFile(_arg0
,*_arg1
);
1344 wxPyEndAllowThreads(__tstate
);
1345 if (PyErr_Occurred()) return NULL
;
1346 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1354 #define wxFileSystem_FindFirst(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindFirst(_swigarg0,_swigarg1))
1355 static PyObject
*_wrap_wxFileSystem_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1356 PyObject
* _resultobj
;
1358 wxFileSystem
* _arg0
;
1360 int _arg2
= (int ) 0;
1361 PyObject
* _argo0
= 0;
1362 PyObject
* _obj1
= 0;
1363 char *_kwnames
[] = { "self","spec","flags", NULL
};
1366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxFileSystem_FindFirst",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1369 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1370 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileSystem_p")) {
1371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystem_FindFirst. Expected _wxFileSystem_p.");
1376 #if PYTHON_API_VERSION >= 1009
1377 char* tmpPtr
; int tmpSize
;
1378 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1379 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1382 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1384 _arg1
= new wxString(tmpPtr
, tmpSize
);
1386 if (!PyString_Check(_obj1
)) {
1387 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1390 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1395 _result
= new wxString (wxFileSystem_FindFirst(_arg0
,*_arg1
,_arg2
));
1397 wxPyEndAllowThreads(__tstate
);
1398 if (PyErr_Occurred()) return NULL
;
1400 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1412 #define wxFileSystem_FindNext(_swigobj) (_swigobj->FindNext())
1413 static PyObject
*_wrap_wxFileSystem_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1414 PyObject
* _resultobj
;
1416 wxFileSystem
* _arg0
;
1417 PyObject
* _argo0
= 0;
1418 char *_kwnames
[] = { "self", NULL
};
1421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileSystem_FindNext",_kwnames
,&_argo0
))
1424 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1425 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileSystem_p")) {
1426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystem_FindNext. Expected _wxFileSystem_p.");
1431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1432 _result
= new wxString (wxFileSystem_FindNext(_arg0
));
1434 wxPyEndAllowThreads(__tstate
);
1435 if (PyErr_Occurred()) return NULL
;
1437 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1445 static PyObject
*_wrap_wxFileSystem_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1446 PyObject
* _resultobj
;
1447 wxFileSystemHandler
* _arg0
;
1448 PyObject
* _argo0
= 0;
1449 char *_kwnames
[] = { "handler", NULL
};
1452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileSystem_AddHandler",_kwnames
,&_argo0
))
1455 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1456 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileSystemHandler_p")) {
1457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystem_AddHandler. Expected _wxFileSystemHandler_p.");
1462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1463 wxFileSystem::AddHandler(_arg0
);
1465 wxPyEndAllowThreads(__tstate
);
1466 if (PyErr_Occurred()) return NULL
;
1467 } Py_INCREF(Py_None
);
1468 _resultobj
= Py_None
;
1472 static PyObject
*_wrap_wxFileSystem_CleanUpHandlers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1473 PyObject
* _resultobj
;
1474 char *_kwnames
[] = { NULL
};
1477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxFileSystem_CleanUpHandlers",_kwnames
))
1480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1481 wxFileSystem::CleanUpHandlers();
1483 wxPyEndAllowThreads(__tstate
);
1484 if (PyErr_Occurred()) return NULL
;
1485 } Py_INCREF(Py_None
);
1486 _resultobj
= Py_None
;
1490 static void *SwigwxInternetFSHandlerTowxFileSystemHandler(void *ptr
) {
1491 wxInternetFSHandler
*src
;
1492 wxFileSystemHandler
*dest
;
1493 src
= (wxInternetFSHandler
*) ptr
;
1494 dest
= (wxFileSystemHandler
*) src
;
1495 return (void *) dest
;
1498 static void *SwigwxInternetFSHandlerTowxObject(void *ptr
) {
1499 wxInternetFSHandler
*src
;
1501 src
= (wxInternetFSHandler
*) ptr
;
1502 dest
= (wxObject
*) src
;
1503 return (void *) dest
;
1506 #define new_wxInternetFSHandler() (new wxInternetFSHandler())
1507 static PyObject
*_wrap_new_wxInternetFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1508 PyObject
* _resultobj
;
1509 wxInternetFSHandler
* _result
;
1510 char *_kwnames
[] = { NULL
};
1514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxInternetFSHandler",_kwnames
))
1517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1518 _result
= (wxInternetFSHandler
*)new_wxInternetFSHandler();
1520 wxPyEndAllowThreads(__tstate
);
1521 if (PyErr_Occurred()) return NULL
;
1523 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxInternetFSHandler_p");
1524 _resultobj
= Py_BuildValue("s",_ptemp
);
1527 _resultobj
= Py_None
;
1532 #define wxInternetFSHandler_CanOpen(_swigobj,_swigarg0) (_swigobj->CanOpen(_swigarg0))
1533 static PyObject
*_wrap_wxInternetFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1534 PyObject
* _resultobj
;
1536 wxInternetFSHandler
* _arg0
;
1538 PyObject
* _argo0
= 0;
1539 PyObject
* _obj1
= 0;
1540 char *_kwnames
[] = { "self","location", NULL
};
1543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxInternetFSHandler_CanOpen",_kwnames
,&_argo0
,&_obj1
))
1546 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1547 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxInternetFSHandler_p")) {
1548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxInternetFSHandler_CanOpen. Expected _wxInternetFSHandler_p.");
1553 #if PYTHON_API_VERSION >= 1009
1554 char* tmpPtr
; int tmpSize
;
1555 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1556 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1559 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1561 _arg1
= new wxString(tmpPtr
, tmpSize
);
1563 if (!PyString_Check(_obj1
)) {
1564 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1567 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1572 _result
= (bool )wxInternetFSHandler_CanOpen(_arg0
,*_arg1
);
1574 wxPyEndAllowThreads(__tstate
);
1575 if (PyErr_Occurred()) return NULL
;
1576 } _resultobj
= Py_BuildValue("i",_result
);
1584 #define wxInternetFSHandler_OpenFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->OpenFile(_swigarg0,_swigarg1))
1585 static PyObject
*_wrap_wxInternetFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1586 PyObject
* _resultobj
;
1588 wxInternetFSHandler
* _arg0
;
1589 wxFileSystem
* _arg1
;
1591 PyObject
* _argo0
= 0;
1592 PyObject
* _argo1
= 0;
1593 PyObject
* _obj2
= 0;
1594 char *_kwnames
[] = { "self","fs","location", NULL
};
1597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxInternetFSHandler_OpenFile",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
1600 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1601 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxInternetFSHandler_p")) {
1602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxInternetFSHandler_OpenFile. Expected _wxInternetFSHandler_p.");
1607 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1608 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileSystem_p")) {
1609 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxInternetFSHandler_OpenFile. Expected _wxFileSystem_p.");
1614 #if PYTHON_API_VERSION >= 1009
1615 char* tmpPtr
; int tmpSize
;
1616 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1617 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1620 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1622 _arg2
= new wxString(tmpPtr
, tmpSize
);
1624 if (!PyString_Check(_obj2
)) {
1625 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1628 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1633 _result
= (wxFSFile
*)wxInternetFSHandler_OpenFile(_arg0
,*_arg1
,*_arg2
);
1635 wxPyEndAllowThreads(__tstate
);
1636 if (PyErr_Occurred()) return NULL
;
1637 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1645 static void *SwigwxZipFSHandlerTowxFileSystemHandler(void *ptr
) {
1646 wxZipFSHandler
*src
;
1647 wxFileSystemHandler
*dest
;
1648 src
= (wxZipFSHandler
*) ptr
;
1649 dest
= (wxFileSystemHandler
*) src
;
1650 return (void *) dest
;
1653 static void *SwigwxZipFSHandlerTowxObject(void *ptr
) {
1654 wxZipFSHandler
*src
;
1656 src
= (wxZipFSHandler
*) ptr
;
1657 dest
= (wxObject
*) src
;
1658 return (void *) dest
;
1661 #define new_wxZipFSHandler() (new wxZipFSHandler())
1662 static PyObject
*_wrap_new_wxZipFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1663 PyObject
* _resultobj
;
1664 wxZipFSHandler
* _result
;
1665 char *_kwnames
[] = { NULL
};
1669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxZipFSHandler",_kwnames
))
1672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1673 _result
= (wxZipFSHandler
*)new_wxZipFSHandler();
1675 wxPyEndAllowThreads(__tstate
);
1676 if (PyErr_Occurred()) return NULL
;
1678 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxZipFSHandler_p");
1679 _resultobj
= Py_BuildValue("s",_ptemp
);
1682 _resultobj
= Py_None
;
1687 #define wxZipFSHandler_CanOpen(_swigobj,_swigarg0) (_swigobj->CanOpen(_swigarg0))
1688 static PyObject
*_wrap_wxZipFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1689 PyObject
* _resultobj
;
1691 wxZipFSHandler
* _arg0
;
1693 PyObject
* _argo0
= 0;
1694 PyObject
* _obj1
= 0;
1695 char *_kwnames
[] = { "self","location", NULL
};
1698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxZipFSHandler_CanOpen",_kwnames
,&_argo0
,&_obj1
))
1701 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1702 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxZipFSHandler_p")) {
1703 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxZipFSHandler_CanOpen. Expected _wxZipFSHandler_p.");
1708 #if PYTHON_API_VERSION >= 1009
1709 char* tmpPtr
; int tmpSize
;
1710 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1711 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1714 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1716 _arg1
= new wxString(tmpPtr
, tmpSize
);
1718 if (!PyString_Check(_obj1
)) {
1719 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1722 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1727 _result
= (bool )wxZipFSHandler_CanOpen(_arg0
,*_arg1
);
1729 wxPyEndAllowThreads(__tstate
);
1730 if (PyErr_Occurred()) return NULL
;
1731 } _resultobj
= Py_BuildValue("i",_result
);
1739 #define wxZipFSHandler_OpenFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->OpenFile(_swigarg0,_swigarg1))
1740 static PyObject
*_wrap_wxZipFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1741 PyObject
* _resultobj
;
1743 wxZipFSHandler
* _arg0
;
1744 wxFileSystem
* _arg1
;
1746 PyObject
* _argo0
= 0;
1747 PyObject
* _argo1
= 0;
1748 PyObject
* _obj2
= 0;
1749 char *_kwnames
[] = { "self","fs","location", NULL
};
1752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxZipFSHandler_OpenFile",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
1755 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1756 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxZipFSHandler_p")) {
1757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxZipFSHandler_OpenFile. Expected _wxZipFSHandler_p.");
1762 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1763 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileSystem_p")) {
1764 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxZipFSHandler_OpenFile. Expected _wxFileSystem_p.");
1769 #if PYTHON_API_VERSION >= 1009
1770 char* tmpPtr
; int tmpSize
;
1771 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1772 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1775 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1777 _arg2
= new wxString(tmpPtr
, tmpSize
);
1779 if (!PyString_Check(_obj2
)) {
1780 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1783 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1788 _result
= (wxFSFile
*)wxZipFSHandler_OpenFile(_arg0
,*_arg1
,*_arg2
);
1790 wxPyEndAllowThreads(__tstate
);
1791 if (PyErr_Occurred()) return NULL
;
1792 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1800 #define wxZipFSHandler_FindFirst(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindFirst(_swigarg0,_swigarg1))
1801 static PyObject
*_wrap_wxZipFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1802 PyObject
* _resultobj
;
1804 wxZipFSHandler
* _arg0
;
1806 int _arg2
= (int ) 0;
1807 PyObject
* _argo0
= 0;
1808 PyObject
* _obj1
= 0;
1809 char *_kwnames
[] = { "self","spec","flags", NULL
};
1812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxZipFSHandler_FindFirst",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1815 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1816 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxZipFSHandler_p")) {
1817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxZipFSHandler_FindFirst. Expected _wxZipFSHandler_p.");
1822 #if PYTHON_API_VERSION >= 1009
1823 char* tmpPtr
; int tmpSize
;
1824 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1825 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1828 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1830 _arg1
= new wxString(tmpPtr
, tmpSize
);
1832 if (!PyString_Check(_obj1
)) {
1833 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1836 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1841 _result
= new wxString (wxZipFSHandler_FindFirst(_arg0
,*_arg1
,_arg2
));
1843 wxPyEndAllowThreads(__tstate
);
1844 if (PyErr_Occurred()) return NULL
;
1846 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1858 #define wxZipFSHandler_FindNext(_swigobj) (_swigobj->FindNext())
1859 static PyObject
*_wrap_wxZipFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1860 PyObject
* _resultobj
;
1862 wxZipFSHandler
* _arg0
;
1863 PyObject
* _argo0
= 0;
1864 char *_kwnames
[] = { "self", NULL
};
1867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxZipFSHandler_FindNext",_kwnames
,&_argo0
))
1870 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1871 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxZipFSHandler_p")) {
1872 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxZipFSHandler_FindNext. Expected _wxZipFSHandler_p.");
1877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1878 _result
= new wxString (wxZipFSHandler_FindNext(_arg0
));
1880 wxPyEndAllowThreads(__tstate
);
1881 if (PyErr_Occurred()) return NULL
;
1883 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1891 static void *SwigwxMemoryFSHandlerTowxFileSystemHandler(void *ptr
) {
1892 wxMemoryFSHandler
*src
;
1893 wxFileSystemHandler
*dest
;
1894 src
= (wxMemoryFSHandler
*) ptr
;
1895 dest
= (wxFileSystemHandler
*) src
;
1896 return (void *) dest
;
1899 static void *SwigwxMemoryFSHandlerTowxObject(void *ptr
) {
1900 wxMemoryFSHandler
*src
;
1902 src
= (wxMemoryFSHandler
*) ptr
;
1903 dest
= (wxObject
*) src
;
1904 return (void *) dest
;
1907 #define new_wxMemoryFSHandler() (new wxMemoryFSHandler())
1908 static PyObject
*_wrap_new_wxMemoryFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1909 PyObject
* _resultobj
;
1910 wxMemoryFSHandler
* _result
;
1911 char *_kwnames
[] = { NULL
};
1915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMemoryFSHandler",_kwnames
))
1918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1919 _result
= (wxMemoryFSHandler
*)new_wxMemoryFSHandler();
1921 wxPyEndAllowThreads(__tstate
);
1922 if (PyErr_Occurred()) return NULL
;
1924 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMemoryFSHandler_p");
1925 _resultobj
= Py_BuildValue("s",_ptemp
);
1928 _resultobj
= Py_None
;
1933 static PyObject
*_wrap_wxMemoryFSHandler_RemoveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1934 PyObject
* _resultobj
;
1936 PyObject
* _obj0
= 0;
1937 char *_kwnames
[] = { "filename", NULL
};
1940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMemoryFSHandler_RemoveFile",_kwnames
,&_obj0
))
1943 #if PYTHON_API_VERSION >= 1009
1944 char* tmpPtr
; int tmpSize
;
1945 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1946 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1949 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1951 _arg0
= new wxString(tmpPtr
, tmpSize
);
1953 if (!PyString_Check(_obj0
)) {
1954 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1957 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1962 wxMemoryFSHandler::RemoveFile(*_arg0
);
1964 wxPyEndAllowThreads(__tstate
);
1965 if (PyErr_Occurred()) return NULL
;
1966 } Py_INCREF(Py_None
);
1967 _resultobj
= Py_None
;
1975 #define wxMemoryFSHandler_CanOpen(_swigobj,_swigarg0) (_swigobj->CanOpen(_swigarg0))
1976 static PyObject
*_wrap_wxMemoryFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1977 PyObject
* _resultobj
;
1979 wxMemoryFSHandler
* _arg0
;
1981 PyObject
* _argo0
= 0;
1982 PyObject
* _obj1
= 0;
1983 char *_kwnames
[] = { "self","location", NULL
};
1986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMemoryFSHandler_CanOpen",_kwnames
,&_argo0
,&_obj1
))
1989 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1990 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMemoryFSHandler_p")) {
1991 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryFSHandler_CanOpen. Expected _wxMemoryFSHandler_p.");
1996 #if PYTHON_API_VERSION >= 1009
1997 char* tmpPtr
; int tmpSize
;
1998 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1999 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2002 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2004 _arg1
= new wxString(tmpPtr
, tmpSize
);
2006 if (!PyString_Check(_obj1
)) {
2007 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2010 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2015 _result
= (bool )wxMemoryFSHandler_CanOpen(_arg0
,*_arg1
);
2017 wxPyEndAllowThreads(__tstate
);
2018 if (PyErr_Occurred()) return NULL
;
2019 } _resultobj
= Py_BuildValue("i",_result
);
2027 #define wxMemoryFSHandler_OpenFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->OpenFile(_swigarg0,_swigarg1))
2028 static PyObject
*_wrap_wxMemoryFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2029 PyObject
* _resultobj
;
2031 wxMemoryFSHandler
* _arg0
;
2032 wxFileSystem
* _arg1
;
2034 PyObject
* _argo0
= 0;
2035 PyObject
* _argo1
= 0;
2036 PyObject
* _obj2
= 0;
2037 char *_kwnames
[] = { "self","fs","location", NULL
};
2040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMemoryFSHandler_OpenFile",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
2043 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2044 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMemoryFSHandler_p")) {
2045 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryFSHandler_OpenFile. Expected _wxMemoryFSHandler_p.");
2050 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2051 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileSystem_p")) {
2052 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMemoryFSHandler_OpenFile. Expected _wxFileSystem_p.");
2057 #if PYTHON_API_VERSION >= 1009
2058 char* tmpPtr
; int tmpSize
;
2059 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
2060 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2063 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
2065 _arg2
= new wxString(tmpPtr
, tmpSize
);
2067 if (!PyString_Check(_obj2
)) {
2068 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2071 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
2075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2076 _result
= (wxFSFile
*)wxMemoryFSHandler_OpenFile(_arg0
,*_arg1
,*_arg2
);
2078 wxPyEndAllowThreads(__tstate
);
2079 if (PyErr_Occurred()) return NULL
;
2080 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2088 #define wxMemoryFSHandler_FindFirst(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindFirst(_swigarg0,_swigarg1))
2089 static PyObject
*_wrap_wxMemoryFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2090 PyObject
* _resultobj
;
2092 wxMemoryFSHandler
* _arg0
;
2094 int _arg2
= (int ) 0;
2095 PyObject
* _argo0
= 0;
2096 PyObject
* _obj1
= 0;
2097 char *_kwnames
[] = { "self","spec","flags", NULL
};
2100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxMemoryFSHandler_FindFirst",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
2103 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2104 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMemoryFSHandler_p")) {
2105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryFSHandler_FindFirst. Expected _wxMemoryFSHandler_p.");
2110 #if PYTHON_API_VERSION >= 1009
2111 char* tmpPtr
; int tmpSize
;
2112 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2113 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2116 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2118 _arg1
= new wxString(tmpPtr
, tmpSize
);
2120 if (!PyString_Check(_obj1
)) {
2121 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2124 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2129 _result
= new wxString (wxMemoryFSHandler_FindFirst(_arg0
,*_arg1
,_arg2
));
2131 wxPyEndAllowThreads(__tstate
);
2132 if (PyErr_Occurred()) return NULL
;
2134 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2146 #define wxMemoryFSHandler_FindNext(_swigobj) (_swigobj->FindNext())
2147 static PyObject
*_wrap_wxMemoryFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2148 PyObject
* _resultobj
;
2150 wxMemoryFSHandler
* _arg0
;
2151 PyObject
* _argo0
= 0;
2152 char *_kwnames
[] = { "self", NULL
};
2155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMemoryFSHandler_FindNext",_kwnames
,&_argo0
))
2158 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2159 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMemoryFSHandler_p")) {
2160 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryFSHandler_FindNext. Expected _wxMemoryFSHandler_p.");
2165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2166 _result
= new wxString (wxMemoryFSHandler_FindNext(_arg0
));
2168 wxPyEndAllowThreads(__tstate
);
2169 if (PyErr_Occurred()) return NULL
;
2171 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2179 static PyMethodDef filesyscMethods
[] = {
2180 { "wxMemoryFSHandler_FindNext", (PyCFunction
) _wrap_wxMemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
2181 { "wxMemoryFSHandler_FindFirst", (PyCFunction
) _wrap_wxMemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
2182 { "wxMemoryFSHandler_OpenFile", (PyCFunction
) _wrap_wxMemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
2183 { "wxMemoryFSHandler_CanOpen", (PyCFunction
) _wrap_wxMemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
2184 { "wxMemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_wxMemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
},
2185 { "new_wxMemoryFSHandler", (PyCFunction
) _wrap_new_wxMemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
2186 { "wxZipFSHandler_FindNext", (PyCFunction
) _wrap_wxZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
2187 { "wxZipFSHandler_FindFirst", (PyCFunction
) _wrap_wxZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
2188 { "wxZipFSHandler_OpenFile", (PyCFunction
) _wrap_wxZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
2189 { "wxZipFSHandler_CanOpen", (PyCFunction
) _wrap_wxZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
2190 { "new_wxZipFSHandler", (PyCFunction
) _wrap_new_wxZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
2191 { "wxInternetFSHandler_OpenFile", (PyCFunction
) _wrap_wxInternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
2192 { "wxInternetFSHandler_CanOpen", (PyCFunction
) _wrap_wxInternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
2193 { "new_wxInternetFSHandler", (PyCFunction
) _wrap_new_wxInternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
2194 { "wxFileSystem_CleanUpHandlers", (PyCFunction
) _wrap_wxFileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
},
2195 { "wxFileSystem_AddHandler", (PyCFunction
) _wrap_wxFileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
2196 { "wxFileSystem_FindNext", (PyCFunction
) _wrap_wxFileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
2197 { "wxFileSystem_FindFirst", (PyCFunction
) _wrap_wxFileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
2198 { "wxFileSystem_OpenFile", (PyCFunction
) _wrap_wxFileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
2199 { "wxFileSystem_GetPath", (PyCFunction
) _wrap_wxFileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
2200 { "wxFileSystem_ChangePathTo", (PyCFunction
) _wrap_wxFileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
},
2201 { "new_wxFileSystem", (PyCFunction
) _wrap_new_wxFileSystem
, METH_VARARGS
| METH_KEYWORDS
},
2202 { "wxFileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_wxFileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
},
2203 { "wxFileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_wxFileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
},
2204 { "wxFileSystemHandler_GetAnchor", (PyCFunction
) _wrap_wxFileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
2205 { "wxFileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_wxFileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
},
2206 { "wxFileSystemHandler_GetProtocol", (PyCFunction
) _wrap_wxFileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
},
2207 { "wxFileSystemHandler_FindNext", (PyCFunction
) _wrap_wxFileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
2208 { "wxFileSystemHandler_FindFirst", (PyCFunction
) _wrap_wxFileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
2209 { "wxFileSystemHandler_OpenFile", (PyCFunction
) _wrap_wxFileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
2210 { "wxFileSystemHandler_CanOpen", (PyCFunction
) _wrap_wxFileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
2211 { "wxFileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_wxFileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
2212 { "new_wxFileSystemHandler", (PyCFunction
) _wrap_new_wxFileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
},
2213 { "wxFSFile_GetModificationTime", (PyCFunction
) _wrap_wxFSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
},
2214 { "wxFSFile_GetAnchor", (PyCFunction
) _wrap_wxFSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
2215 { "wxFSFile_GetLocation", (PyCFunction
) _wrap_wxFSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
},
2216 { "wxFSFile_GetMimeType", (PyCFunction
) _wrap_wxFSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
2217 { "wxFSFile_GetStream", (PyCFunction
) _wrap_wxFSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
},
2218 { "new_wxFSFile", (PyCFunction
) _wrap_new_wxFSFile
, METH_VARARGS
| METH_KEYWORDS
},
2219 { "__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
},
2220 { "__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
2221 { "__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
},
2228 * This table is used by the pointer type-checker
2230 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
2231 { "_signed_long","_long",0},
2232 { "_wxPrintQuality","_wxCoord",0},
2233 { "_wxPrintQuality","_int",0},
2234 { "_wxPrintQuality","_signed_int",0},
2235 { "_wxPrintQuality","_unsigned_int",0},
2236 { "_wxPrintQuality","_wxWindowID",0},
2237 { "_wxPrintQuality","_uint",0},
2238 { "_wxPrintQuality","_EBool",0},
2239 { "_wxPrintQuality","_size_t",0},
2240 { "_wxPrintQuality","_time_t",0},
2241 { "_byte","_unsigned_char",0},
2242 { "_long","_unsigned_long",0},
2243 { "_long","_signed_long",0},
2244 { "_size_t","_wxCoord",0},
2245 { "_size_t","_wxPrintQuality",0},
2246 { "_size_t","_time_t",0},
2247 { "_size_t","_unsigned_int",0},
2248 { "_size_t","_int",0},
2249 { "_size_t","_wxWindowID",0},
2250 { "_size_t","_uint",0},
2251 { "_uint","_wxCoord",0},
2252 { "_uint","_wxPrintQuality",0},
2253 { "_uint","_time_t",0},
2254 { "_uint","_size_t",0},
2255 { "_uint","_unsigned_int",0},
2256 { "_uint","_int",0},
2257 { "_uint","_wxWindowID",0},
2258 { "_wxChar","_char",0},
2259 { "_char","_wxChar",0},
2260 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
2261 { "_EBool","_wxCoord",0},
2262 { "_EBool","_wxPrintQuality",0},
2263 { "_EBool","_signed_int",0},
2264 { "_EBool","_int",0},
2265 { "_EBool","_wxWindowID",0},
2266 { "_unsigned_long","_long",0},
2267 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
2268 { "_signed_int","_wxCoord",0},
2269 { "_signed_int","_wxPrintQuality",0},
2270 { "_signed_int","_EBool",0},
2271 { "_signed_int","_wxWindowID",0},
2272 { "_signed_int","_int",0},
2273 { "_WXTYPE","_wxDateTime_t",0},
2274 { "_WXTYPE","_short",0},
2275 { "_WXTYPE","_signed_short",0},
2276 { "_WXTYPE","_unsigned_short",0},
2277 { "_unsigned_short","_wxDateTime_t",0},
2278 { "_unsigned_short","_WXTYPE",0},
2279 { "_unsigned_short","_short",0},
2280 { "_wxObject","_wxMemoryFSHandler",SwigwxMemoryFSHandlerTowxObject
},
2281 { "_wxObject","_wxZipFSHandler",SwigwxZipFSHandlerTowxObject
},
2282 { "_wxObject","_wxInternetFSHandler",SwigwxInternetFSHandlerTowxObject
},
2283 { "_wxObject","_wxFileSystem",SwigwxFileSystemTowxObject
},
2284 { "_wxObject","_wxPyFileSystemHandler",SwigwxPyFileSystemHandlerTowxObject
},
2285 { "_wxObject","_wxFileSystemHandler",SwigwxFileSystemHandlerTowxObject
},
2286 { "_wxObject","_wxFSFile",SwigwxFSFileTowxObject
},
2287 { "_signed_short","_WXTYPE",0},
2288 { "_signed_short","_short",0},
2289 { "_unsigned_char","_byte",0},
2290 { "_unsigned_int","_wxCoord",0},
2291 { "_unsigned_int","_wxPrintQuality",0},
2292 { "_unsigned_int","_time_t",0},
2293 { "_unsigned_int","_size_t",0},
2294 { "_unsigned_int","_uint",0},
2295 { "_unsigned_int","_wxWindowID",0},
2296 { "_unsigned_int","_int",0},
2297 { "_short","_wxDateTime_t",0},
2298 { "_short","_WXTYPE",0},
2299 { "_short","_unsigned_short",0},
2300 { "_short","_signed_short",0},
2301 { "_wxFileSystemHandler","_wxMemoryFSHandler",SwigwxMemoryFSHandlerTowxFileSystemHandler
},
2302 { "_wxFileSystemHandler","_wxZipFSHandler",SwigwxZipFSHandlerTowxFileSystemHandler
},
2303 { "_wxFileSystemHandler","_wxInternetFSHandler",SwigwxInternetFSHandlerTowxFileSystemHandler
},
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},
2344 static PyObject
*SWIG_globals
;
2348 SWIGEXPORT(void) initfilesysc() {
2350 SWIG_globals
= SWIG_newvarlink();
2351 m
= Py_InitModule("filesysc", filesyscMethods
);
2352 d
= PyModule_GetDict(m
);
2354 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
2357 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
2358 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);