2 * FILE : src/msw/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>
64 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
68 } else if (target
== Py_None
) {
72 if (!PyList_Check(target
)) {
74 target
= PyList_New(0);
75 PyList_Append(target
, o2
);
78 PyList_Append(target
,o
);
84 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
90 } else if (target
== Py_None
) {
94 if (!PyTuple_Check(target
)) {
96 target
= PyTuple_New(1);
97 PyTuple_SetItem(target
, 0, o2
);
100 PyTuple_SetItem(o3
, 0, o
);
103 target
= PySequence_Concat(o2
, o3
);
110 static char* wxStringErrorMsg
= "string type is required for parameter";
112 // wxPyFileSystemHandler will be the Python class wxFileSystemHandler and handling
113 // the callback functions
114 class wxPyFileSystemHandler
: public wxFileSystemHandler
{
116 wxPyFileSystemHandler() : wxFileSystemHandler() {}
118 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen
);
119 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile
);
120 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst
);
121 DEC_PYCALLBACK_STRING__pure(FindNext
);
123 wxString
GetProtocol(const wxString
& location
) {
124 return wxFileSystemHandler::GetProtocol(location
);
127 wxString
GetLeftLocation(const wxString
& location
) {
128 return wxFileSystemHandler::GetLeftLocation(location
);
131 wxString
GetAnchor(const wxString
& location
) {
132 return wxFileSystemHandler::GetAnchor(location
);
135 wxString
GetRightLocation(const wxString
& location
) {
136 return wxFileSystemHandler::GetRightLocation(location
);
139 wxString
GetMimeTypeFromExt(const wxString
& location
){
140 return wxFileSystemHandler::GetMimeTypeFromExt(location
);
147 IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, CanOpen
);
148 IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, OpenFile
);
149 IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindFirst
);
150 IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindNext
);
152 void __wxMemoryFSHandler_AddFile_wxImage(const wxString
& filename
,
155 wxMemoryFSHandler::AddFile(filename
, image
, type
);
158 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString
& filename
,
159 const wxBitmap
& bitmap
,
161 wxMemoryFSHandler::AddFile(filename
, bitmap
, type
);
164 // void __wxMemoryFSHandler_AddFile_wxString(const wxString& filename,
165 // const wxString& textdata) {
166 // wxMemoryFSHandler::AddFile(filename, textdata);
169 void __wxMemoryFSHandler_AddFile_Data(const wxString
& filename
,
172 wxMemoryFSHandler::AddFile(filename
,
173 (void*)PyString_AsString(data
),
174 (size_t)PyString_Size(data
));
179 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
180 PyObject
* _resultobj
;
184 PyObject
* _obj0
= 0;
185 PyObject
* _argo1
= 0;
186 char *_kwnames
[] = { "filename","image","type", NULL
};
189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOl:__wxMemoryFSHandler_AddFile_wxImage",_kwnames
,&_obj0
,&_argo1
,&_arg2
))
192 #if PYTHON_API_VERSION >= 1009
193 char* tmpPtr
; int tmpSize
;
194 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
195 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
198 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
200 _arg0
= new wxString(tmpPtr
, tmpSize
);
202 if (!PyString_Check(_obj0
)) {
203 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
206 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
210 if (_argo1
== Py_None
) { _arg1
= NULL
; }
211 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImage_p")) {
212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of __wxMemoryFSHandler_AddFile_wxImage. Expected _wxImage_p.");
217 wxPy_BEGIN_ALLOW_THREADS
;
218 __wxMemoryFSHandler_AddFile_wxImage(*_arg0
,*_arg1
,_arg2
);
220 wxPy_END_ALLOW_THREADS
;
221 } Py_INCREF(Py_None
);
222 _resultobj
= Py_None
;
230 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
231 PyObject
* _resultobj
;
235 PyObject
* _obj0
= 0;
236 PyObject
* _argo1
= 0;
237 char *_kwnames
[] = { "filename","bitmap","type", NULL
};
240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOl:__wxMemoryFSHandler_AddFile_wxBitmap",_kwnames
,&_obj0
,&_argo1
,&_arg2
))
243 #if PYTHON_API_VERSION >= 1009
244 char* tmpPtr
; int tmpSize
;
245 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
246 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
249 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
251 _arg0
= new wxString(tmpPtr
, tmpSize
);
253 if (!PyString_Check(_obj0
)) {
254 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
257 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
261 if (_argo1
== Py_None
) { _arg1
= NULL
; }
262 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of __wxMemoryFSHandler_AddFile_wxBitmap. Expected _wxBitmap_p.");
268 wxPy_BEGIN_ALLOW_THREADS
;
269 __wxMemoryFSHandler_AddFile_wxBitmap(*_arg0
,*_arg1
,_arg2
);
271 wxPy_END_ALLOW_THREADS
;
272 } Py_INCREF(Py_None
);
273 _resultobj
= Py_None
;
281 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
282 PyObject
* _resultobj
;
285 PyObject
* _obj0
= 0;
286 PyObject
* _obj1
= 0;
287 char *_kwnames
[] = { "filename","data", NULL
};
290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:__wxMemoryFSHandler_AddFile_Data",_kwnames
,&_obj0
,&_obj1
))
293 #if PYTHON_API_VERSION >= 1009
294 char* tmpPtr
; int tmpSize
;
295 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
296 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
299 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
301 _arg0
= new wxString(tmpPtr
, tmpSize
);
303 if (!PyString_Check(_obj0
)) {
304 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
307 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
314 wxPy_BEGIN_ALLOW_THREADS
;
315 __wxMemoryFSHandler_AddFile_Data(*_arg0
,_arg1
);
317 wxPy_END_ALLOW_THREADS
;
318 } Py_INCREF(Py_None
);
319 _resultobj
= Py_None
;
327 #define new_wxFSFile(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxFSFile(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
328 static PyObject
*_wrap_new_wxFSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
329 PyObject
* _resultobj
;
331 wxInputStream
* _arg0
;
336 PyObject
* _obj0
= 0;
337 PyObject
* _obj1
= 0;
338 PyObject
* _obj2
= 0;
339 PyObject
* _obj3
= 0;
340 PyObject
* _argo4
= 0;
341 char *_kwnames
[] = { "stream","loc","mimetype","anchor","modif", NULL
};
345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOOO:new_wxFSFile",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_obj3
,&_argo4
))
348 if (PyInstance_Check(_obj0
)) {
349 wxPyInputStream
* ptr
;
350 if (SWIG_GetPtrObj(_obj0
, (void **) &ptr
,"_wxPyInputStream_p")) {
351 PyErr_SetString(PyExc_TypeError
,"Expected _wxInputStream_p.");
356 PyErr_SetString(PyExc_TypeError
,"Expected _wxInputStream_p.");
361 #if PYTHON_API_VERSION >= 1009
362 char* tmpPtr
; int tmpSize
;
363 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
364 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
367 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
369 _arg1
= new wxString(tmpPtr
, tmpSize
);
371 if (!PyString_Check(_obj1
)) {
372 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
375 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
379 #if PYTHON_API_VERSION >= 1009
380 char* tmpPtr
; int tmpSize
;
381 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
382 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
385 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
387 _arg2
= new wxString(tmpPtr
, tmpSize
);
389 if (!PyString_Check(_obj2
)) {
390 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
393 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
397 #if PYTHON_API_VERSION >= 1009
398 char* tmpPtr
; int tmpSize
;
399 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
400 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
403 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
405 _arg3
= new wxString(tmpPtr
, tmpSize
);
407 if (!PyString_Check(_obj3
)) {
408 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
411 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
415 if (_argo4
== Py_None
) { _arg4
= NULL
; }
416 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxDateTime_p")) {
417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of new_wxFSFile. Expected _wxDateTime_p.");
422 wxPy_BEGIN_ALLOW_THREADS
;
423 _result
= (wxFSFile
*)new_wxFSFile(_arg0
,*_arg1
,*_arg2
,*_arg3
,*_arg4
);
425 wxPy_END_ALLOW_THREADS
;
427 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFSFile_p");
428 _resultobj
= Py_BuildValue("s",_ptemp
);
431 _resultobj
= Py_None
;
448 #define wxFSFile_GetStream(_swigobj) (_swigobj->GetStream())
449 static PyObject
*_wrap_wxFSFile_GetStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
450 PyObject
* _resultobj
;
451 wxInputStream
* _result
;
453 PyObject
* _argo0
= 0;
454 char *_kwnames
[] = { "self", NULL
};
457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFSFile_GetStream",_kwnames
,&_argo0
))
460 if (_argo0
== Py_None
) { _arg0
= NULL
; }
461 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFSFile_p")) {
462 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFSFile_GetStream. Expected _wxFSFile_p.");
467 wxPy_BEGIN_ALLOW_THREADS
;
468 _result
= (wxInputStream
*)wxFSFile_GetStream(_arg0
);
470 wxPy_END_ALLOW_THREADS
;
472 wxPyInputStream
* _ptr
= NULL
;
475 _ptr
= new wxPyInputStream(_result
);
479 SWIG_MakePtr(swigptr
, _ptr
, "_wxPyInputStream_p");
481 PyObject
* classobj
= PyDict_GetItemString(wxPython_dict
, "wxInputStreamPtr");
484 _resultobj
= Py_None
;
486 PyObject
* arg
= Py_BuildValue("(s)", swigptr
);
487 _resultobj
= PyInstance_New(classobj
, arg
, NULL
);
491 PyObject_SetAttrString(_resultobj
, "thisown", PyInt_FromLong(1));
495 _resultobj
= Py_None
;
501 #define wxFSFile_GetMimeType(_swigobj) (_swigobj->GetMimeType())
502 static PyObject
*_wrap_wxFSFile_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
503 PyObject
* _resultobj
;
506 PyObject
* _argo0
= 0;
507 char *_kwnames
[] = { "self", NULL
};
510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFSFile_GetMimeType",_kwnames
,&_argo0
))
513 if (_argo0
== Py_None
) { _arg0
= NULL
; }
514 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFSFile_p")) {
515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFSFile_GetMimeType. Expected _wxFSFile_p.");
520 wxPy_BEGIN_ALLOW_THREADS
;
521 const wxString
& _result_ref
= wxFSFile_GetMimeType(_arg0
);
522 _result
= (wxString
*) &_result_ref
;
524 wxPy_END_ALLOW_THREADS
;
526 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
531 #define wxFSFile_GetLocation(_swigobj) (_swigobj->GetLocation())
532 static PyObject
*_wrap_wxFSFile_GetLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
533 PyObject
* _resultobj
;
536 PyObject
* _argo0
= 0;
537 char *_kwnames
[] = { "self", NULL
};
540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFSFile_GetLocation",_kwnames
,&_argo0
))
543 if (_argo0
== Py_None
) { _arg0
= NULL
; }
544 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFSFile_p")) {
545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFSFile_GetLocation. Expected _wxFSFile_p.");
550 wxPy_BEGIN_ALLOW_THREADS
;
551 const wxString
& _result_ref
= wxFSFile_GetLocation(_arg0
);
552 _result
= (wxString
*) &_result_ref
;
554 wxPy_END_ALLOW_THREADS
;
556 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
561 #define wxFSFile_GetAnchor(_swigobj) (_swigobj->GetAnchor())
562 static PyObject
*_wrap_wxFSFile_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
563 PyObject
* _resultobj
;
566 PyObject
* _argo0
= 0;
567 char *_kwnames
[] = { "self", NULL
};
570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFSFile_GetAnchor",_kwnames
,&_argo0
))
573 if (_argo0
== Py_None
) { _arg0
= NULL
; }
574 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFSFile_p")) {
575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFSFile_GetAnchor. Expected _wxFSFile_p.");
580 wxPy_BEGIN_ALLOW_THREADS
;
581 const wxString
& _result_ref
= wxFSFile_GetAnchor(_arg0
);
582 _result
= (wxString
*) &_result_ref
;
584 wxPy_END_ALLOW_THREADS
;
586 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
591 #define wxFSFile_GetModificationTime(_swigobj) (_swigobj->GetModificationTime())
592 static PyObject
*_wrap_wxFSFile_GetModificationTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
593 PyObject
* _resultobj
;
594 wxDateTime
* _result
;
596 PyObject
* _argo0
= 0;
597 char *_kwnames
[] = { "self", NULL
};
601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFSFile_GetModificationTime",_kwnames
,&_argo0
))
604 if (_argo0
== Py_None
) { _arg0
= NULL
; }
605 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFSFile_p")) {
606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFSFile_GetModificationTime. Expected _wxFSFile_p.");
611 wxPy_BEGIN_ALLOW_THREADS
;
612 _result
= new wxDateTime (wxFSFile_GetModificationTime(_arg0
));
614 wxPy_END_ALLOW_THREADS
;
615 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
616 _resultobj
= Py_BuildValue("s",_ptemp
);
620 static void *SwigwxPyFileSystemHandlerTowxFileSystemHandler(void *ptr
) {
621 wxPyFileSystemHandler
*src
;
622 wxFileSystemHandler
*dest
;
623 src
= (wxPyFileSystemHandler
*) ptr
;
624 dest
= (wxFileSystemHandler
*) src
;
625 return (void *) dest
;
628 #define new_wxFileSystemHandler() (new wxPyFileSystemHandler())
629 static PyObject
*_wrap_new_wxFileSystemHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
630 PyObject
* _resultobj
;
631 wxPyFileSystemHandler
* _result
;
632 char *_kwnames
[] = { NULL
};
636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFileSystemHandler",_kwnames
))
639 wxPy_BEGIN_ALLOW_THREADS
;
640 _result
= (wxPyFileSystemHandler
*)new_wxFileSystemHandler();
642 wxPy_END_ALLOW_THREADS
;
644 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyFileSystemHandler_p");
645 _resultobj
= Py_BuildValue("s",_ptemp
);
648 _resultobj
= Py_None
;
653 #define wxFileSystemHandler__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
654 static PyObject
*_wrap_wxFileSystemHandler__setSelf(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__setSelf",_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__setSelf. Expected _wxPyFileSystemHandler_p.");
681 wxPy_BEGIN_ALLOW_THREADS
;
682 wxFileSystemHandler__setSelf(_arg0
,_arg1
,_arg2
);
684 wxPy_END_ALLOW_THREADS
;
685 } Py_INCREF(Py_None
);
686 _resultobj
= Py_None
;
690 #define wxFileSystemHandler_CanOpen(_swigobj,_swigarg0) (_swigobj->CanOpen(_swigarg0))
691 static PyObject
*_wrap_wxFileSystemHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
692 PyObject
* _resultobj
;
694 wxPyFileSystemHandler
* _arg0
;
696 PyObject
* _argo0
= 0;
697 PyObject
* _obj1
= 0;
698 char *_kwnames
[] = { "self","location", NULL
};
701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileSystemHandler_CanOpen",_kwnames
,&_argo0
,&_obj1
))
704 if (_argo0
== Py_None
) { _arg0
= NULL
; }
705 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileSystemHandler_p")) {
706 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystemHandler_CanOpen. Expected _wxPyFileSystemHandler_p.");
711 #if PYTHON_API_VERSION >= 1009
712 char* tmpPtr
; int tmpSize
;
713 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
714 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
717 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
719 _arg1
= new wxString(tmpPtr
, tmpSize
);
721 if (!PyString_Check(_obj1
)) {
722 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
725 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
729 wxPy_BEGIN_ALLOW_THREADS
;
730 _result
= (bool )wxFileSystemHandler_CanOpen(_arg0
,*_arg1
);
732 wxPy_END_ALLOW_THREADS
;
733 } _resultobj
= Py_BuildValue("i",_result
);
741 #define wxFileSystemHandler_OpenFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->OpenFile(_swigarg0,_swigarg1))
742 static PyObject
*_wrap_wxFileSystemHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
743 PyObject
* _resultobj
;
745 wxPyFileSystemHandler
* _arg0
;
746 wxFileSystem
* _arg1
;
748 PyObject
* _argo0
= 0;
749 PyObject
* _argo1
= 0;
750 PyObject
* _obj2
= 0;
751 char *_kwnames
[] = { "self","fs","location", NULL
};
755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxFileSystemHandler_OpenFile",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
758 if (_argo0
== Py_None
) { _arg0
= NULL
; }
759 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileSystemHandler_p")) {
760 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystemHandler_OpenFile. Expected _wxPyFileSystemHandler_p.");
765 if (_argo1
== Py_None
) { _arg1
= NULL
; }
766 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileSystem_p")) {
767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileSystemHandler_OpenFile. Expected _wxFileSystem_p.");
772 #if PYTHON_API_VERSION >= 1009
773 char* tmpPtr
; int tmpSize
;
774 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
775 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
778 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
780 _arg2
= new wxString(tmpPtr
, tmpSize
);
782 if (!PyString_Check(_obj2
)) {
783 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
786 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
790 wxPy_BEGIN_ALLOW_THREADS
;
791 _result
= (wxFSFile
*)wxFileSystemHandler_OpenFile(_arg0
,*_arg1
,*_arg2
);
793 wxPy_END_ALLOW_THREADS
;
795 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFSFile_p");
796 _resultobj
= Py_BuildValue("s",_ptemp
);
799 _resultobj
= Py_None
;
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
, "String or Unicode type required");
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
, "String or Unicode type required");
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
, "String or Unicode type required");
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
, "String or Unicode type required");
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
, "String or Unicode type required");
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
, "String or Unicode type required");
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 #define new_wxFileSystem() (new wxFileSystem())
1178 static PyObject
*_wrap_new_wxFileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1179 PyObject
* _resultobj
;
1180 wxFileSystem
* _result
;
1181 char *_kwnames
[] = { NULL
};
1185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFileSystem",_kwnames
))
1188 wxPy_BEGIN_ALLOW_THREADS
;
1189 _result
= (wxFileSystem
*)new_wxFileSystem();
1191 wxPy_END_ALLOW_THREADS
;
1193 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileSystem_p");
1194 _resultobj
= Py_BuildValue("s",_ptemp
);
1197 _resultobj
= Py_None
;
1202 #define wxFileSystem_ChangePathTo(_swigobj,_swigarg0,_swigarg1) (_swigobj->ChangePathTo(_swigarg0,_swigarg1))
1203 static PyObject
*_wrap_wxFileSystem_ChangePathTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1204 PyObject
* _resultobj
;
1205 wxFileSystem
* _arg0
;
1207 bool _arg2
= (bool ) FALSE
;
1208 PyObject
* _argo0
= 0;
1209 PyObject
* _obj1
= 0;
1210 int tempbool2
= (int) FALSE
;
1211 char *_kwnames
[] = { "self","location","is_dir", NULL
};
1214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxFileSystem_ChangePathTo",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
1217 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1218 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileSystem_p")) {
1219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystem_ChangePathTo. Expected _wxFileSystem_p.");
1224 #if PYTHON_API_VERSION >= 1009
1225 char* tmpPtr
; int tmpSize
;
1226 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1227 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1230 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1232 _arg1
= new wxString(tmpPtr
, tmpSize
);
1234 if (!PyString_Check(_obj1
)) {
1235 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1238 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1241 _arg2
= (bool ) tempbool2
;
1243 wxPy_BEGIN_ALLOW_THREADS
;
1244 wxFileSystem_ChangePathTo(_arg0
,*_arg1
,_arg2
);
1246 wxPy_END_ALLOW_THREADS
;
1247 } Py_INCREF(Py_None
);
1248 _resultobj
= Py_None
;
1256 #define wxFileSystem_GetPath(_swigobj) (_swigobj->GetPath())
1257 static PyObject
*_wrap_wxFileSystem_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1258 PyObject
* _resultobj
;
1260 wxFileSystem
* _arg0
;
1261 PyObject
* _argo0
= 0;
1262 char *_kwnames
[] = { "self", NULL
};
1265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileSystem_GetPath",_kwnames
,&_argo0
))
1268 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1269 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileSystem_p")) {
1270 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystem_GetPath. Expected _wxFileSystem_p.");
1275 wxPy_BEGIN_ALLOW_THREADS
;
1276 _result
= new wxString (wxFileSystem_GetPath(_arg0
));
1278 wxPy_END_ALLOW_THREADS
;
1280 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1288 #define wxFileSystem_OpenFile(_swigobj,_swigarg0) (_swigobj->OpenFile(_swigarg0))
1289 static PyObject
*_wrap_wxFileSystem_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1290 PyObject
* _resultobj
;
1292 wxFileSystem
* _arg0
;
1294 PyObject
* _argo0
= 0;
1295 PyObject
* _obj1
= 0;
1296 char *_kwnames
[] = { "self","location", NULL
};
1300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileSystem_OpenFile",_kwnames
,&_argo0
,&_obj1
))
1303 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1304 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileSystem_p")) {
1305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystem_OpenFile. Expected _wxFileSystem_p.");
1310 #if PYTHON_API_VERSION >= 1009
1311 char* tmpPtr
; int tmpSize
;
1312 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1313 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1316 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1318 _arg1
= new wxString(tmpPtr
, tmpSize
);
1320 if (!PyString_Check(_obj1
)) {
1321 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1324 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1328 wxPy_BEGIN_ALLOW_THREADS
;
1329 _result
= (wxFSFile
*)wxFileSystem_OpenFile(_arg0
,*_arg1
);
1331 wxPy_END_ALLOW_THREADS
;
1333 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFSFile_p");
1334 _resultobj
= Py_BuildValue("s",_ptemp
);
1337 _resultobj
= Py_None
;
1346 #define wxFileSystem_FindFirst(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindFirst(_swigarg0,_swigarg1))
1347 static PyObject
*_wrap_wxFileSystem_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1348 PyObject
* _resultobj
;
1350 wxFileSystem
* _arg0
;
1352 int _arg2
= (int ) 0;
1353 PyObject
* _argo0
= 0;
1354 PyObject
* _obj1
= 0;
1355 char *_kwnames
[] = { "self","spec","flags", NULL
};
1358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxFileSystem_FindFirst",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1361 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1362 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileSystem_p")) {
1363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystem_FindFirst. Expected _wxFileSystem_p.");
1368 #if PYTHON_API_VERSION >= 1009
1369 char* tmpPtr
; int tmpSize
;
1370 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1371 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1374 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1376 _arg1
= new wxString(tmpPtr
, tmpSize
);
1378 if (!PyString_Check(_obj1
)) {
1379 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1382 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1386 wxPy_BEGIN_ALLOW_THREADS
;
1387 _result
= new wxString (wxFileSystem_FindFirst(_arg0
,*_arg1
,_arg2
));
1389 wxPy_END_ALLOW_THREADS
;
1391 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1403 #define wxFileSystem_FindNext(_swigobj) (_swigobj->FindNext())
1404 static PyObject
*_wrap_wxFileSystem_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1405 PyObject
* _resultobj
;
1407 wxFileSystem
* _arg0
;
1408 PyObject
* _argo0
= 0;
1409 char *_kwnames
[] = { "self", NULL
};
1412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileSystem_FindNext",_kwnames
,&_argo0
))
1415 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1416 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileSystem_p")) {
1417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystem_FindNext. Expected _wxFileSystem_p.");
1422 wxPy_BEGIN_ALLOW_THREADS
;
1423 _result
= new wxString (wxFileSystem_FindNext(_arg0
));
1425 wxPy_END_ALLOW_THREADS
;
1427 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1435 static PyObject
*_wrap_wxFileSystem_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1436 PyObject
* _resultobj
;
1437 wxFileSystemHandler
* _arg0
;
1438 PyObject
* _argo0
= 0;
1439 char *_kwnames
[] = { "handler", NULL
};
1442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileSystem_AddHandler",_kwnames
,&_argo0
))
1445 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1446 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileSystemHandler_p")) {
1447 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystem_AddHandler. Expected _wxFileSystemHandler_p.");
1452 wxPy_BEGIN_ALLOW_THREADS
;
1453 wxFileSystem::AddHandler(_arg0
);
1455 wxPy_END_ALLOW_THREADS
;
1456 } Py_INCREF(Py_None
);
1457 _resultobj
= Py_None
;
1461 static PyObject
*_wrap_wxFileSystem_CleanUpHandlers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1462 PyObject
* _resultobj
;
1463 char *_kwnames
[] = { NULL
};
1466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxFileSystem_CleanUpHandlers",_kwnames
))
1469 wxPy_BEGIN_ALLOW_THREADS
;
1470 wxFileSystem::CleanUpHandlers();
1472 wxPy_END_ALLOW_THREADS
;
1473 } Py_INCREF(Py_None
);
1474 _resultobj
= Py_None
;
1478 static void *SwigwxInternetFSHandlerTowxFileSystemHandler(void *ptr
) {
1479 wxInternetFSHandler
*src
;
1480 wxFileSystemHandler
*dest
;
1481 src
= (wxInternetFSHandler
*) ptr
;
1482 dest
= (wxFileSystemHandler
*) src
;
1483 return (void *) dest
;
1486 #define new_wxInternetFSHandler() (new wxInternetFSHandler())
1487 static PyObject
*_wrap_new_wxInternetFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1488 PyObject
* _resultobj
;
1489 wxInternetFSHandler
* _result
;
1490 char *_kwnames
[] = { NULL
};
1494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxInternetFSHandler",_kwnames
))
1497 wxPy_BEGIN_ALLOW_THREADS
;
1498 _result
= (wxInternetFSHandler
*)new_wxInternetFSHandler();
1500 wxPy_END_ALLOW_THREADS
;
1502 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxInternetFSHandler_p");
1503 _resultobj
= Py_BuildValue("s",_ptemp
);
1506 _resultobj
= Py_None
;
1511 #define wxInternetFSHandler_CanOpen(_swigobj,_swigarg0) (_swigobj->CanOpen(_swigarg0))
1512 static PyObject
*_wrap_wxInternetFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1513 PyObject
* _resultobj
;
1515 wxInternetFSHandler
* _arg0
;
1517 PyObject
* _argo0
= 0;
1518 PyObject
* _obj1
= 0;
1519 char *_kwnames
[] = { "self","location", NULL
};
1522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxInternetFSHandler_CanOpen",_kwnames
,&_argo0
,&_obj1
))
1525 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1526 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxInternetFSHandler_p")) {
1527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxInternetFSHandler_CanOpen. Expected _wxInternetFSHandler_p.");
1532 #if PYTHON_API_VERSION >= 1009
1533 char* tmpPtr
; int tmpSize
;
1534 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1535 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1538 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1540 _arg1
= new wxString(tmpPtr
, tmpSize
);
1542 if (!PyString_Check(_obj1
)) {
1543 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1546 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1550 wxPy_BEGIN_ALLOW_THREADS
;
1551 _result
= (bool )wxInternetFSHandler_CanOpen(_arg0
,*_arg1
);
1553 wxPy_END_ALLOW_THREADS
;
1554 } _resultobj
= Py_BuildValue("i",_result
);
1562 #define wxInternetFSHandler_OpenFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->OpenFile(_swigarg0,_swigarg1))
1563 static PyObject
*_wrap_wxInternetFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1564 PyObject
* _resultobj
;
1566 wxInternetFSHandler
* _arg0
;
1567 wxFileSystem
* _arg1
;
1569 PyObject
* _argo0
= 0;
1570 PyObject
* _argo1
= 0;
1571 PyObject
* _obj2
= 0;
1572 char *_kwnames
[] = { "self","fs","location", NULL
};
1576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxInternetFSHandler_OpenFile",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
1579 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1580 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxInternetFSHandler_p")) {
1581 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxInternetFSHandler_OpenFile. Expected _wxInternetFSHandler_p.");
1586 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1587 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileSystem_p")) {
1588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxInternetFSHandler_OpenFile. Expected _wxFileSystem_p.");
1593 #if PYTHON_API_VERSION >= 1009
1594 char* tmpPtr
; int tmpSize
;
1595 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1596 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1599 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1601 _arg2
= new wxString(tmpPtr
, tmpSize
);
1603 if (!PyString_Check(_obj2
)) {
1604 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1607 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1611 wxPy_BEGIN_ALLOW_THREADS
;
1612 _result
= (wxFSFile
*)wxInternetFSHandler_OpenFile(_arg0
,*_arg1
,*_arg2
);
1614 wxPy_END_ALLOW_THREADS
;
1616 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFSFile_p");
1617 _resultobj
= Py_BuildValue("s",_ptemp
);
1620 _resultobj
= Py_None
;
1629 static void *SwigwxZipFSHandlerTowxFileSystemHandler(void *ptr
) {
1630 wxZipFSHandler
*src
;
1631 wxFileSystemHandler
*dest
;
1632 src
= (wxZipFSHandler
*) ptr
;
1633 dest
= (wxFileSystemHandler
*) src
;
1634 return (void *) dest
;
1637 #define new_wxZipFSHandler() (new wxZipFSHandler())
1638 static PyObject
*_wrap_new_wxZipFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1639 PyObject
* _resultobj
;
1640 wxZipFSHandler
* _result
;
1641 char *_kwnames
[] = { NULL
};
1645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxZipFSHandler",_kwnames
))
1648 wxPy_BEGIN_ALLOW_THREADS
;
1649 _result
= (wxZipFSHandler
*)new_wxZipFSHandler();
1651 wxPy_END_ALLOW_THREADS
;
1653 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxZipFSHandler_p");
1654 _resultobj
= Py_BuildValue("s",_ptemp
);
1657 _resultobj
= Py_None
;
1662 #define wxZipFSHandler_CanOpen(_swigobj,_swigarg0) (_swigobj->CanOpen(_swigarg0))
1663 static PyObject
*_wrap_wxZipFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1664 PyObject
* _resultobj
;
1666 wxZipFSHandler
* _arg0
;
1668 PyObject
* _argo0
= 0;
1669 PyObject
* _obj1
= 0;
1670 char *_kwnames
[] = { "self","location", NULL
};
1673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxZipFSHandler_CanOpen",_kwnames
,&_argo0
,&_obj1
))
1676 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1677 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxZipFSHandler_p")) {
1678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxZipFSHandler_CanOpen. Expected _wxZipFSHandler_p.");
1683 #if PYTHON_API_VERSION >= 1009
1684 char* tmpPtr
; int tmpSize
;
1685 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1686 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1689 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1691 _arg1
= new wxString(tmpPtr
, tmpSize
);
1693 if (!PyString_Check(_obj1
)) {
1694 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1697 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1701 wxPy_BEGIN_ALLOW_THREADS
;
1702 _result
= (bool )wxZipFSHandler_CanOpen(_arg0
,*_arg1
);
1704 wxPy_END_ALLOW_THREADS
;
1705 } _resultobj
= Py_BuildValue("i",_result
);
1713 #define wxZipFSHandler_OpenFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->OpenFile(_swigarg0,_swigarg1))
1714 static PyObject
*_wrap_wxZipFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1715 PyObject
* _resultobj
;
1717 wxZipFSHandler
* _arg0
;
1718 wxFileSystem
* _arg1
;
1720 PyObject
* _argo0
= 0;
1721 PyObject
* _argo1
= 0;
1722 PyObject
* _obj2
= 0;
1723 char *_kwnames
[] = { "self","fs","location", NULL
};
1727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxZipFSHandler_OpenFile",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
1730 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1731 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxZipFSHandler_p")) {
1732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxZipFSHandler_OpenFile. Expected _wxZipFSHandler_p.");
1737 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1738 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileSystem_p")) {
1739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxZipFSHandler_OpenFile. Expected _wxFileSystem_p.");
1744 #if PYTHON_API_VERSION >= 1009
1745 char* tmpPtr
; int tmpSize
;
1746 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1747 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1750 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1752 _arg2
= new wxString(tmpPtr
, tmpSize
);
1754 if (!PyString_Check(_obj2
)) {
1755 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1758 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1762 wxPy_BEGIN_ALLOW_THREADS
;
1763 _result
= (wxFSFile
*)wxZipFSHandler_OpenFile(_arg0
,*_arg1
,*_arg2
);
1765 wxPy_END_ALLOW_THREADS
;
1767 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFSFile_p");
1768 _resultobj
= Py_BuildValue("s",_ptemp
);
1771 _resultobj
= Py_None
;
1780 #define wxZipFSHandler_FindFirst(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindFirst(_swigarg0,_swigarg1))
1781 static PyObject
*_wrap_wxZipFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1782 PyObject
* _resultobj
;
1784 wxZipFSHandler
* _arg0
;
1786 int _arg2
= (int ) 0;
1787 PyObject
* _argo0
= 0;
1788 PyObject
* _obj1
= 0;
1789 char *_kwnames
[] = { "self","spec","flags", NULL
};
1792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxZipFSHandler_FindFirst",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1795 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1796 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxZipFSHandler_p")) {
1797 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxZipFSHandler_FindFirst. Expected _wxZipFSHandler_p.");
1802 #if PYTHON_API_VERSION >= 1009
1803 char* tmpPtr
; int tmpSize
;
1804 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1805 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1808 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1810 _arg1
= new wxString(tmpPtr
, tmpSize
);
1812 if (!PyString_Check(_obj1
)) {
1813 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1816 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1820 wxPy_BEGIN_ALLOW_THREADS
;
1821 _result
= new wxString (wxZipFSHandler_FindFirst(_arg0
,*_arg1
,_arg2
));
1823 wxPy_END_ALLOW_THREADS
;
1825 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1837 #define wxZipFSHandler_FindNext(_swigobj) (_swigobj->FindNext())
1838 static PyObject
*_wrap_wxZipFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1839 PyObject
* _resultobj
;
1841 wxZipFSHandler
* _arg0
;
1842 PyObject
* _argo0
= 0;
1843 char *_kwnames
[] = { "self", NULL
};
1846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxZipFSHandler_FindNext",_kwnames
,&_argo0
))
1849 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1850 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxZipFSHandler_p")) {
1851 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxZipFSHandler_FindNext. Expected _wxZipFSHandler_p.");
1856 wxPy_BEGIN_ALLOW_THREADS
;
1857 _result
= new wxString (wxZipFSHandler_FindNext(_arg0
));
1859 wxPy_END_ALLOW_THREADS
;
1861 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1869 static void *SwigwxMemoryFSHandlerTowxFileSystemHandler(void *ptr
) {
1870 wxMemoryFSHandler
*src
;
1871 wxFileSystemHandler
*dest
;
1872 src
= (wxMemoryFSHandler
*) ptr
;
1873 dest
= (wxFileSystemHandler
*) src
;
1874 return (void *) dest
;
1877 #define new_wxMemoryFSHandler() (new wxMemoryFSHandler())
1878 static PyObject
*_wrap_new_wxMemoryFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1879 PyObject
* _resultobj
;
1880 wxMemoryFSHandler
* _result
;
1881 char *_kwnames
[] = { NULL
};
1885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMemoryFSHandler",_kwnames
))
1888 wxPy_BEGIN_ALLOW_THREADS
;
1889 _result
= (wxMemoryFSHandler
*)new_wxMemoryFSHandler();
1891 wxPy_END_ALLOW_THREADS
;
1893 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMemoryFSHandler_p");
1894 _resultobj
= Py_BuildValue("s",_ptemp
);
1897 _resultobj
= Py_None
;
1902 static PyObject
*_wrap_wxMemoryFSHandler_RemoveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1903 PyObject
* _resultobj
;
1905 PyObject
* _obj0
= 0;
1906 char *_kwnames
[] = { "filename", NULL
};
1909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMemoryFSHandler_RemoveFile",_kwnames
,&_obj0
))
1912 #if PYTHON_API_VERSION >= 1009
1913 char* tmpPtr
; int tmpSize
;
1914 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1915 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1918 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1920 _arg0
= new wxString(tmpPtr
, tmpSize
);
1922 if (!PyString_Check(_obj0
)) {
1923 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1926 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1930 wxPy_BEGIN_ALLOW_THREADS
;
1931 wxMemoryFSHandler::RemoveFile(*_arg0
);
1933 wxPy_END_ALLOW_THREADS
;
1934 } Py_INCREF(Py_None
);
1935 _resultobj
= Py_None
;
1943 #define wxMemoryFSHandler_CanOpen(_swigobj,_swigarg0) (_swigobj->CanOpen(_swigarg0))
1944 static PyObject
*_wrap_wxMemoryFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1945 PyObject
* _resultobj
;
1947 wxMemoryFSHandler
* _arg0
;
1949 PyObject
* _argo0
= 0;
1950 PyObject
* _obj1
= 0;
1951 char *_kwnames
[] = { "self","location", NULL
};
1954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMemoryFSHandler_CanOpen",_kwnames
,&_argo0
,&_obj1
))
1957 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1958 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMemoryFSHandler_p")) {
1959 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryFSHandler_CanOpen. Expected _wxMemoryFSHandler_p.");
1964 #if PYTHON_API_VERSION >= 1009
1965 char* tmpPtr
; int tmpSize
;
1966 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1967 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1970 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1972 _arg1
= new wxString(tmpPtr
, tmpSize
);
1974 if (!PyString_Check(_obj1
)) {
1975 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1978 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1982 wxPy_BEGIN_ALLOW_THREADS
;
1983 _result
= (bool )wxMemoryFSHandler_CanOpen(_arg0
,*_arg1
);
1985 wxPy_END_ALLOW_THREADS
;
1986 } _resultobj
= Py_BuildValue("i",_result
);
1994 #define wxMemoryFSHandler_OpenFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->OpenFile(_swigarg0,_swigarg1))
1995 static PyObject
*_wrap_wxMemoryFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1996 PyObject
* _resultobj
;
1998 wxMemoryFSHandler
* _arg0
;
1999 wxFileSystem
* _arg1
;
2001 PyObject
* _argo0
= 0;
2002 PyObject
* _argo1
= 0;
2003 PyObject
* _obj2
= 0;
2004 char *_kwnames
[] = { "self","fs","location", NULL
};
2008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMemoryFSHandler_OpenFile",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
2011 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2012 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMemoryFSHandler_p")) {
2013 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryFSHandler_OpenFile. Expected _wxMemoryFSHandler_p.");
2018 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2019 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileSystem_p")) {
2020 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMemoryFSHandler_OpenFile. Expected _wxFileSystem_p.");
2025 #if PYTHON_API_VERSION >= 1009
2026 char* tmpPtr
; int tmpSize
;
2027 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
2028 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
2031 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
2033 _arg2
= new wxString(tmpPtr
, tmpSize
);
2035 if (!PyString_Check(_obj2
)) {
2036 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2039 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
2043 wxPy_BEGIN_ALLOW_THREADS
;
2044 _result
= (wxFSFile
*)wxMemoryFSHandler_OpenFile(_arg0
,*_arg1
,*_arg2
);
2046 wxPy_END_ALLOW_THREADS
;
2048 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFSFile_p");
2049 _resultobj
= Py_BuildValue("s",_ptemp
);
2052 _resultobj
= Py_None
;
2061 #define wxMemoryFSHandler_FindFirst(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindFirst(_swigarg0,_swigarg1))
2062 static PyObject
*_wrap_wxMemoryFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2063 PyObject
* _resultobj
;
2065 wxMemoryFSHandler
* _arg0
;
2067 int _arg2
= (int ) 0;
2068 PyObject
* _argo0
= 0;
2069 PyObject
* _obj1
= 0;
2070 char *_kwnames
[] = { "self","spec","flags", NULL
};
2073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxMemoryFSHandler_FindFirst",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
2076 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2077 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMemoryFSHandler_p")) {
2078 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryFSHandler_FindFirst. Expected _wxMemoryFSHandler_p.");
2083 #if PYTHON_API_VERSION >= 1009
2084 char* tmpPtr
; int tmpSize
;
2085 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2086 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
2089 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2091 _arg1
= new wxString(tmpPtr
, tmpSize
);
2093 if (!PyString_Check(_obj1
)) {
2094 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2097 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2101 wxPy_BEGIN_ALLOW_THREADS
;
2102 _result
= new wxString (wxMemoryFSHandler_FindFirst(_arg0
,*_arg1
,_arg2
));
2104 wxPy_END_ALLOW_THREADS
;
2106 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2118 #define wxMemoryFSHandler_FindNext(_swigobj) (_swigobj->FindNext())
2119 static PyObject
*_wrap_wxMemoryFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2120 PyObject
* _resultobj
;
2122 wxMemoryFSHandler
* _arg0
;
2123 PyObject
* _argo0
= 0;
2124 char *_kwnames
[] = { "self", NULL
};
2127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMemoryFSHandler_FindNext",_kwnames
,&_argo0
))
2130 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2131 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMemoryFSHandler_p")) {
2132 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryFSHandler_FindNext. Expected _wxMemoryFSHandler_p.");
2137 wxPy_BEGIN_ALLOW_THREADS
;
2138 _result
= new wxString (wxMemoryFSHandler_FindNext(_arg0
));
2140 wxPy_END_ALLOW_THREADS
;
2142 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2150 static PyMethodDef filesyscMethods
[] = {
2151 { "wxMemoryFSHandler_FindNext", (PyCFunction
) _wrap_wxMemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
2152 { "wxMemoryFSHandler_FindFirst", (PyCFunction
) _wrap_wxMemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
2153 { "wxMemoryFSHandler_OpenFile", (PyCFunction
) _wrap_wxMemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
2154 { "wxMemoryFSHandler_CanOpen", (PyCFunction
) _wrap_wxMemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
2155 { "wxMemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_wxMemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
},
2156 { "new_wxMemoryFSHandler", (PyCFunction
) _wrap_new_wxMemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
2157 { "wxZipFSHandler_FindNext", (PyCFunction
) _wrap_wxZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
2158 { "wxZipFSHandler_FindFirst", (PyCFunction
) _wrap_wxZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
2159 { "wxZipFSHandler_OpenFile", (PyCFunction
) _wrap_wxZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
2160 { "wxZipFSHandler_CanOpen", (PyCFunction
) _wrap_wxZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
2161 { "new_wxZipFSHandler", (PyCFunction
) _wrap_new_wxZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
2162 { "wxInternetFSHandler_OpenFile", (PyCFunction
) _wrap_wxInternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
2163 { "wxInternetFSHandler_CanOpen", (PyCFunction
) _wrap_wxInternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
2164 { "new_wxInternetFSHandler", (PyCFunction
) _wrap_new_wxInternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
2165 { "wxFileSystem_CleanUpHandlers", (PyCFunction
) _wrap_wxFileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
},
2166 { "wxFileSystem_AddHandler", (PyCFunction
) _wrap_wxFileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
2167 { "wxFileSystem_FindNext", (PyCFunction
) _wrap_wxFileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
2168 { "wxFileSystem_FindFirst", (PyCFunction
) _wrap_wxFileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
2169 { "wxFileSystem_OpenFile", (PyCFunction
) _wrap_wxFileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
2170 { "wxFileSystem_GetPath", (PyCFunction
) _wrap_wxFileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
2171 { "wxFileSystem_ChangePathTo", (PyCFunction
) _wrap_wxFileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
},
2172 { "new_wxFileSystem", (PyCFunction
) _wrap_new_wxFileSystem
, METH_VARARGS
| METH_KEYWORDS
},
2173 { "wxFileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_wxFileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
},
2174 { "wxFileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_wxFileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
},
2175 { "wxFileSystemHandler_GetAnchor", (PyCFunction
) _wrap_wxFileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
2176 { "wxFileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_wxFileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
},
2177 { "wxFileSystemHandler_GetProtocol", (PyCFunction
) _wrap_wxFileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
},
2178 { "wxFileSystemHandler_FindNext", (PyCFunction
) _wrap_wxFileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
2179 { "wxFileSystemHandler_FindFirst", (PyCFunction
) _wrap_wxFileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
2180 { "wxFileSystemHandler_OpenFile", (PyCFunction
) _wrap_wxFileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
2181 { "wxFileSystemHandler_CanOpen", (PyCFunction
) _wrap_wxFileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
2182 { "wxFileSystemHandler__setSelf", (PyCFunction
) _wrap_wxFileSystemHandler__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
2183 { "new_wxFileSystemHandler", (PyCFunction
) _wrap_new_wxFileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
},
2184 { "wxFSFile_GetModificationTime", (PyCFunction
) _wrap_wxFSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
},
2185 { "wxFSFile_GetAnchor", (PyCFunction
) _wrap_wxFSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
2186 { "wxFSFile_GetLocation", (PyCFunction
) _wrap_wxFSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
},
2187 { "wxFSFile_GetMimeType", (PyCFunction
) _wrap_wxFSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
2188 { "wxFSFile_GetStream", (PyCFunction
) _wrap_wxFSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
},
2189 { "new_wxFSFile", (PyCFunction
) _wrap_new_wxFSFile
, METH_VARARGS
| METH_KEYWORDS
},
2190 { "__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
},
2191 { "__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
2192 { "__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
},
2199 * This table is used by the pointer type-checker
2201 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
2202 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
2203 { "_signed_long","_long",0},
2204 { "_class_wxJPEGHandler","_wxJPEGHandler",0},
2205 { "_class_wxFSFile","_wxFSFile",0},
2206 { "_wxBMPHandler","_class_wxBMPHandler",0},
2207 { "_wxImage","_class_wxImage",0},
2208 { "_class_wxDateTime","_wxDateTime",0},
2209 { "_wxPrintQuality","_wxCoord",0},
2210 { "_wxPrintQuality","_int",0},
2211 { "_wxPrintQuality","_signed_int",0},
2212 { "_wxPrintQuality","_unsigned_int",0},
2213 { "_wxPrintQuality","_wxWindowID",0},
2214 { "_wxPrintQuality","_uint",0},
2215 { "_wxPrintQuality","_EBool",0},
2216 { "_wxPrintQuality","_size_t",0},
2217 { "_wxPrintQuality","_time_t",0},
2218 { "_class_wxRegionIterator","_wxRegionIterator",0},
2219 { "_wxGIFHandler","_class_wxGIFHandler",0},
2220 { "_wxInternetFSHandler","_class_wxInternetFSHandler",0},
2221 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
2222 { "_wxCursor","_class_wxCursor",0},
2223 { "_wxImageHandler","_class_wxImageHandler",0},
2224 { "_wxMask","_class_wxMask",0},
2225 { "_wxPNGHandler","_class_wxPNGHandler",0},
2226 { "_wxPen","_class_wxPen",0},
2227 { "_byte","_unsigned_char",0},
2228 { "_long","_unsigned_long",0},
2229 { "_long","_signed_long",0},
2230 { "_wxImageList","_class_wxImageList",0},
2231 { "_class_wxTIFFHandler","_wxTIFFHandler",0},
2232 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
2233 { "_wxDC","_class_wxDC",0},
2234 { "_class_wxBMPHandler","_wxBMPHandler",0},
2235 { "_size_t","_wxCoord",0},
2236 { "_size_t","_wxPrintQuality",0},
2237 { "_size_t","_time_t",0},
2238 { "_size_t","_unsigned_int",0},
2239 { "_size_t","_int",0},
2240 { "_size_t","_wxWindowID",0},
2241 { "_size_t","_uint",0},
2242 { "_class_wxRealPoint","_wxRealPoint",0},
2243 { "_wxPNMHandler","_class_wxPNMHandler",0},
2244 { "_wxPrinterDC","_class_wxPrinterDC",0},
2245 { "_class_wxGIFHandler","_wxGIFHandler",0},
2246 { "_wxFileConfig","_class_wxFileConfig",0},
2247 { "_class_wxMask","_wxMask",0},
2248 { "_class_wxPNGHandler","_wxPNGHandler",0},
2249 { "_wxColour","_class_wxColour",0},
2250 { "_wxBrush","_class_wxBrush",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 { "_wxRect","_class_wxRect",0},
2260 { "_class_wxImage","_wxImage",0},
2261 { "_wxPoint","_class_wxPoint",0},
2262 { "_class_wxPNMHandler","_wxPNMHandler",0},
2263 { "_class_wxZipFSHandler","_wxZipFSHandler",0},
2264 { "_char","_wxChar",0},
2265 { "_wxBitmap","_class_wxBitmap",0},
2266 { "_wxWindowDC","_class_wxWindowDC",0},
2267 { "_class_wxInternetFSHandler","_wxInternetFSHandler",0},
2268 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
2269 { "_wxConfig","_class_wxConfig",0},
2270 { "_class_wxFileConfig","_wxFileConfig",0},
2271 { "_class_wxMemoryFSHandler","_wxMemoryFSHandler",0},
2272 { "_EBool","_wxCoord",0},
2273 { "_EBool","_wxPrintQuality",0},
2274 { "_EBool","_signed_int",0},
2275 { "_EBool","_int",0},
2276 { "_EBool","_wxWindowID",0},
2277 { "_class_wxRegion","_wxRegion",0},
2278 { "_wxFont","_class_wxFont",0},
2279 { "_wxFSFile","_class_wxFSFile",0},
2280 { "_unsigned_long","_long",0},
2281 { "_class_wxRect","_wxRect",0},
2282 { "_class_wxDC","_wxDC",0},
2283 { "_wxPyInputStream","_class_wxPyInputStream",0},
2284 { "_wxTimeSpan","_class_wxTimeSpan",0},
2285 { "_class_wxOutputStream","_wxOutputStream",0},
2286 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
2287 { "_signed_int","_wxCoord",0},
2288 { "_signed_int","_wxPrintQuality",0},
2289 { "_signed_int","_EBool",0},
2290 { "_signed_int","_wxWindowID",0},
2291 { "_signed_int","_int",0},
2292 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
2293 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
2294 { "_wxScreenDC","_class_wxScreenDC",0},
2295 { "_WXTYPE","_wxDateTime_t",0},
2296 { "_WXTYPE","_short",0},
2297 { "_WXTYPE","_signed_short",0},
2298 { "_WXTYPE","_unsigned_short",0},
2299 { "_class_wxBrush","_wxBrush",0},
2300 { "_unsigned_short","_wxDateTime_t",0},
2301 { "_unsigned_short","_WXTYPE",0},
2302 { "_unsigned_short","_short",0},
2303 { "_wxDateSpan","_class_wxDateSpan",0},
2304 { "_class_wxFont","_wxFont",0},
2305 { "_wxBusyInfo","_class_wxBusyInfo",0},
2306 { "_wxClientDC","_class_wxClientDC",0},
2307 { "_class_wxPoint","_wxPoint",0},
2308 { "_class_wxPyInputStream","_wxPyInputStream",0},
2309 { "_wxRealPoint","_class_wxRealPoint",0},
2310 { "_signed_short","_WXTYPE",0},
2311 { "_signed_short","_short",0},
2312 { "_wxMemoryDC","_class_wxMemoryDC",0},
2313 { "_wxPyFileSystemHandler","_class_wxPyFileSystemHandler",0},
2314 { "_wxPaintDC","_class_wxPaintDC",0},
2315 { "_class_wxWindowDC","_wxWindowDC",0},
2316 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
2317 { "_class_wxCursor","_wxCursor",0},
2318 { "_class_wxImageHandler","_wxImageHandler",0},
2319 { "_unsigned_char","_byte",0},
2320 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
2321 { "_unsigned_int","_wxCoord",0},
2322 { "_unsigned_int","_wxPrintQuality",0},
2323 { "_unsigned_int","_time_t",0},
2324 { "_unsigned_int","_size_t",0},
2325 { "_unsigned_int","_uint",0},
2326 { "_unsigned_int","_wxWindowID",0},
2327 { "_unsigned_int","_int",0},
2328 { "_wxIcon","_class_wxIcon",0},
2329 { "_wxConfigBase","_class_wxConfigBase",0},
2330 { "_class_wxPen","_wxPen",0},
2331 { "_short","_wxDateTime_t",0},
2332 { "_short","_WXTYPE",0},
2333 { "_short","_unsigned_short",0},
2334 { "_short","_signed_short",0},
2335 { "_class_wxImageList","_wxImageList",0},
2336 { "_wxFileSystemHandler","_class_wxMemoryFSHandler",SwigwxMemoryFSHandlerTowxFileSystemHandler
},
2337 { "_wxFileSystemHandler","_wxMemoryFSHandler",SwigwxMemoryFSHandlerTowxFileSystemHandler
},
2338 { "_wxFileSystemHandler","_class_wxZipFSHandler",SwigwxZipFSHandlerTowxFileSystemHandler
},
2339 { "_wxFileSystemHandler","_wxZipFSHandler",SwigwxZipFSHandlerTowxFileSystemHandler
},
2340 { "_wxFileSystemHandler","_class_wxInternetFSHandler",SwigwxInternetFSHandlerTowxFileSystemHandler
},
2341 { "_wxFileSystemHandler","_wxInternetFSHandler",SwigwxInternetFSHandlerTowxFileSystemHandler
},
2342 { "_wxFileSystemHandler","_class_wxPyFileSystemHandler",SwigwxPyFileSystemHandlerTowxFileSystemHandler
},
2343 { "_wxFileSystemHandler","_wxPyFileSystemHandler",SwigwxPyFileSystemHandlerTowxFileSystemHandler
},
2344 { "_wxFileSystemHandler","_class_wxFileSystemHandler",0},
2345 { "_wxPCXHandler","_class_wxPCXHandler",0},
2346 { "_wxJPEGHandler","_class_wxJPEGHandler",0},
2347 { "_wxWindowID","_wxCoord",0},
2348 { "_wxWindowID","_wxPrintQuality",0},
2349 { "_wxWindowID","_time_t",0},
2350 { "_wxWindowID","_size_t",0},
2351 { "_wxWindowID","_EBool",0},
2352 { "_wxWindowID","_uint",0},
2353 { "_wxWindowID","_int",0},
2354 { "_wxWindowID","_signed_int",0},
2355 { "_wxWindowID","_unsigned_int",0},
2356 { "_int","_wxCoord",0},
2357 { "_int","_wxPrintQuality",0},
2358 { "_int","_time_t",0},
2359 { "_int","_size_t",0},
2360 { "_int","_EBool",0},
2361 { "_int","_uint",0},
2362 { "_int","_wxWindowID",0},
2363 { "_int","_unsigned_int",0},
2364 { "_int","_signed_int",0},
2365 { "_wxDateTime_t","_unsigned_short",0},
2366 { "_wxDateTime_t","_short",0},
2367 { "_wxDateTime_t","_WXTYPE",0},
2368 { "_wxDateTime","_class_wxDateTime",0},
2369 { "_time_t","_wxCoord",0},
2370 { "_time_t","_wxPrintQuality",0},
2371 { "_time_t","_unsigned_int",0},
2372 { "_time_t","_int",0},
2373 { "_time_t","_wxWindowID",0},
2374 { "_time_t","_uint",0},
2375 { "_time_t","_size_t",0},
2376 { "_wxZipFSHandler","_class_wxZipFSHandler",0},
2377 { "_class_wxTimeSpan","_wxTimeSpan",0},
2378 { "_wxSize","_class_wxSize",0},
2379 { "_wxRegionIterator","_class_wxRegionIterator",0},
2380 { "_class_wxPrinterDC","_wxPrinterDC",0},
2381 { "_class_wxPyFileSystemHandler","_wxPyFileSystemHandler",0},
2382 { "_class_wxPaintDC","_wxPaintDC",0},
2383 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
2384 { "_class_wxIcon","_wxIcon",0},
2385 { "_class_wxColour","_wxColour",0},
2386 { "_class_wxScreenDC","_wxScreenDC",0},
2387 { "_class_wxConfigBase","_wxConfigBase",0},
2388 { "_wxPalette","_class_wxPalette",0},
2389 { "_wxCoord","_int",0},
2390 { "_wxCoord","_signed_int",0},
2391 { "_wxCoord","_unsigned_int",0},
2392 { "_wxCoord","_wxWindowID",0},
2393 { "_wxCoord","_uint",0},
2394 { "_wxCoord","_EBool",0},
2395 { "_wxCoord","_size_t",0},
2396 { "_wxCoord","_time_t",0},
2397 { "_wxCoord","_wxPrintQuality",0},
2398 { "_wxMemoryFSHandler","_class_wxMemoryFSHandler",0},
2399 { "_class_wxDateSpan","_wxDateSpan",0},
2400 { "_wxRegion","_class_wxRegion",0},
2401 { "_wxFileSystem","_class_wxFileSystem",0},
2402 { "_class_wxPCXHandler","_wxPCXHandler",0},
2403 { "_wxTIFFHandler","_class_wxTIFFHandler",0},
2404 { "_class_wxBusyInfo","_wxBusyInfo",0},
2405 { "_class_wxClientDC","_wxClientDC",0},
2406 { "_class_wxSize","_wxSize",0},
2407 { "_class_wxBitmap","_wxBitmap",0},
2408 { "_class_wxMemoryDC","_wxMemoryDC",0},
2409 { "_wxOutputStream","_class_wxOutputStream",0},
2410 { "_class_wxConfig","_wxConfig",0},
2411 { "_class_wxPalette","_wxPalette",0},
2412 { "_class_wxFileSystemHandler","_class_wxMemoryFSHandler",SwigwxMemoryFSHandlerTowxFileSystemHandler
},
2413 { "_class_wxFileSystemHandler","_wxMemoryFSHandler",SwigwxMemoryFSHandlerTowxFileSystemHandler
},
2414 { "_class_wxFileSystemHandler","_class_wxZipFSHandler",SwigwxZipFSHandlerTowxFileSystemHandler
},
2415 { "_class_wxFileSystemHandler","_wxZipFSHandler",SwigwxZipFSHandlerTowxFileSystemHandler
},
2416 { "_class_wxFileSystemHandler","_class_wxInternetFSHandler",SwigwxInternetFSHandlerTowxFileSystemHandler
},
2417 { "_class_wxFileSystemHandler","_wxInternetFSHandler",SwigwxInternetFSHandlerTowxFileSystemHandler
},
2418 { "_class_wxFileSystemHandler","_class_wxPyFileSystemHandler",SwigwxPyFileSystemHandlerTowxFileSystemHandler
},
2419 { "_class_wxFileSystemHandler","_wxPyFileSystemHandler",SwigwxPyFileSystemHandlerTowxFileSystemHandler
},
2420 { "_class_wxFileSystemHandler","_wxFileSystemHandler",0},
2421 { "_class_wxFileSystem","_wxFileSystem",0},
2424 static PyObject
*SWIG_globals
;
2428 SWIGEXPORT(void) initfilesysc() {
2430 SWIG_globals
= SWIG_newvarlink();
2431 m
= Py_InitModule("filesysc", filesyscMethods
);
2432 d
= PyModule_GetDict(m
);
2435 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
2436 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);