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 #if PYTHON_API_VERSION >= 1009
111 static char* wxStringErrorMsg
= "String or Unicode type required";
113 static char* wxStringErrorMsg
= "string type is required for parameter";
116 // wxPyFileSystemHandler will be the Python class wxFileSystemHandler and handling
117 // the callback functions
118 class wxPyFileSystemHandler
: public wxFileSystemHandler
{
120 wxPyFileSystemHandler() : wxFileSystemHandler() {}
122 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen
);
123 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile
);
124 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst
);
125 DEC_PYCALLBACK_STRING__pure(FindNext
);
127 wxString
GetProtocol(const wxString
& location
) {
128 return wxFileSystemHandler::GetProtocol(location
);
131 wxString
GetLeftLocation(const wxString
& location
) {
132 return wxFileSystemHandler::GetLeftLocation(location
);
135 wxString
GetAnchor(const wxString
& location
) {
136 return wxFileSystemHandler::GetAnchor(location
);
139 wxString
GetRightLocation(const wxString
& location
) {
140 return wxFileSystemHandler::GetRightLocation(location
);
143 wxString
GetMimeTypeFromExt(const wxString
& location
){
144 return wxFileSystemHandler::GetMimeTypeFromExt(location
);
151 IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, CanOpen
);
152 IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, OpenFile
);
153 IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindFirst
);
154 IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindNext
);
156 void __wxMemoryFSHandler_AddFile_wxImage(const wxString
& filename
,
159 wxMemoryFSHandler::AddFile(filename
, image
, type
);
162 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString
& filename
,
163 const wxBitmap
& bitmap
,
165 wxMemoryFSHandler::AddFile(filename
, bitmap
, type
);
168 // void __wxMemoryFSHandler_AddFile_wxString(const wxString& filename,
169 // const wxString& textdata) {
170 // wxMemoryFSHandler::AddFile(filename, textdata);
173 void __wxMemoryFSHandler_AddFile_Data(const wxString
& filename
,
176 wxMemoryFSHandler::AddFile(filename
,
177 (void*)PyString_AsString(data
),
178 (size_t)PyString_Size(data
));
183 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
184 PyObject
* _resultobj
;
188 PyObject
* _obj0
= 0;
189 PyObject
* _argo1
= 0;
190 char *_kwnames
[] = { "filename","image","type", NULL
};
193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOl:__wxMemoryFSHandler_AddFile_wxImage",_kwnames
,&_obj0
,&_argo1
,&_arg2
))
196 #if PYTHON_API_VERSION >= 1009
197 char* tmpPtr
; int tmpSize
;
198 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
199 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
202 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
204 _arg0
= new wxString(tmpPtr
, tmpSize
);
206 if (!PyString_Check(_obj0
)) {
207 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
210 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
214 if (_argo1
== Py_None
) { _arg1
= NULL
; }
215 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImage_p")) {
216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of __wxMemoryFSHandler_AddFile_wxImage. Expected _wxImage_p.");
221 wxPy_BEGIN_ALLOW_THREADS
;
222 __wxMemoryFSHandler_AddFile_wxImage(*_arg0
,*_arg1
,_arg2
);
224 wxPy_END_ALLOW_THREADS
;
225 } Py_INCREF(Py_None
);
226 _resultobj
= Py_None
;
234 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
235 PyObject
* _resultobj
;
239 PyObject
* _obj0
= 0;
240 PyObject
* _argo1
= 0;
241 char *_kwnames
[] = { "filename","bitmap","type", NULL
};
244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOl:__wxMemoryFSHandler_AddFile_wxBitmap",_kwnames
,&_obj0
,&_argo1
,&_arg2
))
247 #if PYTHON_API_VERSION >= 1009
248 char* tmpPtr
; int tmpSize
;
249 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
250 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
253 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
255 _arg0
= new wxString(tmpPtr
, tmpSize
);
257 if (!PyString_Check(_obj0
)) {
258 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
261 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
265 if (_argo1
== Py_None
) { _arg1
= NULL
; }
266 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of __wxMemoryFSHandler_AddFile_wxBitmap. Expected _wxBitmap_p.");
272 wxPy_BEGIN_ALLOW_THREADS
;
273 __wxMemoryFSHandler_AddFile_wxBitmap(*_arg0
,*_arg1
,_arg2
);
275 wxPy_END_ALLOW_THREADS
;
276 } Py_INCREF(Py_None
);
277 _resultobj
= Py_None
;
285 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
286 PyObject
* _resultobj
;
289 PyObject
* _obj0
= 0;
290 PyObject
* _obj1
= 0;
291 char *_kwnames
[] = { "filename","data", NULL
};
294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:__wxMemoryFSHandler_AddFile_Data",_kwnames
,&_obj0
,&_obj1
))
297 #if PYTHON_API_VERSION >= 1009
298 char* tmpPtr
; int tmpSize
;
299 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
300 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
303 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
305 _arg0
= new wxString(tmpPtr
, tmpSize
);
307 if (!PyString_Check(_obj0
)) {
308 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
311 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
318 wxPy_BEGIN_ALLOW_THREADS
;
319 __wxMemoryFSHandler_AddFile_Data(*_arg0
,_arg1
);
321 wxPy_END_ALLOW_THREADS
;
322 } Py_INCREF(Py_None
);
323 _resultobj
= Py_None
;
331 #define new_wxFSFile(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxFSFile(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
332 static PyObject
*_wrap_new_wxFSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
333 PyObject
* _resultobj
;
335 wxInputStream
* _arg0
;
340 PyObject
* _obj0
= 0;
341 PyObject
* _obj1
= 0;
342 PyObject
* _obj2
= 0;
343 PyObject
* _obj3
= 0;
344 PyObject
* _argo4
= 0;
345 char *_kwnames
[] = { "stream","loc","mimetype","anchor","modif", NULL
};
349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOOO:new_wxFSFile",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_obj3
,&_argo4
))
352 if (PyInstance_Check(_obj0
)) {
353 wxPyInputStream
* ptr
;
354 if (SWIG_GetPtrObj(_obj0
, (void **) &ptr
,"_wxPyInputStream_p")) {
355 PyErr_SetString(PyExc_TypeError
,"Expected _wxInputStream_p.");
360 PyErr_SetString(PyExc_TypeError
,"Expected _wxInputStream_p.");
365 #if PYTHON_API_VERSION >= 1009
366 char* tmpPtr
; int tmpSize
;
367 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
368 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
371 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
373 _arg1
= new wxString(tmpPtr
, tmpSize
);
375 if (!PyString_Check(_obj1
)) {
376 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
379 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
383 #if PYTHON_API_VERSION >= 1009
384 char* tmpPtr
; int tmpSize
;
385 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
386 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
389 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
391 _arg2
= new wxString(tmpPtr
, tmpSize
);
393 if (!PyString_Check(_obj2
)) {
394 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
397 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
401 #if PYTHON_API_VERSION >= 1009
402 char* tmpPtr
; int tmpSize
;
403 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
404 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
407 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
409 _arg3
= new wxString(tmpPtr
, tmpSize
);
411 if (!PyString_Check(_obj3
)) {
412 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
415 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
419 if (_argo4
== Py_None
) { _arg4
= NULL
; }
420 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxDateTime_p")) {
421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of new_wxFSFile. Expected _wxDateTime_p.");
426 wxPy_BEGIN_ALLOW_THREADS
;
427 _result
= (wxFSFile
*)new_wxFSFile(_arg0
,*_arg1
,*_arg2
,*_arg3
,*_arg4
);
429 wxPy_END_ALLOW_THREADS
;
431 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFSFile_p");
432 _resultobj
= Py_BuildValue("s",_ptemp
);
435 _resultobj
= Py_None
;
452 #define wxFSFile_GetStream(_swigobj) (_swigobj->GetStream())
453 static PyObject
*_wrap_wxFSFile_GetStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
454 PyObject
* _resultobj
;
455 wxInputStream
* _result
;
457 PyObject
* _argo0
= 0;
458 char *_kwnames
[] = { "self", NULL
};
461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFSFile_GetStream",_kwnames
,&_argo0
))
464 if (_argo0
== Py_None
) { _arg0
= NULL
; }
465 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFSFile_p")) {
466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFSFile_GetStream. Expected _wxFSFile_p.");
471 wxPy_BEGIN_ALLOW_THREADS
;
472 _result
= (wxInputStream
*)wxFSFile_GetStream(_arg0
);
474 wxPy_END_ALLOW_THREADS
;
476 wxPyInputStream
* _ptr
= NULL
;
479 _ptr
= new wxPyInputStream(_result
);
483 SWIG_MakePtr(swigptr
, _ptr
, "_wxPyInputStream_p");
485 PyObject
* classobj
= PyDict_GetItemString(wxPython_dict
, "wxInputStreamPtr");
488 _resultobj
= Py_None
;
490 PyObject
* arg
= Py_BuildValue("(s)", swigptr
);
491 _resultobj
= PyInstance_New(classobj
, arg
, NULL
);
495 PyObject
* one
= PyInt_FromLong(1);
496 PyObject_SetAttrString(_resultobj
, "thisown", one
);
501 _resultobj
= Py_None
;
507 #define wxFSFile_GetMimeType(_swigobj) (_swigobj->GetMimeType())
508 static PyObject
*_wrap_wxFSFile_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
509 PyObject
* _resultobj
;
512 PyObject
* _argo0
= 0;
513 char *_kwnames
[] = { "self", NULL
};
516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFSFile_GetMimeType",_kwnames
,&_argo0
))
519 if (_argo0
== Py_None
) { _arg0
= NULL
; }
520 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFSFile_p")) {
521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFSFile_GetMimeType. Expected _wxFSFile_p.");
526 wxPy_BEGIN_ALLOW_THREADS
;
527 const wxString
& _result_ref
= wxFSFile_GetMimeType(_arg0
);
528 _result
= (wxString
*) &_result_ref
;
530 wxPy_END_ALLOW_THREADS
;
532 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
537 #define wxFSFile_GetLocation(_swigobj) (_swigobj->GetLocation())
538 static PyObject
*_wrap_wxFSFile_GetLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
539 PyObject
* _resultobj
;
542 PyObject
* _argo0
= 0;
543 char *_kwnames
[] = { "self", NULL
};
546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFSFile_GetLocation",_kwnames
,&_argo0
))
549 if (_argo0
== Py_None
) { _arg0
= NULL
; }
550 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFSFile_p")) {
551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFSFile_GetLocation. Expected _wxFSFile_p.");
556 wxPy_BEGIN_ALLOW_THREADS
;
557 const wxString
& _result_ref
= wxFSFile_GetLocation(_arg0
);
558 _result
= (wxString
*) &_result_ref
;
560 wxPy_END_ALLOW_THREADS
;
562 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
567 #define wxFSFile_GetAnchor(_swigobj) (_swigobj->GetAnchor())
568 static PyObject
*_wrap_wxFSFile_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
569 PyObject
* _resultobj
;
572 PyObject
* _argo0
= 0;
573 char *_kwnames
[] = { "self", NULL
};
576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFSFile_GetAnchor",_kwnames
,&_argo0
))
579 if (_argo0
== Py_None
) { _arg0
= NULL
; }
580 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFSFile_p")) {
581 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFSFile_GetAnchor. Expected _wxFSFile_p.");
586 wxPy_BEGIN_ALLOW_THREADS
;
587 const wxString
& _result_ref
= wxFSFile_GetAnchor(_arg0
);
588 _result
= (wxString
*) &_result_ref
;
590 wxPy_END_ALLOW_THREADS
;
592 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
597 #define wxFSFile_GetModificationTime(_swigobj) (_swigobj->GetModificationTime())
598 static PyObject
*_wrap_wxFSFile_GetModificationTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
599 PyObject
* _resultobj
;
600 wxDateTime
* _result
;
602 PyObject
* _argo0
= 0;
603 char *_kwnames
[] = { "self", NULL
};
607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFSFile_GetModificationTime",_kwnames
,&_argo0
))
610 if (_argo0
== Py_None
) { _arg0
= NULL
; }
611 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFSFile_p")) {
612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFSFile_GetModificationTime. Expected _wxFSFile_p.");
617 wxPy_BEGIN_ALLOW_THREADS
;
618 _result
= new wxDateTime (wxFSFile_GetModificationTime(_arg0
));
620 wxPy_END_ALLOW_THREADS
;
621 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
622 _resultobj
= Py_BuildValue("s",_ptemp
);
626 static void *SwigwxPyFileSystemHandlerTowxFileSystemHandler(void *ptr
) {
627 wxPyFileSystemHandler
*src
;
628 wxFileSystemHandler
*dest
;
629 src
= (wxPyFileSystemHandler
*) ptr
;
630 dest
= (wxFileSystemHandler
*) src
;
631 return (void *) dest
;
634 #define new_wxFileSystemHandler() (new wxPyFileSystemHandler())
635 static PyObject
*_wrap_new_wxFileSystemHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
636 PyObject
* _resultobj
;
637 wxPyFileSystemHandler
* _result
;
638 char *_kwnames
[] = { NULL
};
642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFileSystemHandler",_kwnames
))
645 wxPy_BEGIN_ALLOW_THREADS
;
646 _result
= (wxPyFileSystemHandler
*)new_wxFileSystemHandler();
648 wxPy_END_ALLOW_THREADS
;
650 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyFileSystemHandler_p");
651 _resultobj
= Py_BuildValue("s",_ptemp
);
654 _resultobj
= Py_None
;
659 #define wxFileSystemHandler__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
660 static PyObject
*_wrap_wxFileSystemHandler__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
661 PyObject
* _resultobj
;
662 wxPyFileSystemHandler
* _arg0
;
665 PyObject
* _argo0
= 0;
666 PyObject
* _obj1
= 0;
667 PyObject
* _obj2
= 0;
668 char *_kwnames
[] = { "self","self","_class", NULL
};
671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxFileSystemHandler__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
674 if (_argo0
== Py_None
) { _arg0
= NULL
; }
675 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileSystemHandler_p")) {
676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystemHandler__setSelf. Expected _wxPyFileSystemHandler_p.");
687 wxPy_BEGIN_ALLOW_THREADS
;
688 wxFileSystemHandler__setSelf(_arg0
,_arg1
,_arg2
);
690 wxPy_END_ALLOW_THREADS
;
691 } Py_INCREF(Py_None
);
692 _resultobj
= Py_None
;
696 #define wxFileSystemHandler_CanOpen(_swigobj,_swigarg0) (_swigobj->CanOpen(_swigarg0))
697 static PyObject
*_wrap_wxFileSystemHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
698 PyObject
* _resultobj
;
700 wxPyFileSystemHandler
* _arg0
;
702 PyObject
* _argo0
= 0;
703 PyObject
* _obj1
= 0;
704 char *_kwnames
[] = { "self","location", NULL
};
707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileSystemHandler_CanOpen",_kwnames
,&_argo0
,&_obj1
))
710 if (_argo0
== Py_None
) { _arg0
= NULL
; }
711 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileSystemHandler_p")) {
712 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystemHandler_CanOpen. Expected _wxPyFileSystemHandler_p.");
717 #if PYTHON_API_VERSION >= 1009
718 char* tmpPtr
; int tmpSize
;
719 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
720 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
723 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
725 _arg1
= new wxString(tmpPtr
, tmpSize
);
727 if (!PyString_Check(_obj1
)) {
728 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
731 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
735 wxPy_BEGIN_ALLOW_THREADS
;
736 _result
= (bool )wxFileSystemHandler_CanOpen(_arg0
,*_arg1
);
738 wxPy_END_ALLOW_THREADS
;
739 } _resultobj
= Py_BuildValue("i",_result
);
747 #define wxFileSystemHandler_OpenFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->OpenFile(_swigarg0,_swigarg1))
748 static PyObject
*_wrap_wxFileSystemHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
749 PyObject
* _resultobj
;
751 wxPyFileSystemHandler
* _arg0
;
752 wxFileSystem
* _arg1
;
754 PyObject
* _argo0
= 0;
755 PyObject
* _argo1
= 0;
756 PyObject
* _obj2
= 0;
757 char *_kwnames
[] = { "self","fs","location", NULL
};
761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxFileSystemHandler_OpenFile",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
764 if (_argo0
== Py_None
) { _arg0
= NULL
; }
765 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileSystemHandler_p")) {
766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystemHandler_OpenFile. Expected _wxPyFileSystemHandler_p.");
771 if (_argo1
== Py_None
) { _arg1
= NULL
; }
772 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileSystem_p")) {
773 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileSystemHandler_OpenFile. Expected _wxFileSystem_p.");
778 #if PYTHON_API_VERSION >= 1009
779 char* tmpPtr
; int tmpSize
;
780 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
781 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
784 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
786 _arg2
= new wxString(tmpPtr
, tmpSize
);
788 if (!PyString_Check(_obj2
)) {
789 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
792 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
796 wxPy_BEGIN_ALLOW_THREADS
;
797 _result
= (wxFSFile
*)wxFileSystemHandler_OpenFile(_arg0
,*_arg1
,*_arg2
);
799 wxPy_END_ALLOW_THREADS
;
801 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFSFile_p");
802 _resultobj
= Py_BuildValue("s",_ptemp
);
805 _resultobj
= Py_None
;
814 #define wxFileSystemHandler_FindFirst(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindFirst(_swigarg0,_swigarg1))
815 static PyObject
*_wrap_wxFileSystemHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
816 PyObject
* _resultobj
;
818 wxPyFileSystemHandler
* _arg0
;
820 int _arg2
= (int ) 0;
821 PyObject
* _argo0
= 0;
822 PyObject
* _obj1
= 0;
823 char *_kwnames
[] = { "self","spec","flags", NULL
};
826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxFileSystemHandler_FindFirst",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
829 if (_argo0
== Py_None
) { _arg0
= NULL
; }
830 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileSystemHandler_p")) {
831 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystemHandler_FindFirst. Expected _wxPyFileSystemHandler_p.");
836 #if PYTHON_API_VERSION >= 1009
837 char* tmpPtr
; int tmpSize
;
838 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
839 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
842 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
844 _arg1
= new wxString(tmpPtr
, tmpSize
);
846 if (!PyString_Check(_obj1
)) {
847 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
850 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
854 wxPy_BEGIN_ALLOW_THREADS
;
855 _result
= new wxString (wxFileSystemHandler_FindFirst(_arg0
,*_arg1
,_arg2
));
857 wxPy_END_ALLOW_THREADS
;
859 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
871 #define wxFileSystemHandler_FindNext(_swigobj) (_swigobj->FindNext())
872 static PyObject
*_wrap_wxFileSystemHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
873 PyObject
* _resultobj
;
875 wxPyFileSystemHandler
* _arg0
;
876 PyObject
* _argo0
= 0;
877 char *_kwnames
[] = { "self", NULL
};
880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileSystemHandler_FindNext",_kwnames
,&_argo0
))
883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileSystemHandler_p")) {
885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystemHandler_FindNext. Expected _wxPyFileSystemHandler_p.");
890 wxPy_BEGIN_ALLOW_THREADS
;
891 _result
= new wxString (wxFileSystemHandler_FindNext(_arg0
));
893 wxPy_END_ALLOW_THREADS
;
895 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
903 #define wxFileSystemHandler_GetProtocol(_swigobj,_swigarg0) (_swigobj->GetProtocol(_swigarg0))
904 static PyObject
*_wrap_wxFileSystemHandler_GetProtocol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
905 PyObject
* _resultobj
;
907 wxPyFileSystemHandler
* _arg0
;
909 PyObject
* _argo0
= 0;
910 PyObject
* _obj1
= 0;
911 char *_kwnames
[] = { "self","location", NULL
};
914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileSystemHandler_GetProtocol",_kwnames
,&_argo0
,&_obj1
))
917 if (_argo0
== Py_None
) { _arg0
= NULL
; }
918 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileSystemHandler_p")) {
919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystemHandler_GetProtocol. Expected _wxPyFileSystemHandler_p.");
924 #if PYTHON_API_VERSION >= 1009
925 char* tmpPtr
; int tmpSize
;
926 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
927 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
930 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
932 _arg1
= new wxString(tmpPtr
, tmpSize
);
934 if (!PyString_Check(_obj1
)) {
935 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
938 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
942 wxPy_BEGIN_ALLOW_THREADS
;
943 _result
= new wxString (wxFileSystemHandler_GetProtocol(_arg0
,*_arg1
));
945 wxPy_END_ALLOW_THREADS
;
947 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
959 #define wxFileSystemHandler_GetLeftLocation(_swigobj,_swigarg0) (_swigobj->GetLeftLocation(_swigarg0))
960 static PyObject
*_wrap_wxFileSystemHandler_GetLeftLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
961 PyObject
* _resultobj
;
963 wxPyFileSystemHandler
* _arg0
;
965 PyObject
* _argo0
= 0;
966 PyObject
* _obj1
= 0;
967 char *_kwnames
[] = { "self","location", NULL
};
970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileSystemHandler_GetLeftLocation",_kwnames
,&_argo0
,&_obj1
))
973 if (_argo0
== Py_None
) { _arg0
= NULL
; }
974 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileSystemHandler_p")) {
975 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystemHandler_GetLeftLocation. Expected _wxPyFileSystemHandler_p.");
980 #if PYTHON_API_VERSION >= 1009
981 char* tmpPtr
; int tmpSize
;
982 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
983 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
986 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
988 _arg1
= new wxString(tmpPtr
, tmpSize
);
990 if (!PyString_Check(_obj1
)) {
991 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
994 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
998 wxPy_BEGIN_ALLOW_THREADS
;
999 _result
= new wxString (wxFileSystemHandler_GetLeftLocation(_arg0
,*_arg1
));
1001 wxPy_END_ALLOW_THREADS
;
1003 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1015 #define wxFileSystemHandler_GetAnchor(_swigobj,_swigarg0) (_swigobj->GetAnchor(_swigarg0))
1016 static PyObject
*_wrap_wxFileSystemHandler_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1017 PyObject
* _resultobj
;
1019 wxPyFileSystemHandler
* _arg0
;
1021 PyObject
* _argo0
= 0;
1022 PyObject
* _obj1
= 0;
1023 char *_kwnames
[] = { "self","location", NULL
};
1026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileSystemHandler_GetAnchor",_kwnames
,&_argo0
,&_obj1
))
1029 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1030 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileSystemHandler_p")) {
1031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystemHandler_GetAnchor. Expected _wxPyFileSystemHandler_p.");
1036 #if PYTHON_API_VERSION >= 1009
1037 char* tmpPtr
; int tmpSize
;
1038 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1039 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1042 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1044 _arg1
= new wxString(tmpPtr
, tmpSize
);
1046 if (!PyString_Check(_obj1
)) {
1047 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1050 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1054 wxPy_BEGIN_ALLOW_THREADS
;
1055 _result
= new wxString (wxFileSystemHandler_GetAnchor(_arg0
,*_arg1
));
1057 wxPy_END_ALLOW_THREADS
;
1059 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1071 #define wxFileSystemHandler_GetRightLocation(_swigobj,_swigarg0) (_swigobj->GetRightLocation(_swigarg0))
1072 static PyObject
*_wrap_wxFileSystemHandler_GetRightLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1073 PyObject
* _resultobj
;
1075 wxPyFileSystemHandler
* _arg0
;
1077 PyObject
* _argo0
= 0;
1078 PyObject
* _obj1
= 0;
1079 char *_kwnames
[] = { "self","location", NULL
};
1082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileSystemHandler_GetRightLocation",_kwnames
,&_argo0
,&_obj1
))
1085 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1086 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileSystemHandler_p")) {
1087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystemHandler_GetRightLocation. Expected _wxPyFileSystemHandler_p.");
1092 #if PYTHON_API_VERSION >= 1009
1093 char* tmpPtr
; int tmpSize
;
1094 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1095 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1098 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1100 _arg1
= new wxString(tmpPtr
, tmpSize
);
1102 if (!PyString_Check(_obj1
)) {
1103 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1106 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1110 wxPy_BEGIN_ALLOW_THREADS
;
1111 _result
= new wxString (wxFileSystemHandler_GetRightLocation(_arg0
,*_arg1
));
1113 wxPy_END_ALLOW_THREADS
;
1115 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1127 #define wxFileSystemHandler_GetMimeTypeFromExt(_swigobj,_swigarg0) (_swigobj->GetMimeTypeFromExt(_swigarg0))
1128 static PyObject
*_wrap_wxFileSystemHandler_GetMimeTypeFromExt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1129 PyObject
* _resultobj
;
1131 wxPyFileSystemHandler
* _arg0
;
1133 PyObject
* _argo0
= 0;
1134 PyObject
* _obj1
= 0;
1135 char *_kwnames
[] = { "self","location", NULL
};
1138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileSystemHandler_GetMimeTypeFromExt",_kwnames
,&_argo0
,&_obj1
))
1141 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1142 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileSystemHandler_p")) {
1143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystemHandler_GetMimeTypeFromExt. Expected _wxPyFileSystemHandler_p.");
1148 #if PYTHON_API_VERSION >= 1009
1149 char* tmpPtr
; int tmpSize
;
1150 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1151 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1154 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1156 _arg1
= new wxString(tmpPtr
, tmpSize
);
1158 if (!PyString_Check(_obj1
)) {
1159 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1162 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1166 wxPy_BEGIN_ALLOW_THREADS
;
1167 _result
= new wxString (wxFileSystemHandler_GetMimeTypeFromExt(_arg0
,*_arg1
));
1169 wxPy_END_ALLOW_THREADS
;
1171 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1183 #define new_wxFileSystem() (new wxFileSystem())
1184 static PyObject
*_wrap_new_wxFileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1185 PyObject
* _resultobj
;
1186 wxFileSystem
* _result
;
1187 char *_kwnames
[] = { NULL
};
1191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFileSystem",_kwnames
))
1194 wxPy_BEGIN_ALLOW_THREADS
;
1195 _result
= (wxFileSystem
*)new_wxFileSystem();
1197 wxPy_END_ALLOW_THREADS
;
1199 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileSystem_p");
1200 _resultobj
= Py_BuildValue("s",_ptemp
);
1203 _resultobj
= Py_None
;
1208 #define wxFileSystem_ChangePathTo(_swigobj,_swigarg0,_swigarg1) (_swigobj->ChangePathTo(_swigarg0,_swigarg1))
1209 static PyObject
*_wrap_wxFileSystem_ChangePathTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1210 PyObject
* _resultobj
;
1211 wxFileSystem
* _arg0
;
1213 bool _arg2
= (bool ) FALSE
;
1214 PyObject
* _argo0
= 0;
1215 PyObject
* _obj1
= 0;
1216 int tempbool2
= (int) FALSE
;
1217 char *_kwnames
[] = { "self","location","is_dir", NULL
};
1220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxFileSystem_ChangePathTo",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
1223 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1224 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileSystem_p")) {
1225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystem_ChangePathTo. Expected _wxFileSystem_p.");
1230 #if PYTHON_API_VERSION >= 1009
1231 char* tmpPtr
; int tmpSize
;
1232 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1233 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1236 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1238 _arg1
= new wxString(tmpPtr
, tmpSize
);
1240 if (!PyString_Check(_obj1
)) {
1241 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1244 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1247 _arg2
= (bool ) tempbool2
;
1249 wxPy_BEGIN_ALLOW_THREADS
;
1250 wxFileSystem_ChangePathTo(_arg0
,*_arg1
,_arg2
);
1252 wxPy_END_ALLOW_THREADS
;
1253 } Py_INCREF(Py_None
);
1254 _resultobj
= Py_None
;
1262 #define wxFileSystem_GetPath(_swigobj) (_swigobj->GetPath())
1263 static PyObject
*_wrap_wxFileSystem_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1264 PyObject
* _resultobj
;
1266 wxFileSystem
* _arg0
;
1267 PyObject
* _argo0
= 0;
1268 char *_kwnames
[] = { "self", NULL
};
1271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileSystem_GetPath",_kwnames
,&_argo0
))
1274 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1275 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileSystem_p")) {
1276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystem_GetPath. Expected _wxFileSystem_p.");
1281 wxPy_BEGIN_ALLOW_THREADS
;
1282 _result
= new wxString (wxFileSystem_GetPath(_arg0
));
1284 wxPy_END_ALLOW_THREADS
;
1286 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1294 #define wxFileSystem_OpenFile(_swigobj,_swigarg0) (_swigobj->OpenFile(_swigarg0))
1295 static PyObject
*_wrap_wxFileSystem_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1296 PyObject
* _resultobj
;
1298 wxFileSystem
* _arg0
;
1300 PyObject
* _argo0
= 0;
1301 PyObject
* _obj1
= 0;
1302 char *_kwnames
[] = { "self","location", NULL
};
1306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileSystem_OpenFile",_kwnames
,&_argo0
,&_obj1
))
1309 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1310 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileSystem_p")) {
1311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystem_OpenFile. Expected _wxFileSystem_p.");
1316 #if PYTHON_API_VERSION >= 1009
1317 char* tmpPtr
; int tmpSize
;
1318 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1319 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1322 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1324 _arg1
= new wxString(tmpPtr
, tmpSize
);
1326 if (!PyString_Check(_obj1
)) {
1327 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1330 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1334 wxPy_BEGIN_ALLOW_THREADS
;
1335 _result
= (wxFSFile
*)wxFileSystem_OpenFile(_arg0
,*_arg1
);
1337 wxPy_END_ALLOW_THREADS
;
1339 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFSFile_p");
1340 _resultobj
= Py_BuildValue("s",_ptemp
);
1343 _resultobj
= Py_None
;
1352 #define wxFileSystem_FindFirst(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindFirst(_swigarg0,_swigarg1))
1353 static PyObject
*_wrap_wxFileSystem_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1354 PyObject
* _resultobj
;
1356 wxFileSystem
* _arg0
;
1358 int _arg2
= (int ) 0;
1359 PyObject
* _argo0
= 0;
1360 PyObject
* _obj1
= 0;
1361 char *_kwnames
[] = { "self","spec","flags", NULL
};
1364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxFileSystem_FindFirst",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1367 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1368 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileSystem_p")) {
1369 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystem_FindFirst. Expected _wxFileSystem_p.");
1374 #if PYTHON_API_VERSION >= 1009
1375 char* tmpPtr
; int tmpSize
;
1376 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1377 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1380 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1382 _arg1
= new wxString(tmpPtr
, tmpSize
);
1384 if (!PyString_Check(_obj1
)) {
1385 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1388 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1392 wxPy_BEGIN_ALLOW_THREADS
;
1393 _result
= new wxString (wxFileSystem_FindFirst(_arg0
,*_arg1
,_arg2
));
1395 wxPy_END_ALLOW_THREADS
;
1397 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1409 #define wxFileSystem_FindNext(_swigobj) (_swigobj->FindNext())
1410 static PyObject
*_wrap_wxFileSystem_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1411 PyObject
* _resultobj
;
1413 wxFileSystem
* _arg0
;
1414 PyObject
* _argo0
= 0;
1415 char *_kwnames
[] = { "self", NULL
};
1418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileSystem_FindNext",_kwnames
,&_argo0
))
1421 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1422 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileSystem_p")) {
1423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystem_FindNext. Expected _wxFileSystem_p.");
1428 wxPy_BEGIN_ALLOW_THREADS
;
1429 _result
= new wxString (wxFileSystem_FindNext(_arg0
));
1431 wxPy_END_ALLOW_THREADS
;
1433 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1441 static PyObject
*_wrap_wxFileSystem_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1442 PyObject
* _resultobj
;
1443 wxFileSystemHandler
* _arg0
;
1444 PyObject
* _argo0
= 0;
1445 char *_kwnames
[] = { "handler", NULL
};
1448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileSystem_AddHandler",_kwnames
,&_argo0
))
1451 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1452 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileSystemHandler_p")) {
1453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystem_AddHandler. Expected _wxFileSystemHandler_p.");
1458 wxPy_BEGIN_ALLOW_THREADS
;
1459 wxFileSystem::AddHandler(_arg0
);
1461 wxPy_END_ALLOW_THREADS
;
1462 } Py_INCREF(Py_None
);
1463 _resultobj
= Py_None
;
1467 static PyObject
*_wrap_wxFileSystem_CleanUpHandlers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1468 PyObject
* _resultobj
;
1469 char *_kwnames
[] = { NULL
};
1472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxFileSystem_CleanUpHandlers",_kwnames
))
1475 wxPy_BEGIN_ALLOW_THREADS
;
1476 wxFileSystem::CleanUpHandlers();
1478 wxPy_END_ALLOW_THREADS
;
1479 } Py_INCREF(Py_None
);
1480 _resultobj
= Py_None
;
1484 static void *SwigwxInternetFSHandlerTowxFileSystemHandler(void *ptr
) {
1485 wxInternetFSHandler
*src
;
1486 wxFileSystemHandler
*dest
;
1487 src
= (wxInternetFSHandler
*) ptr
;
1488 dest
= (wxFileSystemHandler
*) src
;
1489 return (void *) dest
;
1492 #define new_wxInternetFSHandler() (new wxInternetFSHandler())
1493 static PyObject
*_wrap_new_wxInternetFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1494 PyObject
* _resultobj
;
1495 wxInternetFSHandler
* _result
;
1496 char *_kwnames
[] = { NULL
};
1500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxInternetFSHandler",_kwnames
))
1503 wxPy_BEGIN_ALLOW_THREADS
;
1504 _result
= (wxInternetFSHandler
*)new_wxInternetFSHandler();
1506 wxPy_END_ALLOW_THREADS
;
1508 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxInternetFSHandler_p");
1509 _resultobj
= Py_BuildValue("s",_ptemp
);
1512 _resultobj
= Py_None
;
1517 #define wxInternetFSHandler_CanOpen(_swigobj,_swigarg0) (_swigobj->CanOpen(_swigarg0))
1518 static PyObject
*_wrap_wxInternetFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1519 PyObject
* _resultobj
;
1521 wxInternetFSHandler
* _arg0
;
1523 PyObject
* _argo0
= 0;
1524 PyObject
* _obj1
= 0;
1525 char *_kwnames
[] = { "self","location", NULL
};
1528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxInternetFSHandler_CanOpen",_kwnames
,&_argo0
,&_obj1
))
1531 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1532 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxInternetFSHandler_p")) {
1533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxInternetFSHandler_CanOpen. Expected _wxInternetFSHandler_p.");
1538 #if PYTHON_API_VERSION >= 1009
1539 char* tmpPtr
; int tmpSize
;
1540 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1541 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1544 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1546 _arg1
= new wxString(tmpPtr
, tmpSize
);
1548 if (!PyString_Check(_obj1
)) {
1549 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1552 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1556 wxPy_BEGIN_ALLOW_THREADS
;
1557 _result
= (bool )wxInternetFSHandler_CanOpen(_arg0
,*_arg1
);
1559 wxPy_END_ALLOW_THREADS
;
1560 } _resultobj
= Py_BuildValue("i",_result
);
1568 #define wxInternetFSHandler_OpenFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->OpenFile(_swigarg0,_swigarg1))
1569 static PyObject
*_wrap_wxInternetFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1570 PyObject
* _resultobj
;
1572 wxInternetFSHandler
* _arg0
;
1573 wxFileSystem
* _arg1
;
1575 PyObject
* _argo0
= 0;
1576 PyObject
* _argo1
= 0;
1577 PyObject
* _obj2
= 0;
1578 char *_kwnames
[] = { "self","fs","location", NULL
};
1582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxInternetFSHandler_OpenFile",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
1585 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1586 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxInternetFSHandler_p")) {
1587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxInternetFSHandler_OpenFile. Expected _wxInternetFSHandler_p.");
1592 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1593 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileSystem_p")) {
1594 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxInternetFSHandler_OpenFile. Expected _wxFileSystem_p.");
1599 #if PYTHON_API_VERSION >= 1009
1600 char* tmpPtr
; int tmpSize
;
1601 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1602 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1605 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1607 _arg2
= new wxString(tmpPtr
, tmpSize
);
1609 if (!PyString_Check(_obj2
)) {
1610 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1613 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1617 wxPy_BEGIN_ALLOW_THREADS
;
1618 _result
= (wxFSFile
*)wxInternetFSHandler_OpenFile(_arg0
,*_arg1
,*_arg2
);
1620 wxPy_END_ALLOW_THREADS
;
1622 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFSFile_p");
1623 _resultobj
= Py_BuildValue("s",_ptemp
);
1626 _resultobj
= Py_None
;
1635 static void *SwigwxZipFSHandlerTowxFileSystemHandler(void *ptr
) {
1636 wxZipFSHandler
*src
;
1637 wxFileSystemHandler
*dest
;
1638 src
= (wxZipFSHandler
*) ptr
;
1639 dest
= (wxFileSystemHandler
*) src
;
1640 return (void *) dest
;
1643 #define new_wxZipFSHandler() (new wxZipFSHandler())
1644 static PyObject
*_wrap_new_wxZipFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1645 PyObject
* _resultobj
;
1646 wxZipFSHandler
* _result
;
1647 char *_kwnames
[] = { NULL
};
1651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxZipFSHandler",_kwnames
))
1654 wxPy_BEGIN_ALLOW_THREADS
;
1655 _result
= (wxZipFSHandler
*)new_wxZipFSHandler();
1657 wxPy_END_ALLOW_THREADS
;
1659 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxZipFSHandler_p");
1660 _resultobj
= Py_BuildValue("s",_ptemp
);
1663 _resultobj
= Py_None
;
1668 #define wxZipFSHandler_CanOpen(_swigobj,_swigarg0) (_swigobj->CanOpen(_swigarg0))
1669 static PyObject
*_wrap_wxZipFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1670 PyObject
* _resultobj
;
1672 wxZipFSHandler
* _arg0
;
1674 PyObject
* _argo0
= 0;
1675 PyObject
* _obj1
= 0;
1676 char *_kwnames
[] = { "self","location", NULL
};
1679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxZipFSHandler_CanOpen",_kwnames
,&_argo0
,&_obj1
))
1682 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1683 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxZipFSHandler_p")) {
1684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxZipFSHandler_CanOpen. Expected _wxZipFSHandler_p.");
1689 #if PYTHON_API_VERSION >= 1009
1690 char* tmpPtr
; int tmpSize
;
1691 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1692 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1695 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1697 _arg1
= new wxString(tmpPtr
, tmpSize
);
1699 if (!PyString_Check(_obj1
)) {
1700 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1703 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1707 wxPy_BEGIN_ALLOW_THREADS
;
1708 _result
= (bool )wxZipFSHandler_CanOpen(_arg0
,*_arg1
);
1710 wxPy_END_ALLOW_THREADS
;
1711 } _resultobj
= Py_BuildValue("i",_result
);
1719 #define wxZipFSHandler_OpenFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->OpenFile(_swigarg0,_swigarg1))
1720 static PyObject
*_wrap_wxZipFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1721 PyObject
* _resultobj
;
1723 wxZipFSHandler
* _arg0
;
1724 wxFileSystem
* _arg1
;
1726 PyObject
* _argo0
= 0;
1727 PyObject
* _argo1
= 0;
1728 PyObject
* _obj2
= 0;
1729 char *_kwnames
[] = { "self","fs","location", NULL
};
1733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxZipFSHandler_OpenFile",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
1736 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1737 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxZipFSHandler_p")) {
1738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxZipFSHandler_OpenFile. Expected _wxZipFSHandler_p.");
1743 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1744 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileSystem_p")) {
1745 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxZipFSHandler_OpenFile. Expected _wxFileSystem_p.");
1750 #if PYTHON_API_VERSION >= 1009
1751 char* tmpPtr
; int tmpSize
;
1752 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1753 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1756 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1758 _arg2
= new wxString(tmpPtr
, tmpSize
);
1760 if (!PyString_Check(_obj2
)) {
1761 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1764 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1768 wxPy_BEGIN_ALLOW_THREADS
;
1769 _result
= (wxFSFile
*)wxZipFSHandler_OpenFile(_arg0
,*_arg1
,*_arg2
);
1771 wxPy_END_ALLOW_THREADS
;
1773 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFSFile_p");
1774 _resultobj
= Py_BuildValue("s",_ptemp
);
1777 _resultobj
= Py_None
;
1786 #define wxZipFSHandler_FindFirst(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindFirst(_swigarg0,_swigarg1))
1787 static PyObject
*_wrap_wxZipFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1788 PyObject
* _resultobj
;
1790 wxZipFSHandler
* _arg0
;
1792 int _arg2
= (int ) 0;
1793 PyObject
* _argo0
= 0;
1794 PyObject
* _obj1
= 0;
1795 char *_kwnames
[] = { "self","spec","flags", NULL
};
1798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxZipFSHandler_FindFirst",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1801 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1802 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxZipFSHandler_p")) {
1803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxZipFSHandler_FindFirst. Expected _wxZipFSHandler_p.");
1808 #if PYTHON_API_VERSION >= 1009
1809 char* tmpPtr
; int tmpSize
;
1810 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1811 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1814 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1816 _arg1
= new wxString(tmpPtr
, tmpSize
);
1818 if (!PyString_Check(_obj1
)) {
1819 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1822 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1826 wxPy_BEGIN_ALLOW_THREADS
;
1827 _result
= new wxString (wxZipFSHandler_FindFirst(_arg0
,*_arg1
,_arg2
));
1829 wxPy_END_ALLOW_THREADS
;
1831 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1843 #define wxZipFSHandler_FindNext(_swigobj) (_swigobj->FindNext())
1844 static PyObject
*_wrap_wxZipFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1845 PyObject
* _resultobj
;
1847 wxZipFSHandler
* _arg0
;
1848 PyObject
* _argo0
= 0;
1849 char *_kwnames
[] = { "self", NULL
};
1852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxZipFSHandler_FindNext",_kwnames
,&_argo0
))
1855 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1856 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxZipFSHandler_p")) {
1857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxZipFSHandler_FindNext. Expected _wxZipFSHandler_p.");
1862 wxPy_BEGIN_ALLOW_THREADS
;
1863 _result
= new wxString (wxZipFSHandler_FindNext(_arg0
));
1865 wxPy_END_ALLOW_THREADS
;
1867 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1875 static void *SwigwxMemoryFSHandlerTowxFileSystemHandler(void *ptr
) {
1876 wxMemoryFSHandler
*src
;
1877 wxFileSystemHandler
*dest
;
1878 src
= (wxMemoryFSHandler
*) ptr
;
1879 dest
= (wxFileSystemHandler
*) src
;
1880 return (void *) dest
;
1883 #define new_wxMemoryFSHandler() (new wxMemoryFSHandler())
1884 static PyObject
*_wrap_new_wxMemoryFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1885 PyObject
* _resultobj
;
1886 wxMemoryFSHandler
* _result
;
1887 char *_kwnames
[] = { NULL
};
1891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMemoryFSHandler",_kwnames
))
1894 wxPy_BEGIN_ALLOW_THREADS
;
1895 _result
= (wxMemoryFSHandler
*)new_wxMemoryFSHandler();
1897 wxPy_END_ALLOW_THREADS
;
1899 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMemoryFSHandler_p");
1900 _resultobj
= Py_BuildValue("s",_ptemp
);
1903 _resultobj
= Py_None
;
1908 static PyObject
*_wrap_wxMemoryFSHandler_RemoveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1909 PyObject
* _resultobj
;
1911 PyObject
* _obj0
= 0;
1912 char *_kwnames
[] = { "filename", NULL
};
1915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMemoryFSHandler_RemoveFile",_kwnames
,&_obj0
))
1918 #if PYTHON_API_VERSION >= 1009
1919 char* tmpPtr
; int tmpSize
;
1920 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1921 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1924 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1926 _arg0
= new wxString(tmpPtr
, tmpSize
);
1928 if (!PyString_Check(_obj0
)) {
1929 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1932 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1936 wxPy_BEGIN_ALLOW_THREADS
;
1937 wxMemoryFSHandler::RemoveFile(*_arg0
);
1939 wxPy_END_ALLOW_THREADS
;
1940 } Py_INCREF(Py_None
);
1941 _resultobj
= Py_None
;
1949 #define wxMemoryFSHandler_CanOpen(_swigobj,_swigarg0) (_swigobj->CanOpen(_swigarg0))
1950 static PyObject
*_wrap_wxMemoryFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1951 PyObject
* _resultobj
;
1953 wxMemoryFSHandler
* _arg0
;
1955 PyObject
* _argo0
= 0;
1956 PyObject
* _obj1
= 0;
1957 char *_kwnames
[] = { "self","location", NULL
};
1960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMemoryFSHandler_CanOpen",_kwnames
,&_argo0
,&_obj1
))
1963 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1964 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMemoryFSHandler_p")) {
1965 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryFSHandler_CanOpen. Expected _wxMemoryFSHandler_p.");
1970 #if PYTHON_API_VERSION >= 1009
1971 char* tmpPtr
; int tmpSize
;
1972 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1973 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1976 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1978 _arg1
= new wxString(tmpPtr
, tmpSize
);
1980 if (!PyString_Check(_obj1
)) {
1981 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1984 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1988 wxPy_BEGIN_ALLOW_THREADS
;
1989 _result
= (bool )wxMemoryFSHandler_CanOpen(_arg0
,*_arg1
);
1991 wxPy_END_ALLOW_THREADS
;
1992 } _resultobj
= Py_BuildValue("i",_result
);
2000 #define wxMemoryFSHandler_OpenFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->OpenFile(_swigarg0,_swigarg1))
2001 static PyObject
*_wrap_wxMemoryFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2002 PyObject
* _resultobj
;
2004 wxMemoryFSHandler
* _arg0
;
2005 wxFileSystem
* _arg1
;
2007 PyObject
* _argo0
= 0;
2008 PyObject
* _argo1
= 0;
2009 PyObject
* _obj2
= 0;
2010 char *_kwnames
[] = { "self","fs","location", NULL
};
2014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMemoryFSHandler_OpenFile",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
2017 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2018 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMemoryFSHandler_p")) {
2019 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryFSHandler_OpenFile. Expected _wxMemoryFSHandler_p.");
2024 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2025 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileSystem_p")) {
2026 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMemoryFSHandler_OpenFile. Expected _wxFileSystem_p.");
2031 #if PYTHON_API_VERSION >= 1009
2032 char* tmpPtr
; int tmpSize
;
2033 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
2034 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2037 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
2039 _arg2
= new wxString(tmpPtr
, tmpSize
);
2041 if (!PyString_Check(_obj2
)) {
2042 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2045 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
2049 wxPy_BEGIN_ALLOW_THREADS
;
2050 _result
= (wxFSFile
*)wxMemoryFSHandler_OpenFile(_arg0
,*_arg1
,*_arg2
);
2052 wxPy_END_ALLOW_THREADS
;
2054 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFSFile_p");
2055 _resultobj
= Py_BuildValue("s",_ptemp
);
2058 _resultobj
= Py_None
;
2067 #define wxMemoryFSHandler_FindFirst(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindFirst(_swigarg0,_swigarg1))
2068 static PyObject
*_wrap_wxMemoryFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2069 PyObject
* _resultobj
;
2071 wxMemoryFSHandler
* _arg0
;
2073 int _arg2
= (int ) 0;
2074 PyObject
* _argo0
= 0;
2075 PyObject
* _obj1
= 0;
2076 char *_kwnames
[] = { "self","spec","flags", NULL
};
2079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxMemoryFSHandler_FindFirst",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
2082 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2083 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMemoryFSHandler_p")) {
2084 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryFSHandler_FindFirst. Expected _wxMemoryFSHandler_p.");
2089 #if PYTHON_API_VERSION >= 1009
2090 char* tmpPtr
; int tmpSize
;
2091 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2092 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2095 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2097 _arg1
= new wxString(tmpPtr
, tmpSize
);
2099 if (!PyString_Check(_obj1
)) {
2100 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2103 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2107 wxPy_BEGIN_ALLOW_THREADS
;
2108 _result
= new wxString (wxMemoryFSHandler_FindFirst(_arg0
,*_arg1
,_arg2
));
2110 wxPy_END_ALLOW_THREADS
;
2112 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2124 #define wxMemoryFSHandler_FindNext(_swigobj) (_swigobj->FindNext())
2125 static PyObject
*_wrap_wxMemoryFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2126 PyObject
* _resultobj
;
2128 wxMemoryFSHandler
* _arg0
;
2129 PyObject
* _argo0
= 0;
2130 char *_kwnames
[] = { "self", NULL
};
2133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMemoryFSHandler_FindNext",_kwnames
,&_argo0
))
2136 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2137 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMemoryFSHandler_p")) {
2138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryFSHandler_FindNext. Expected _wxMemoryFSHandler_p.");
2143 wxPy_BEGIN_ALLOW_THREADS
;
2144 _result
= new wxString (wxMemoryFSHandler_FindNext(_arg0
));
2146 wxPy_END_ALLOW_THREADS
;
2148 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2156 static PyMethodDef filesyscMethods
[] = {
2157 { "wxMemoryFSHandler_FindNext", (PyCFunction
) _wrap_wxMemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
2158 { "wxMemoryFSHandler_FindFirst", (PyCFunction
) _wrap_wxMemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
2159 { "wxMemoryFSHandler_OpenFile", (PyCFunction
) _wrap_wxMemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
2160 { "wxMemoryFSHandler_CanOpen", (PyCFunction
) _wrap_wxMemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
2161 { "wxMemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_wxMemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
},
2162 { "new_wxMemoryFSHandler", (PyCFunction
) _wrap_new_wxMemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
2163 { "wxZipFSHandler_FindNext", (PyCFunction
) _wrap_wxZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
2164 { "wxZipFSHandler_FindFirst", (PyCFunction
) _wrap_wxZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
2165 { "wxZipFSHandler_OpenFile", (PyCFunction
) _wrap_wxZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
2166 { "wxZipFSHandler_CanOpen", (PyCFunction
) _wrap_wxZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
2167 { "new_wxZipFSHandler", (PyCFunction
) _wrap_new_wxZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
2168 { "wxInternetFSHandler_OpenFile", (PyCFunction
) _wrap_wxInternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
2169 { "wxInternetFSHandler_CanOpen", (PyCFunction
) _wrap_wxInternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
2170 { "new_wxInternetFSHandler", (PyCFunction
) _wrap_new_wxInternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
2171 { "wxFileSystem_CleanUpHandlers", (PyCFunction
) _wrap_wxFileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
},
2172 { "wxFileSystem_AddHandler", (PyCFunction
) _wrap_wxFileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
2173 { "wxFileSystem_FindNext", (PyCFunction
) _wrap_wxFileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
2174 { "wxFileSystem_FindFirst", (PyCFunction
) _wrap_wxFileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
2175 { "wxFileSystem_OpenFile", (PyCFunction
) _wrap_wxFileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
2176 { "wxFileSystem_GetPath", (PyCFunction
) _wrap_wxFileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
2177 { "wxFileSystem_ChangePathTo", (PyCFunction
) _wrap_wxFileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
},
2178 { "new_wxFileSystem", (PyCFunction
) _wrap_new_wxFileSystem
, METH_VARARGS
| METH_KEYWORDS
},
2179 { "wxFileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_wxFileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
},
2180 { "wxFileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_wxFileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
},
2181 { "wxFileSystemHandler_GetAnchor", (PyCFunction
) _wrap_wxFileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
2182 { "wxFileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_wxFileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
},
2183 { "wxFileSystemHandler_GetProtocol", (PyCFunction
) _wrap_wxFileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
},
2184 { "wxFileSystemHandler_FindNext", (PyCFunction
) _wrap_wxFileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
2185 { "wxFileSystemHandler_FindFirst", (PyCFunction
) _wrap_wxFileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
2186 { "wxFileSystemHandler_OpenFile", (PyCFunction
) _wrap_wxFileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
2187 { "wxFileSystemHandler_CanOpen", (PyCFunction
) _wrap_wxFileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
2188 { "wxFileSystemHandler__setSelf", (PyCFunction
) _wrap_wxFileSystemHandler__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
2189 { "new_wxFileSystemHandler", (PyCFunction
) _wrap_new_wxFileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
},
2190 { "wxFSFile_GetModificationTime", (PyCFunction
) _wrap_wxFSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
},
2191 { "wxFSFile_GetAnchor", (PyCFunction
) _wrap_wxFSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
2192 { "wxFSFile_GetLocation", (PyCFunction
) _wrap_wxFSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
},
2193 { "wxFSFile_GetMimeType", (PyCFunction
) _wrap_wxFSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
2194 { "wxFSFile_GetStream", (PyCFunction
) _wrap_wxFSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
},
2195 { "new_wxFSFile", (PyCFunction
) _wrap_new_wxFSFile
, METH_VARARGS
| METH_KEYWORDS
},
2196 { "__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
},
2197 { "__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
2198 { "__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
},
2205 * This table is used by the pointer type-checker
2207 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
2208 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
2209 { "_signed_long","_long",0},
2210 { "_class_wxJPEGHandler","_wxJPEGHandler",0},
2211 { "_class_wxFSFile","_wxFSFile",0},
2212 { "_wxBMPHandler","_class_wxBMPHandler",0},
2213 { "_wxImage","_class_wxImage",0},
2214 { "_class_wxDateTime","_wxDateTime",0},
2215 { "_wxPrintQuality","_wxCoord",0},
2216 { "_wxPrintQuality","_int",0},
2217 { "_wxPrintQuality","_signed_int",0},
2218 { "_wxPrintQuality","_unsigned_int",0},
2219 { "_wxPrintQuality","_wxWindowID",0},
2220 { "_wxPrintQuality","_uint",0},
2221 { "_wxPrintQuality","_EBool",0},
2222 { "_wxPrintQuality","_size_t",0},
2223 { "_wxPrintQuality","_time_t",0},
2224 { "_class_wxRegionIterator","_wxRegionIterator",0},
2225 { "_wxGIFHandler","_class_wxGIFHandler",0},
2226 { "_wxInternetFSHandler","_class_wxInternetFSHandler",0},
2227 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
2228 { "_wxCursor","_class_wxCursor",0},
2229 { "_wxImageHandler","_class_wxImageHandler",0},
2230 { "_wxMask","_class_wxMask",0},
2231 { "_wxPNGHandler","_class_wxPNGHandler",0},
2232 { "_wxPen","_class_wxPen",0},
2233 { "_byte","_unsigned_char",0},
2234 { "_wxColourDatabase","_class_wxColourDatabase",0},
2235 { "_long","_unsigned_long",0},
2236 { "_long","_signed_long",0},
2237 { "_wxImageList","_class_wxImageList",0},
2238 { "_class_wxTIFFHandler","_wxTIFFHandler",0},
2239 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
2240 { "_wxDC","_class_wxDC",0},
2241 { "_class_wxBMPHandler","_wxBMPHandler",0},
2242 { "_size_t","_wxCoord",0},
2243 { "_size_t","_wxPrintQuality",0},
2244 { "_size_t","_time_t",0},
2245 { "_size_t","_unsigned_int",0},
2246 { "_size_t","_int",0},
2247 { "_size_t","_wxWindowID",0},
2248 { "_size_t","_uint",0},
2249 { "_class_wxRealPoint","_wxRealPoint",0},
2250 { "_wxPNMHandler","_class_wxPNMHandler",0},
2251 { "_class_wxGIFHandler","_wxGIFHandler",0},
2252 { "_wxFileConfig","_class_wxFileConfig",0},
2253 { "_class_wxMask","_wxMask",0},
2254 { "_class_wxPNGHandler","_wxPNGHandler",0},
2255 { "_wxColour","_class_wxColour",0},
2256 { "_wxBrush","_class_wxBrush",0},
2257 { "_uint","_wxCoord",0},
2258 { "_uint","_wxPrintQuality",0},
2259 { "_uint","_time_t",0},
2260 { "_uint","_size_t",0},
2261 { "_uint","_unsigned_int",0},
2262 { "_uint","_int",0},
2263 { "_uint","_wxWindowID",0},
2264 { "_wxChar","_char",0},
2265 { "_wxRect","_class_wxRect",0},
2266 { "_class_wxImage","_wxImage",0},
2267 { "_wxPoint","_class_wxPoint",0},
2268 { "_class_wxPNMHandler","_wxPNMHandler",0},
2269 { "_class_wxZipFSHandler","_wxZipFSHandler",0},
2270 { "_char","_wxChar",0},
2271 { "_wxBitmap","_class_wxBitmap",0},
2272 { "_wxPenList","_class_wxPenList",0},
2273 { "_wxWindowDC","_class_wxWindowDC",0},
2274 { "_class_wxInternetFSHandler","_wxInternetFSHandler",0},
2275 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
2276 { "_wxConfig","_class_wxConfig",0},
2277 { "_class_wxFileConfig","_wxFileConfig",0},
2278 { "_class_wxColourDatabase","_wxColourDatabase",0},
2279 { "_class_wxMemoryFSHandler","_wxMemoryFSHandler",0},
2280 { "_EBool","_wxCoord",0},
2281 { "_EBool","_wxPrintQuality",0},
2282 { "_EBool","_signed_int",0},
2283 { "_EBool","_int",0},
2284 { "_EBool","_wxWindowID",0},
2285 { "_class_wxRegion","_wxRegion",0},
2286 { "_wxFont","_class_wxFont",0},
2287 { "_wxFSFile","_class_wxFSFile",0},
2288 { "_unsigned_long","_long",0},
2289 { "_class_wxRect","_wxRect",0},
2290 { "_class_wxDC","_wxDC",0},
2291 { "_class_wxBrushList","_wxBrushList",0},
2292 { "_wxPyInputStream","_class_wxPyInputStream",0},
2293 { "_wxTimeSpan","_class_wxTimeSpan",0},
2294 { "_class_wxPenList","_wxPenList",0},
2295 { "_class_wxOutputStream","_wxOutputStream",0},
2296 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
2297 { "_signed_int","_wxCoord",0},
2298 { "_signed_int","_wxPrintQuality",0},
2299 { "_signed_int","_EBool",0},
2300 { "_signed_int","_wxWindowID",0},
2301 { "_signed_int","_int",0},
2302 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
2303 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
2304 { "_wxScreenDC","_class_wxScreenDC",0},
2305 { "_WXTYPE","_wxDateTime_t",0},
2306 { "_WXTYPE","_short",0},
2307 { "_WXTYPE","_signed_short",0},
2308 { "_WXTYPE","_unsigned_short",0},
2309 { "_class_wxBrush","_wxBrush",0},
2310 { "_unsigned_short","_wxDateTime_t",0},
2311 { "_unsigned_short","_WXTYPE",0},
2312 { "_unsigned_short","_short",0},
2313 { "_wxDateSpan","_class_wxDateSpan",0},
2314 { "_class_wxFont","_wxFont",0},
2315 { "_wxBusyInfo","_class_wxBusyInfo",0},
2316 { "_wxFontList","_class_wxFontList",0},
2317 { "_wxClientDC","_class_wxClientDC",0},
2318 { "_class_wxPoint","_wxPoint",0},
2319 { "_class_wxPyInputStream","_wxPyInputStream",0},
2320 { "_wxRealPoint","_class_wxRealPoint",0},
2321 { "_signed_short","_WXTYPE",0},
2322 { "_signed_short","_short",0},
2323 { "_wxMemoryDC","_class_wxMemoryDC",0},
2324 { "_wxPyFileSystemHandler","_class_wxPyFileSystemHandler",0},
2325 { "_wxPaintDC","_class_wxPaintDC",0},
2326 { "_class_wxWindowDC","_wxWindowDC",0},
2327 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
2328 { "_class_wxCursor","_wxCursor",0},
2329 { "_class_wxImageHandler","_wxImageHandler",0},
2330 { "_unsigned_char","_byte",0},
2331 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
2332 { "_unsigned_int","_wxCoord",0},
2333 { "_unsigned_int","_wxPrintQuality",0},
2334 { "_unsigned_int","_time_t",0},
2335 { "_unsigned_int","_size_t",0},
2336 { "_unsigned_int","_uint",0},
2337 { "_unsigned_int","_wxWindowID",0},
2338 { "_unsigned_int","_int",0},
2339 { "_wxIcon","_class_wxIcon",0},
2340 { "_wxConfigBase","_class_wxConfigBase",0},
2341 { "_class_wxPen","_wxPen",0},
2342 { "_short","_wxDateTime_t",0},
2343 { "_short","_WXTYPE",0},
2344 { "_short","_unsigned_short",0},
2345 { "_short","_signed_short",0},
2346 { "_class_wxImageList","_wxImageList",0},
2347 { "_wxFileSystemHandler","_class_wxMemoryFSHandler",SwigwxMemoryFSHandlerTowxFileSystemHandler
},
2348 { "_wxFileSystemHandler","_wxMemoryFSHandler",SwigwxMemoryFSHandlerTowxFileSystemHandler
},
2349 { "_wxFileSystemHandler","_class_wxZipFSHandler",SwigwxZipFSHandlerTowxFileSystemHandler
},
2350 { "_wxFileSystemHandler","_wxZipFSHandler",SwigwxZipFSHandlerTowxFileSystemHandler
},
2351 { "_wxFileSystemHandler","_class_wxInternetFSHandler",SwigwxInternetFSHandlerTowxFileSystemHandler
},
2352 { "_wxFileSystemHandler","_wxInternetFSHandler",SwigwxInternetFSHandlerTowxFileSystemHandler
},
2353 { "_wxFileSystemHandler","_class_wxPyFileSystemHandler",SwigwxPyFileSystemHandlerTowxFileSystemHandler
},
2354 { "_wxFileSystemHandler","_wxPyFileSystemHandler",SwigwxPyFileSystemHandlerTowxFileSystemHandler
},
2355 { "_wxFileSystemHandler","_class_wxFileSystemHandler",0},
2356 { "_wxPCXHandler","_class_wxPCXHandler",0},
2357 { "_wxJPEGHandler","_class_wxJPEGHandler",0},
2358 { "_wxWindowID","_wxCoord",0},
2359 { "_wxWindowID","_wxPrintQuality",0},
2360 { "_wxWindowID","_time_t",0},
2361 { "_wxWindowID","_size_t",0},
2362 { "_wxWindowID","_EBool",0},
2363 { "_wxWindowID","_uint",0},
2364 { "_wxWindowID","_int",0},
2365 { "_wxWindowID","_signed_int",0},
2366 { "_wxWindowID","_unsigned_int",0},
2367 { "_int","_wxCoord",0},
2368 { "_int","_wxPrintQuality",0},
2369 { "_int","_time_t",0},
2370 { "_int","_size_t",0},
2371 { "_int","_EBool",0},
2372 { "_int","_uint",0},
2373 { "_int","_wxWindowID",0},
2374 { "_int","_unsigned_int",0},
2375 { "_int","_signed_int",0},
2376 { "_wxDateTime_t","_unsigned_short",0},
2377 { "_wxDateTime_t","_short",0},
2378 { "_wxDateTime_t","_WXTYPE",0},
2379 { "_wxDateTime","_class_wxDateTime",0},
2380 { "_time_t","_wxCoord",0},
2381 { "_time_t","_wxPrintQuality",0},
2382 { "_time_t","_unsigned_int",0},
2383 { "_time_t","_int",0},
2384 { "_time_t","_wxWindowID",0},
2385 { "_time_t","_uint",0},
2386 { "_time_t","_size_t",0},
2387 { "_wxZipFSHandler","_class_wxZipFSHandler",0},
2388 { "_class_wxTimeSpan","_wxTimeSpan",0},
2389 { "_wxSize","_class_wxSize",0},
2390 { "_wxRegionIterator","_class_wxRegionIterator",0},
2391 { "_class_wxPyFileSystemHandler","_wxPyFileSystemHandler",0},
2392 { "_class_wxPaintDC","_wxPaintDC",0},
2393 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
2394 { "_class_wxIcon","_wxIcon",0},
2395 { "_class_wxColour","_wxColour",0},
2396 { "_class_wxScreenDC","_wxScreenDC",0},
2397 { "_class_wxConfigBase","_wxConfigBase",0},
2398 { "_wxPalette","_class_wxPalette",0},
2399 { "_wxCoord","_int",0},
2400 { "_wxCoord","_signed_int",0},
2401 { "_wxCoord","_unsigned_int",0},
2402 { "_wxCoord","_wxWindowID",0},
2403 { "_wxCoord","_uint",0},
2404 { "_wxCoord","_EBool",0},
2405 { "_wxCoord","_size_t",0},
2406 { "_wxCoord","_time_t",0},
2407 { "_wxCoord","_wxPrintQuality",0},
2408 { "_wxMemoryFSHandler","_class_wxMemoryFSHandler",0},
2409 { "_class_wxDateSpan","_wxDateSpan",0},
2410 { "_wxRegion","_class_wxRegion",0},
2411 { "_wxFileSystem","_class_wxFileSystem",0},
2412 { "_class_wxPCXHandler","_wxPCXHandler",0},
2413 { "_wxTIFFHandler","_class_wxTIFFHandler",0},
2414 { "_class_wxBusyInfo","_wxBusyInfo",0},
2415 { "_class_wxFontList","_wxFontList",0},
2416 { "_class_wxClientDC","_wxClientDC",0},
2417 { "_wxBrushList","_class_wxBrushList",0},
2418 { "_class_wxSize","_wxSize",0},
2419 { "_class_wxBitmap","_wxBitmap",0},
2420 { "_class_wxMemoryDC","_wxMemoryDC",0},
2421 { "_wxOutputStream","_class_wxOutputStream",0},
2422 { "_class_wxConfig","_wxConfig",0},
2423 { "_class_wxPalette","_wxPalette",0},
2424 { "_class_wxFileSystemHandler","_class_wxMemoryFSHandler",SwigwxMemoryFSHandlerTowxFileSystemHandler
},
2425 { "_class_wxFileSystemHandler","_wxMemoryFSHandler",SwigwxMemoryFSHandlerTowxFileSystemHandler
},
2426 { "_class_wxFileSystemHandler","_class_wxZipFSHandler",SwigwxZipFSHandlerTowxFileSystemHandler
},
2427 { "_class_wxFileSystemHandler","_wxZipFSHandler",SwigwxZipFSHandlerTowxFileSystemHandler
},
2428 { "_class_wxFileSystemHandler","_class_wxInternetFSHandler",SwigwxInternetFSHandlerTowxFileSystemHandler
},
2429 { "_class_wxFileSystemHandler","_wxInternetFSHandler",SwigwxInternetFSHandlerTowxFileSystemHandler
},
2430 { "_class_wxFileSystemHandler","_class_wxPyFileSystemHandler",SwigwxPyFileSystemHandlerTowxFileSystemHandler
},
2431 { "_class_wxFileSystemHandler","_wxPyFileSystemHandler",SwigwxPyFileSystemHandlerTowxFileSystemHandler
},
2432 { "_class_wxFileSystemHandler","_wxFileSystemHandler",0},
2433 { "_class_wxFileSystem","_wxFileSystem",0},
2436 static PyObject
*SWIG_globals
;
2440 SWIGEXPORT(void) initfilesysc() {
2442 SWIG_globals
= SWIG_newvarlink();
2443 m
= Py_InitModule("filesysc", filesyscMethods
);
2444 d
= PyModule_GetDict(m
);
2447 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
2448 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);