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 810)
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
44 extern void SWIG_MakePtr(char *, void *, char *);
45 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
46 extern char *SWIG_GetPtr(char *, void **, char *);
47 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
48 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
49 extern PyObject
*SWIG_newvarlink(void);
53 #define SWIG_init initfilesysc
55 #define SWIG_name "filesysc"
58 #include <wx/filesys.h>
59 #include <wx/fs_inet.h>
60 #include <wx/fs_mem.h>
61 #include <wx/fs_zip.h>
63 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
67 } else if (target
== Py_None
) {
71 if (!PyList_Check(target
)) {
73 target
= PyList_New(0);
74 PyList_Append(target
, o2
);
77 PyList_Append(target
,o
);
83 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
89 } else if (target
== Py_None
) {
93 if (!PyTuple_Check(target
)) {
95 target
= PyTuple_New(1);
96 PyTuple_SetItem(target
, 0, o2
);
99 PyTuple_SetItem(o3
, 0, o
);
102 target
= PySequence_Concat(o2
, o3
);
109 static char* wxStringErrorMsg
= "string type is required for parameter";
111 // wxPyFileSystemHandler will be the Python class wxFileSystemHandler and handling
112 // the callback functions
113 class wxPyFileSystemHandler
: public wxFileSystemHandler
{
115 wxPyFileSystemHandler() : wxFileSystemHandler() {}
117 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen
);
118 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile
);
119 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst
);
120 DEC_PYCALLBACK_STRING__pure(FindNext
);
122 wxString
GetProtocol(const wxString
& location
) {
123 return wxFileSystemHandler::GetProtocol(location
);
126 wxString
GetLeftLocation(const wxString
& location
) {
127 return wxFileSystemHandler::GetLeftLocation(location
);
130 wxString
GetAnchor(const wxString
& location
) {
131 return wxFileSystemHandler::GetAnchor(location
);
134 wxString
GetRightLocation(const wxString
& location
) {
135 return wxFileSystemHandler::GetRightLocation(location
);
138 wxString
GetMimeTypeFromExt(const wxString
& location
){
139 return wxFileSystemHandler::GetMimeTypeFromExt(location
);
146 IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, CanOpen
);
147 IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, OpenFile
);
148 IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindFirst
);
149 IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindNext
);
151 void __wxMemoryFSHandler_AddFile_wxImage(const wxString
& filename
,
154 wxMemoryFSHandler::AddFile(filename
, image
, type
);
157 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString
& filename
,
158 const wxBitmap
& bitmap
,
160 wxMemoryFSHandler::AddFile(filename
, bitmap
, type
);
163 // void __wxMemoryFSHandler_AddFile_wxString(const wxString& filename,
164 // const wxString& textdata) {
165 // wxMemoryFSHandler::AddFile(filename, textdata);
168 void __wxMemoryFSHandler_AddFile_Data(const wxString
& filename
,
171 wxMemoryFSHandler::AddFile(filename
,
172 (void*)PyString_AsString(data
),
173 (size_t)PyString_Size(data
));
178 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
179 PyObject
* _resultobj
;
183 PyObject
* _obj0
= 0;
184 PyObject
* _argo1
= 0;
185 char *_kwnames
[] = { "filename","image","type", NULL
};
188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOl:__wxMemoryFSHandler_AddFile_wxImage",_kwnames
,&_obj0
,&_argo1
,&_arg2
))
191 if (!PyString_Check(_obj0
)) {
192 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
195 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
198 if (_argo1
== Py_None
) { _arg1
= NULL
; }
199 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImage_p")) {
200 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of __wxMemoryFSHandler_AddFile_wxImage. Expected _wxImage_p.");
205 wxPy_BEGIN_ALLOW_THREADS
;
206 __wxMemoryFSHandler_AddFile_wxImage(*_arg0
,*_arg1
,_arg2
);
208 wxPy_END_ALLOW_THREADS
;
209 } Py_INCREF(Py_None
);
210 _resultobj
= Py_None
;
218 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
219 PyObject
* _resultobj
;
223 PyObject
* _obj0
= 0;
224 PyObject
* _argo1
= 0;
225 char *_kwnames
[] = { "filename","bitmap","type", NULL
};
228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOl:__wxMemoryFSHandler_AddFile_wxBitmap",_kwnames
,&_obj0
,&_argo1
,&_arg2
))
231 if (!PyString_Check(_obj0
)) {
232 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
235 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
238 if (_argo1
== Py_None
) { _arg1
= NULL
; }
239 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of __wxMemoryFSHandler_AddFile_wxBitmap. Expected _wxBitmap_p.");
245 wxPy_BEGIN_ALLOW_THREADS
;
246 __wxMemoryFSHandler_AddFile_wxBitmap(*_arg0
,*_arg1
,_arg2
);
248 wxPy_END_ALLOW_THREADS
;
249 } Py_INCREF(Py_None
);
250 _resultobj
= Py_None
;
258 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
259 PyObject
* _resultobj
;
262 PyObject
* _obj0
= 0;
263 PyObject
* _obj1
= 0;
264 char *_kwnames
[] = { "filename","data", NULL
};
267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:__wxMemoryFSHandler_AddFile_Data",_kwnames
,&_obj0
,&_obj1
))
270 if (!PyString_Check(_obj0
)) {
271 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
274 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
280 wxPy_BEGIN_ALLOW_THREADS
;
281 __wxMemoryFSHandler_AddFile_Data(*_arg0
,_arg1
);
283 wxPy_END_ALLOW_THREADS
;
284 } Py_INCREF(Py_None
);
285 _resultobj
= Py_None
;
293 #define new_wxFSFile(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxFSFile(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
294 static PyObject
*_wrap_new_wxFSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
295 PyObject
* _resultobj
;
297 wxInputStream
* _arg0
;
302 PyObject
* _obj0
= 0;
303 PyObject
* _obj1
= 0;
304 PyObject
* _obj2
= 0;
305 PyObject
* _obj3
= 0;
306 PyObject
* _argo4
= 0;
307 char *_kwnames
[] = { "stream","loc","mimetype","anchor","modif", NULL
};
311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOOO:new_wxFSFile",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_obj3
,&_argo4
))
314 if (PyInstance_Check(_obj0
)) {
315 wxPyInputStream
* ptr
;
316 if (SWIG_GetPtrObj(_obj0
, (void **) &ptr
,"_wxPyInputStream_p")) {
317 PyErr_SetString(PyExc_TypeError
,"Expected _wxInputStream_p.");
322 PyErr_SetString(PyExc_TypeError
,"Expected _wxInputStream_p.");
327 if (!PyString_Check(_obj1
)) {
328 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
331 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
334 if (!PyString_Check(_obj2
)) {
335 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
338 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
341 if (!PyString_Check(_obj3
)) {
342 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
345 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
348 if (_argo4
== Py_None
) { _arg4
= NULL
; }
349 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxDateTime_p")) {
350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of new_wxFSFile. Expected _wxDateTime_p.");
355 wxPy_BEGIN_ALLOW_THREADS
;
356 _result
= (wxFSFile
*)new_wxFSFile(_arg0
,*_arg1
,*_arg2
,*_arg3
,*_arg4
);
358 wxPy_END_ALLOW_THREADS
;
360 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFSFile_p");
361 _resultobj
= Py_BuildValue("s",_ptemp
);
364 _resultobj
= Py_None
;
381 #define wxFSFile_GetStream(_swigobj) (_swigobj->GetStream())
382 static PyObject
*_wrap_wxFSFile_GetStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
383 PyObject
* _resultobj
;
384 wxInputStream
* _result
;
386 PyObject
* _argo0
= 0;
387 char *_kwnames
[] = { "self", NULL
};
390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFSFile_GetStream",_kwnames
,&_argo0
))
393 if (_argo0
== Py_None
) { _arg0
= NULL
; }
394 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFSFile_p")) {
395 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFSFile_GetStream. Expected _wxFSFile_p.");
400 wxPy_BEGIN_ALLOW_THREADS
;
401 _result
= (wxInputStream
*)wxFSFile_GetStream(_arg0
);
403 wxPy_END_ALLOW_THREADS
;
405 wxPyInputStream
* _ptr
= NULL
;
408 _ptr
= new wxPyInputStream(_result
);
412 SWIG_MakePtr(swigptr
, _ptr
, "_wxPyInputStream_p");
414 PyObject
* classobj
= PyDict_GetItemString(wxPython_dict
, "wxInputStreamPtr");
417 _resultobj
= Py_None
;
419 PyObject
* arg
= Py_BuildValue("(s)", swigptr
);
420 _resultobj
= PyInstance_New(classobj
, arg
, NULL
);
424 PyObject_SetAttrString(_resultobj
, "thisown", PyInt_FromLong(1));
428 _resultobj
= Py_None
;
434 #define wxFSFile_GetMimeType(_swigobj) (_swigobj->GetMimeType())
435 static PyObject
*_wrap_wxFSFile_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
436 PyObject
* _resultobj
;
439 PyObject
* _argo0
= 0;
440 char *_kwnames
[] = { "self", NULL
};
443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFSFile_GetMimeType",_kwnames
,&_argo0
))
446 if (_argo0
== Py_None
) { _arg0
= NULL
; }
447 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFSFile_p")) {
448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFSFile_GetMimeType. Expected _wxFSFile_p.");
453 wxPy_BEGIN_ALLOW_THREADS
;
454 const wxString
& _result_ref
= wxFSFile_GetMimeType(_arg0
);
455 _result
= (wxString
*) &_result_ref
;
457 wxPy_END_ALLOW_THREADS
;
459 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
464 #define wxFSFile_GetLocation(_swigobj) (_swigobj->GetLocation())
465 static PyObject
*_wrap_wxFSFile_GetLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
466 PyObject
* _resultobj
;
469 PyObject
* _argo0
= 0;
470 char *_kwnames
[] = { "self", NULL
};
473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFSFile_GetLocation",_kwnames
,&_argo0
))
476 if (_argo0
== Py_None
) { _arg0
= NULL
; }
477 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFSFile_p")) {
478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFSFile_GetLocation. Expected _wxFSFile_p.");
483 wxPy_BEGIN_ALLOW_THREADS
;
484 const wxString
& _result_ref
= wxFSFile_GetLocation(_arg0
);
485 _result
= (wxString
*) &_result_ref
;
487 wxPy_END_ALLOW_THREADS
;
489 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
494 #define wxFSFile_GetAnchor(_swigobj) (_swigobj->GetAnchor())
495 static PyObject
*_wrap_wxFSFile_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
496 PyObject
* _resultobj
;
499 PyObject
* _argo0
= 0;
500 char *_kwnames
[] = { "self", NULL
};
503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFSFile_GetAnchor",_kwnames
,&_argo0
))
506 if (_argo0
== Py_None
) { _arg0
= NULL
; }
507 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFSFile_p")) {
508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFSFile_GetAnchor. Expected _wxFSFile_p.");
513 wxPy_BEGIN_ALLOW_THREADS
;
514 const wxString
& _result_ref
= wxFSFile_GetAnchor(_arg0
);
515 _result
= (wxString
*) &_result_ref
;
517 wxPy_END_ALLOW_THREADS
;
519 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
524 #define wxFSFile_GetModificationTime(_swigobj) (_swigobj->GetModificationTime())
525 static PyObject
*_wrap_wxFSFile_GetModificationTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
526 PyObject
* _resultobj
;
527 wxDateTime
* _result
;
529 PyObject
* _argo0
= 0;
530 char *_kwnames
[] = { "self", NULL
};
534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFSFile_GetModificationTime",_kwnames
,&_argo0
))
537 if (_argo0
== Py_None
) { _arg0
= NULL
; }
538 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFSFile_p")) {
539 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFSFile_GetModificationTime. Expected _wxFSFile_p.");
544 wxPy_BEGIN_ALLOW_THREADS
;
545 _result
= new wxDateTime (wxFSFile_GetModificationTime(_arg0
));
547 wxPy_END_ALLOW_THREADS
;
548 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
549 _resultobj
= Py_BuildValue("s",_ptemp
);
553 static void *SwigwxPyFileSystemHandlerTowxFileSystemHandler(void *ptr
) {
554 wxPyFileSystemHandler
*src
;
555 wxFileSystemHandler
*dest
;
556 src
= (wxPyFileSystemHandler
*) ptr
;
557 dest
= (wxFileSystemHandler
*) src
;
558 return (void *) dest
;
561 #define new_wxFileSystemHandler() (new wxPyFileSystemHandler())
562 static PyObject
*_wrap_new_wxFileSystemHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
563 PyObject
* _resultobj
;
564 wxPyFileSystemHandler
* _result
;
565 char *_kwnames
[] = { NULL
};
569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFileSystemHandler",_kwnames
))
572 wxPy_BEGIN_ALLOW_THREADS
;
573 _result
= (wxPyFileSystemHandler
*)new_wxFileSystemHandler();
575 wxPy_END_ALLOW_THREADS
;
577 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyFileSystemHandler_p");
578 _resultobj
= Py_BuildValue("s",_ptemp
);
581 _resultobj
= Py_None
;
586 #define wxFileSystemHandler__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
587 static PyObject
*_wrap_wxFileSystemHandler__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
588 PyObject
* _resultobj
;
589 wxPyFileSystemHandler
* _arg0
;
592 PyObject
* _argo0
= 0;
593 PyObject
* _obj1
= 0;
594 PyObject
* _obj2
= 0;
595 char *_kwnames
[] = { "self","self","_class", NULL
};
598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxFileSystemHandler__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
601 if (_argo0
== Py_None
) { _arg0
= NULL
; }
602 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileSystemHandler_p")) {
603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystemHandler__setSelf. Expected _wxPyFileSystemHandler_p.");
614 wxPy_BEGIN_ALLOW_THREADS
;
615 wxFileSystemHandler__setSelf(_arg0
,_arg1
,_arg2
);
617 wxPy_END_ALLOW_THREADS
;
618 } Py_INCREF(Py_None
);
619 _resultobj
= Py_None
;
623 #define wxFileSystemHandler_CanOpen(_swigobj,_swigarg0) (_swigobj->CanOpen(_swigarg0))
624 static PyObject
*_wrap_wxFileSystemHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
625 PyObject
* _resultobj
;
627 wxPyFileSystemHandler
* _arg0
;
629 PyObject
* _argo0
= 0;
630 PyObject
* _obj1
= 0;
631 char *_kwnames
[] = { "self","location", NULL
};
634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileSystemHandler_CanOpen",_kwnames
,&_argo0
,&_obj1
))
637 if (_argo0
== Py_None
) { _arg0
= NULL
; }
638 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileSystemHandler_p")) {
639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystemHandler_CanOpen. Expected _wxPyFileSystemHandler_p.");
644 if (!PyString_Check(_obj1
)) {
645 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
648 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
651 wxPy_BEGIN_ALLOW_THREADS
;
652 _result
= (bool )wxFileSystemHandler_CanOpen(_arg0
,*_arg1
);
654 wxPy_END_ALLOW_THREADS
;
655 } _resultobj
= Py_BuildValue("i",_result
);
663 #define wxFileSystemHandler_OpenFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->OpenFile(_swigarg0,_swigarg1))
664 static PyObject
*_wrap_wxFileSystemHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
665 PyObject
* _resultobj
;
667 wxPyFileSystemHandler
* _arg0
;
668 wxFileSystem
* _arg1
;
670 PyObject
* _argo0
= 0;
671 PyObject
* _argo1
= 0;
672 PyObject
* _obj2
= 0;
673 char *_kwnames
[] = { "self","fs","location", NULL
};
677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxFileSystemHandler_OpenFile",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
680 if (_argo0
== Py_None
) { _arg0
= NULL
; }
681 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileSystemHandler_p")) {
682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystemHandler_OpenFile. Expected _wxPyFileSystemHandler_p.");
687 if (_argo1
== Py_None
) { _arg1
= NULL
; }
688 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileSystem_p")) {
689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileSystemHandler_OpenFile. Expected _wxFileSystem_p.");
694 if (!PyString_Check(_obj2
)) {
695 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
698 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
701 wxPy_BEGIN_ALLOW_THREADS
;
702 _result
= (wxFSFile
*)wxFileSystemHandler_OpenFile(_arg0
,*_arg1
,*_arg2
);
704 wxPy_END_ALLOW_THREADS
;
706 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFSFile_p");
707 _resultobj
= Py_BuildValue("s",_ptemp
);
710 _resultobj
= Py_None
;
719 #define wxFileSystemHandler_FindFirst(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindFirst(_swigarg0,_swigarg1))
720 static PyObject
*_wrap_wxFileSystemHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
721 PyObject
* _resultobj
;
723 wxPyFileSystemHandler
* _arg0
;
725 int _arg2
= (int ) 0;
726 PyObject
* _argo0
= 0;
727 PyObject
* _obj1
= 0;
728 char *_kwnames
[] = { "self","spec","flags", NULL
};
731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxFileSystemHandler_FindFirst",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
734 if (_argo0
== Py_None
) { _arg0
= NULL
; }
735 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileSystemHandler_p")) {
736 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystemHandler_FindFirst. Expected _wxPyFileSystemHandler_p.");
741 if (!PyString_Check(_obj1
)) {
742 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
745 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
748 wxPy_BEGIN_ALLOW_THREADS
;
749 _result
= new wxString (wxFileSystemHandler_FindFirst(_arg0
,*_arg1
,_arg2
));
751 wxPy_END_ALLOW_THREADS
;
753 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
765 #define wxFileSystemHandler_FindNext(_swigobj) (_swigobj->FindNext())
766 static PyObject
*_wrap_wxFileSystemHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
767 PyObject
* _resultobj
;
769 wxPyFileSystemHandler
* _arg0
;
770 PyObject
* _argo0
= 0;
771 char *_kwnames
[] = { "self", NULL
};
774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileSystemHandler_FindNext",_kwnames
,&_argo0
))
777 if (_argo0
== Py_None
) { _arg0
= NULL
; }
778 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileSystemHandler_p")) {
779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystemHandler_FindNext. Expected _wxPyFileSystemHandler_p.");
784 wxPy_BEGIN_ALLOW_THREADS
;
785 _result
= new wxString (wxFileSystemHandler_FindNext(_arg0
));
787 wxPy_END_ALLOW_THREADS
;
789 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
797 #define wxFileSystemHandler_GetProtocol(_swigobj,_swigarg0) (_swigobj->GetProtocol(_swigarg0))
798 static PyObject
*_wrap_wxFileSystemHandler_GetProtocol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
799 PyObject
* _resultobj
;
801 wxPyFileSystemHandler
* _arg0
;
803 PyObject
* _argo0
= 0;
804 PyObject
* _obj1
= 0;
805 char *_kwnames
[] = { "self","location", NULL
};
808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileSystemHandler_GetProtocol",_kwnames
,&_argo0
,&_obj1
))
811 if (_argo0
== Py_None
) { _arg0
= NULL
; }
812 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileSystemHandler_p")) {
813 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystemHandler_GetProtocol. Expected _wxPyFileSystemHandler_p.");
818 if (!PyString_Check(_obj1
)) {
819 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
822 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
825 wxPy_BEGIN_ALLOW_THREADS
;
826 _result
= new wxString (wxFileSystemHandler_GetProtocol(_arg0
,*_arg1
));
828 wxPy_END_ALLOW_THREADS
;
830 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
842 #define wxFileSystemHandler_GetLeftLocation(_swigobj,_swigarg0) (_swigobj->GetLeftLocation(_swigarg0))
843 static PyObject
*_wrap_wxFileSystemHandler_GetLeftLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
844 PyObject
* _resultobj
;
846 wxPyFileSystemHandler
* _arg0
;
848 PyObject
* _argo0
= 0;
849 PyObject
* _obj1
= 0;
850 char *_kwnames
[] = { "self","location", NULL
};
853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileSystemHandler_GetLeftLocation",_kwnames
,&_argo0
,&_obj1
))
856 if (_argo0
== Py_None
) { _arg0
= NULL
; }
857 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileSystemHandler_p")) {
858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystemHandler_GetLeftLocation. Expected _wxPyFileSystemHandler_p.");
863 if (!PyString_Check(_obj1
)) {
864 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
867 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
870 wxPy_BEGIN_ALLOW_THREADS
;
871 _result
= new wxString (wxFileSystemHandler_GetLeftLocation(_arg0
,*_arg1
));
873 wxPy_END_ALLOW_THREADS
;
875 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
887 #define wxFileSystemHandler_GetAnchor(_swigobj,_swigarg0) (_swigobj->GetAnchor(_swigarg0))
888 static PyObject
*_wrap_wxFileSystemHandler_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
889 PyObject
* _resultobj
;
891 wxPyFileSystemHandler
* _arg0
;
893 PyObject
* _argo0
= 0;
894 PyObject
* _obj1
= 0;
895 char *_kwnames
[] = { "self","location", NULL
};
898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileSystemHandler_GetAnchor",_kwnames
,&_argo0
,&_obj1
))
901 if (_argo0
== Py_None
) { _arg0
= NULL
; }
902 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileSystemHandler_p")) {
903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystemHandler_GetAnchor. Expected _wxPyFileSystemHandler_p.");
908 if (!PyString_Check(_obj1
)) {
909 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
912 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
915 wxPy_BEGIN_ALLOW_THREADS
;
916 _result
= new wxString (wxFileSystemHandler_GetAnchor(_arg0
,*_arg1
));
918 wxPy_END_ALLOW_THREADS
;
920 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
932 #define wxFileSystemHandler_GetRightLocation(_swigobj,_swigarg0) (_swigobj->GetRightLocation(_swigarg0))
933 static PyObject
*_wrap_wxFileSystemHandler_GetRightLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
934 PyObject
* _resultobj
;
936 wxPyFileSystemHandler
* _arg0
;
938 PyObject
* _argo0
= 0;
939 PyObject
* _obj1
= 0;
940 char *_kwnames
[] = { "self","location", NULL
};
943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileSystemHandler_GetRightLocation",_kwnames
,&_argo0
,&_obj1
))
946 if (_argo0
== Py_None
) { _arg0
= NULL
; }
947 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileSystemHandler_p")) {
948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystemHandler_GetRightLocation. Expected _wxPyFileSystemHandler_p.");
953 if (!PyString_Check(_obj1
)) {
954 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
957 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
960 wxPy_BEGIN_ALLOW_THREADS
;
961 _result
= new wxString (wxFileSystemHandler_GetRightLocation(_arg0
,*_arg1
));
963 wxPy_END_ALLOW_THREADS
;
965 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
977 #define wxFileSystemHandler_GetMimeTypeFromExt(_swigobj,_swigarg0) (_swigobj->GetMimeTypeFromExt(_swigarg0))
978 static PyObject
*_wrap_wxFileSystemHandler_GetMimeTypeFromExt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
979 PyObject
* _resultobj
;
981 wxPyFileSystemHandler
* _arg0
;
983 PyObject
* _argo0
= 0;
984 PyObject
* _obj1
= 0;
985 char *_kwnames
[] = { "self","location", NULL
};
988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileSystemHandler_GetMimeTypeFromExt",_kwnames
,&_argo0
,&_obj1
))
991 if (_argo0
== Py_None
) { _arg0
= NULL
; }
992 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileSystemHandler_p")) {
993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystemHandler_GetMimeTypeFromExt. Expected _wxPyFileSystemHandler_p.");
998 if (!PyString_Check(_obj1
)) {
999 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1002 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1005 wxPy_BEGIN_ALLOW_THREADS
;
1006 _result
= new wxString (wxFileSystemHandler_GetMimeTypeFromExt(_arg0
,*_arg1
));
1008 wxPy_END_ALLOW_THREADS
;
1010 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1022 #define new_wxFileSystem() (new wxFileSystem())
1023 static PyObject
*_wrap_new_wxFileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1024 PyObject
* _resultobj
;
1025 wxFileSystem
* _result
;
1026 char *_kwnames
[] = { NULL
};
1030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFileSystem",_kwnames
))
1033 wxPy_BEGIN_ALLOW_THREADS
;
1034 _result
= (wxFileSystem
*)new_wxFileSystem();
1036 wxPy_END_ALLOW_THREADS
;
1038 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileSystem_p");
1039 _resultobj
= Py_BuildValue("s",_ptemp
);
1042 _resultobj
= Py_None
;
1047 #define wxFileSystem_ChangePathTo(_swigobj,_swigarg0,_swigarg1) (_swigobj->ChangePathTo(_swigarg0,_swigarg1))
1048 static PyObject
*_wrap_wxFileSystem_ChangePathTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1049 PyObject
* _resultobj
;
1050 wxFileSystem
* _arg0
;
1052 bool _arg2
= (bool ) FALSE
;
1053 PyObject
* _argo0
= 0;
1054 PyObject
* _obj1
= 0;
1055 int tempbool2
= (int) FALSE
;
1056 char *_kwnames
[] = { "self","location","is_dir", NULL
};
1059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxFileSystem_ChangePathTo",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
1062 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1063 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileSystem_p")) {
1064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystem_ChangePathTo. Expected _wxFileSystem_p.");
1069 if (!PyString_Check(_obj1
)) {
1070 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1073 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1075 _arg2
= (bool ) tempbool2
;
1077 wxPy_BEGIN_ALLOW_THREADS
;
1078 wxFileSystem_ChangePathTo(_arg0
,*_arg1
,_arg2
);
1080 wxPy_END_ALLOW_THREADS
;
1081 } Py_INCREF(Py_None
);
1082 _resultobj
= Py_None
;
1090 #define wxFileSystem_GetPath(_swigobj) (_swigobj->GetPath())
1091 static PyObject
*_wrap_wxFileSystem_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1092 PyObject
* _resultobj
;
1094 wxFileSystem
* _arg0
;
1095 PyObject
* _argo0
= 0;
1096 char *_kwnames
[] = { "self", NULL
};
1099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileSystem_GetPath",_kwnames
,&_argo0
))
1102 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1103 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileSystem_p")) {
1104 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystem_GetPath. Expected _wxFileSystem_p.");
1109 wxPy_BEGIN_ALLOW_THREADS
;
1110 _result
= new wxString (wxFileSystem_GetPath(_arg0
));
1112 wxPy_END_ALLOW_THREADS
;
1114 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1122 #define wxFileSystem_OpenFile(_swigobj,_swigarg0) (_swigobj->OpenFile(_swigarg0))
1123 static PyObject
*_wrap_wxFileSystem_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1124 PyObject
* _resultobj
;
1126 wxFileSystem
* _arg0
;
1128 PyObject
* _argo0
= 0;
1129 PyObject
* _obj1
= 0;
1130 char *_kwnames
[] = { "self","location", NULL
};
1134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileSystem_OpenFile",_kwnames
,&_argo0
,&_obj1
))
1137 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1138 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileSystem_p")) {
1139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystem_OpenFile. Expected _wxFileSystem_p.");
1144 if (!PyString_Check(_obj1
)) {
1145 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1148 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1151 wxPy_BEGIN_ALLOW_THREADS
;
1152 _result
= (wxFSFile
*)wxFileSystem_OpenFile(_arg0
,*_arg1
);
1154 wxPy_END_ALLOW_THREADS
;
1156 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFSFile_p");
1157 _resultobj
= Py_BuildValue("s",_ptemp
);
1160 _resultobj
= Py_None
;
1169 #define wxFileSystem_FindFirst(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindFirst(_swigarg0,_swigarg1))
1170 static PyObject
*_wrap_wxFileSystem_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1171 PyObject
* _resultobj
;
1173 wxFileSystem
* _arg0
;
1175 int _arg2
= (int ) 0;
1176 PyObject
* _argo0
= 0;
1177 PyObject
* _obj1
= 0;
1178 char *_kwnames
[] = { "self","spec","flags", NULL
};
1181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxFileSystem_FindFirst",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1184 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1185 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileSystem_p")) {
1186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystem_FindFirst. Expected _wxFileSystem_p.");
1191 if (!PyString_Check(_obj1
)) {
1192 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1195 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1198 wxPy_BEGIN_ALLOW_THREADS
;
1199 _result
= new wxString (wxFileSystem_FindFirst(_arg0
,*_arg1
,_arg2
));
1201 wxPy_END_ALLOW_THREADS
;
1203 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1215 #define wxFileSystem_FindNext(_swigobj) (_swigobj->FindNext())
1216 static PyObject
*_wrap_wxFileSystem_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1217 PyObject
* _resultobj
;
1219 wxFileSystem
* _arg0
;
1220 PyObject
* _argo0
= 0;
1221 char *_kwnames
[] = { "self", NULL
};
1224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileSystem_FindNext",_kwnames
,&_argo0
))
1227 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1228 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileSystem_p")) {
1229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystem_FindNext. Expected _wxFileSystem_p.");
1234 wxPy_BEGIN_ALLOW_THREADS
;
1235 _result
= new wxString (wxFileSystem_FindNext(_arg0
));
1237 wxPy_END_ALLOW_THREADS
;
1239 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1247 static PyObject
*_wrap_wxFileSystem_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1248 PyObject
* _resultobj
;
1249 wxFileSystemHandler
* _arg0
;
1250 PyObject
* _argo0
= 0;
1251 char *_kwnames
[] = { "handler", NULL
};
1254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileSystem_AddHandler",_kwnames
,&_argo0
))
1257 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1258 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileSystemHandler_p")) {
1259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystem_AddHandler. Expected _wxFileSystemHandler_p.");
1264 wxPy_BEGIN_ALLOW_THREADS
;
1265 wxFileSystem::AddHandler(_arg0
);
1267 wxPy_END_ALLOW_THREADS
;
1268 } Py_INCREF(Py_None
);
1269 _resultobj
= Py_None
;
1273 static PyObject
*_wrap_wxFileSystem_CleanUpHandlers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1274 PyObject
* _resultobj
;
1275 char *_kwnames
[] = { NULL
};
1278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxFileSystem_CleanUpHandlers",_kwnames
))
1281 wxPy_BEGIN_ALLOW_THREADS
;
1282 wxFileSystem::CleanUpHandlers();
1284 wxPy_END_ALLOW_THREADS
;
1285 } Py_INCREF(Py_None
);
1286 _resultobj
= Py_None
;
1290 static void *SwigwxInternetFSHandlerTowxFileSystemHandler(void *ptr
) {
1291 wxInternetFSHandler
*src
;
1292 wxFileSystemHandler
*dest
;
1293 src
= (wxInternetFSHandler
*) ptr
;
1294 dest
= (wxFileSystemHandler
*) src
;
1295 return (void *) dest
;
1298 #define new_wxInternetFSHandler() (new wxInternetFSHandler())
1299 static PyObject
*_wrap_new_wxInternetFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1300 PyObject
* _resultobj
;
1301 wxInternetFSHandler
* _result
;
1302 char *_kwnames
[] = { NULL
};
1306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxInternetFSHandler",_kwnames
))
1309 wxPy_BEGIN_ALLOW_THREADS
;
1310 _result
= (wxInternetFSHandler
*)new_wxInternetFSHandler();
1312 wxPy_END_ALLOW_THREADS
;
1314 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxInternetFSHandler_p");
1315 _resultobj
= Py_BuildValue("s",_ptemp
);
1318 _resultobj
= Py_None
;
1323 #define wxInternetFSHandler_CanOpen(_swigobj,_swigarg0) (_swigobj->CanOpen(_swigarg0))
1324 static PyObject
*_wrap_wxInternetFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1325 PyObject
* _resultobj
;
1327 wxInternetFSHandler
* _arg0
;
1329 PyObject
* _argo0
= 0;
1330 PyObject
* _obj1
= 0;
1331 char *_kwnames
[] = { "self","location", NULL
};
1334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxInternetFSHandler_CanOpen",_kwnames
,&_argo0
,&_obj1
))
1337 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1338 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxInternetFSHandler_p")) {
1339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxInternetFSHandler_CanOpen. Expected _wxInternetFSHandler_p.");
1344 if (!PyString_Check(_obj1
)) {
1345 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1348 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1351 wxPy_BEGIN_ALLOW_THREADS
;
1352 _result
= (bool )wxInternetFSHandler_CanOpen(_arg0
,*_arg1
);
1354 wxPy_END_ALLOW_THREADS
;
1355 } _resultobj
= Py_BuildValue("i",_result
);
1363 #define wxInternetFSHandler_OpenFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->OpenFile(_swigarg0,_swigarg1))
1364 static PyObject
*_wrap_wxInternetFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1365 PyObject
* _resultobj
;
1367 wxInternetFSHandler
* _arg0
;
1368 wxFileSystem
* _arg1
;
1370 PyObject
* _argo0
= 0;
1371 PyObject
* _argo1
= 0;
1372 PyObject
* _obj2
= 0;
1373 char *_kwnames
[] = { "self","fs","location", NULL
};
1377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxInternetFSHandler_OpenFile",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
1380 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1381 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxInternetFSHandler_p")) {
1382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxInternetFSHandler_OpenFile. Expected _wxInternetFSHandler_p.");
1387 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1388 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileSystem_p")) {
1389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxInternetFSHandler_OpenFile. Expected _wxFileSystem_p.");
1394 if (!PyString_Check(_obj2
)) {
1395 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1398 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
1401 wxPy_BEGIN_ALLOW_THREADS
;
1402 _result
= (wxFSFile
*)wxInternetFSHandler_OpenFile(_arg0
,*_arg1
,*_arg2
);
1404 wxPy_END_ALLOW_THREADS
;
1406 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFSFile_p");
1407 _resultobj
= Py_BuildValue("s",_ptemp
);
1410 _resultobj
= Py_None
;
1419 static void *SwigwxZipFSHandlerTowxFileSystemHandler(void *ptr
) {
1420 wxZipFSHandler
*src
;
1421 wxFileSystemHandler
*dest
;
1422 src
= (wxZipFSHandler
*) ptr
;
1423 dest
= (wxFileSystemHandler
*) src
;
1424 return (void *) dest
;
1427 #define new_wxZipFSHandler() (new wxZipFSHandler())
1428 static PyObject
*_wrap_new_wxZipFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1429 PyObject
* _resultobj
;
1430 wxZipFSHandler
* _result
;
1431 char *_kwnames
[] = { NULL
};
1435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxZipFSHandler",_kwnames
))
1438 wxPy_BEGIN_ALLOW_THREADS
;
1439 _result
= (wxZipFSHandler
*)new_wxZipFSHandler();
1441 wxPy_END_ALLOW_THREADS
;
1443 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxZipFSHandler_p");
1444 _resultobj
= Py_BuildValue("s",_ptemp
);
1447 _resultobj
= Py_None
;
1452 #define wxZipFSHandler_CanOpen(_swigobj,_swigarg0) (_swigobj->CanOpen(_swigarg0))
1453 static PyObject
*_wrap_wxZipFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1454 PyObject
* _resultobj
;
1456 wxZipFSHandler
* _arg0
;
1458 PyObject
* _argo0
= 0;
1459 PyObject
* _obj1
= 0;
1460 char *_kwnames
[] = { "self","location", NULL
};
1463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxZipFSHandler_CanOpen",_kwnames
,&_argo0
,&_obj1
))
1466 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1467 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxZipFSHandler_p")) {
1468 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxZipFSHandler_CanOpen. Expected _wxZipFSHandler_p.");
1473 if (!PyString_Check(_obj1
)) {
1474 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1477 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1480 wxPy_BEGIN_ALLOW_THREADS
;
1481 _result
= (bool )wxZipFSHandler_CanOpen(_arg0
,*_arg1
);
1483 wxPy_END_ALLOW_THREADS
;
1484 } _resultobj
= Py_BuildValue("i",_result
);
1492 #define wxZipFSHandler_OpenFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->OpenFile(_swigarg0,_swigarg1))
1493 static PyObject
*_wrap_wxZipFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1494 PyObject
* _resultobj
;
1496 wxZipFSHandler
* _arg0
;
1497 wxFileSystem
* _arg1
;
1499 PyObject
* _argo0
= 0;
1500 PyObject
* _argo1
= 0;
1501 PyObject
* _obj2
= 0;
1502 char *_kwnames
[] = { "self","fs","location", NULL
};
1506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxZipFSHandler_OpenFile",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
1509 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1510 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxZipFSHandler_p")) {
1511 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxZipFSHandler_OpenFile. Expected _wxZipFSHandler_p.");
1516 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1517 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileSystem_p")) {
1518 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxZipFSHandler_OpenFile. Expected _wxFileSystem_p.");
1523 if (!PyString_Check(_obj2
)) {
1524 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1527 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
1530 wxPy_BEGIN_ALLOW_THREADS
;
1531 _result
= (wxFSFile
*)wxZipFSHandler_OpenFile(_arg0
,*_arg1
,*_arg2
);
1533 wxPy_END_ALLOW_THREADS
;
1535 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFSFile_p");
1536 _resultobj
= Py_BuildValue("s",_ptemp
);
1539 _resultobj
= Py_None
;
1548 #define wxZipFSHandler_FindFirst(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindFirst(_swigarg0,_swigarg1))
1549 static PyObject
*_wrap_wxZipFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1550 PyObject
* _resultobj
;
1552 wxZipFSHandler
* _arg0
;
1554 int _arg2
= (int ) 0;
1555 PyObject
* _argo0
= 0;
1556 PyObject
* _obj1
= 0;
1557 char *_kwnames
[] = { "self","spec","flags", NULL
};
1560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxZipFSHandler_FindFirst",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1563 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1564 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxZipFSHandler_p")) {
1565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxZipFSHandler_FindFirst. Expected _wxZipFSHandler_p.");
1570 if (!PyString_Check(_obj1
)) {
1571 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1574 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1577 wxPy_BEGIN_ALLOW_THREADS
;
1578 _result
= new wxString (wxZipFSHandler_FindFirst(_arg0
,*_arg1
,_arg2
));
1580 wxPy_END_ALLOW_THREADS
;
1582 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1594 #define wxZipFSHandler_FindNext(_swigobj) (_swigobj->FindNext())
1595 static PyObject
*_wrap_wxZipFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1596 PyObject
* _resultobj
;
1598 wxZipFSHandler
* _arg0
;
1599 PyObject
* _argo0
= 0;
1600 char *_kwnames
[] = { "self", NULL
};
1603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxZipFSHandler_FindNext",_kwnames
,&_argo0
))
1606 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1607 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxZipFSHandler_p")) {
1608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxZipFSHandler_FindNext. Expected _wxZipFSHandler_p.");
1613 wxPy_BEGIN_ALLOW_THREADS
;
1614 _result
= new wxString (wxZipFSHandler_FindNext(_arg0
));
1616 wxPy_END_ALLOW_THREADS
;
1618 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1626 static void *SwigwxMemoryFSHandlerTowxFileSystemHandler(void *ptr
) {
1627 wxMemoryFSHandler
*src
;
1628 wxFileSystemHandler
*dest
;
1629 src
= (wxMemoryFSHandler
*) ptr
;
1630 dest
= (wxFileSystemHandler
*) src
;
1631 return (void *) dest
;
1634 #define new_wxMemoryFSHandler() (new wxMemoryFSHandler())
1635 static PyObject
*_wrap_new_wxMemoryFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1636 PyObject
* _resultobj
;
1637 wxMemoryFSHandler
* _result
;
1638 char *_kwnames
[] = { NULL
};
1642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMemoryFSHandler",_kwnames
))
1645 wxPy_BEGIN_ALLOW_THREADS
;
1646 _result
= (wxMemoryFSHandler
*)new_wxMemoryFSHandler();
1648 wxPy_END_ALLOW_THREADS
;
1650 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMemoryFSHandler_p");
1651 _resultobj
= Py_BuildValue("s",_ptemp
);
1654 _resultobj
= Py_None
;
1659 static PyObject
*_wrap_wxMemoryFSHandler_RemoveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1660 PyObject
* _resultobj
;
1662 PyObject
* _obj0
= 0;
1663 char *_kwnames
[] = { "filename", NULL
};
1666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMemoryFSHandler_RemoveFile",_kwnames
,&_obj0
))
1669 if (!PyString_Check(_obj0
)) {
1670 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1673 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
1676 wxPy_BEGIN_ALLOW_THREADS
;
1677 wxMemoryFSHandler::RemoveFile(*_arg0
);
1679 wxPy_END_ALLOW_THREADS
;
1680 } Py_INCREF(Py_None
);
1681 _resultobj
= Py_None
;
1689 #define wxMemoryFSHandler_CanOpen(_swigobj,_swigarg0) (_swigobj->CanOpen(_swigarg0))
1690 static PyObject
*_wrap_wxMemoryFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1691 PyObject
* _resultobj
;
1693 wxMemoryFSHandler
* _arg0
;
1695 PyObject
* _argo0
= 0;
1696 PyObject
* _obj1
= 0;
1697 char *_kwnames
[] = { "self","location", NULL
};
1700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMemoryFSHandler_CanOpen",_kwnames
,&_argo0
,&_obj1
))
1703 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1704 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMemoryFSHandler_p")) {
1705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryFSHandler_CanOpen. Expected _wxMemoryFSHandler_p.");
1710 if (!PyString_Check(_obj1
)) {
1711 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1714 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1717 wxPy_BEGIN_ALLOW_THREADS
;
1718 _result
= (bool )wxMemoryFSHandler_CanOpen(_arg0
,*_arg1
);
1720 wxPy_END_ALLOW_THREADS
;
1721 } _resultobj
= Py_BuildValue("i",_result
);
1729 #define wxMemoryFSHandler_OpenFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->OpenFile(_swigarg0,_swigarg1))
1730 static PyObject
*_wrap_wxMemoryFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1731 PyObject
* _resultobj
;
1733 wxMemoryFSHandler
* _arg0
;
1734 wxFileSystem
* _arg1
;
1736 PyObject
* _argo0
= 0;
1737 PyObject
* _argo1
= 0;
1738 PyObject
* _obj2
= 0;
1739 char *_kwnames
[] = { "self","fs","location", NULL
};
1743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMemoryFSHandler_OpenFile",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
1746 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1747 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMemoryFSHandler_p")) {
1748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryFSHandler_OpenFile. Expected _wxMemoryFSHandler_p.");
1753 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1754 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileSystem_p")) {
1755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMemoryFSHandler_OpenFile. Expected _wxFileSystem_p.");
1760 if (!PyString_Check(_obj2
)) {
1761 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1764 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
1767 wxPy_BEGIN_ALLOW_THREADS
;
1768 _result
= (wxFSFile
*)wxMemoryFSHandler_OpenFile(_arg0
,*_arg1
,*_arg2
);
1770 wxPy_END_ALLOW_THREADS
;
1772 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFSFile_p");
1773 _resultobj
= Py_BuildValue("s",_ptemp
);
1776 _resultobj
= Py_None
;
1785 #define wxMemoryFSHandler_FindFirst(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindFirst(_swigarg0,_swigarg1))
1786 static PyObject
*_wrap_wxMemoryFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1787 PyObject
* _resultobj
;
1789 wxMemoryFSHandler
* _arg0
;
1791 int _arg2
= (int ) 0;
1792 PyObject
* _argo0
= 0;
1793 PyObject
* _obj1
= 0;
1794 char *_kwnames
[] = { "self","spec","flags", NULL
};
1797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxMemoryFSHandler_FindFirst",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1800 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1801 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMemoryFSHandler_p")) {
1802 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryFSHandler_FindFirst. Expected _wxMemoryFSHandler_p.");
1807 if (!PyString_Check(_obj1
)) {
1808 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1811 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1814 wxPy_BEGIN_ALLOW_THREADS
;
1815 _result
= new wxString (wxMemoryFSHandler_FindFirst(_arg0
,*_arg1
,_arg2
));
1817 wxPy_END_ALLOW_THREADS
;
1819 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1831 #define wxMemoryFSHandler_FindNext(_swigobj) (_swigobj->FindNext())
1832 static PyObject
*_wrap_wxMemoryFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1833 PyObject
* _resultobj
;
1835 wxMemoryFSHandler
* _arg0
;
1836 PyObject
* _argo0
= 0;
1837 char *_kwnames
[] = { "self", NULL
};
1840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMemoryFSHandler_FindNext",_kwnames
,&_argo0
))
1843 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1844 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMemoryFSHandler_p")) {
1845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryFSHandler_FindNext. Expected _wxMemoryFSHandler_p.");
1850 wxPy_BEGIN_ALLOW_THREADS
;
1851 _result
= new wxString (wxMemoryFSHandler_FindNext(_arg0
));
1853 wxPy_END_ALLOW_THREADS
;
1855 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1863 static PyMethodDef filesyscMethods
[] = {
1864 { "wxMemoryFSHandler_FindNext", (PyCFunction
) _wrap_wxMemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
1865 { "wxMemoryFSHandler_FindFirst", (PyCFunction
) _wrap_wxMemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
1866 { "wxMemoryFSHandler_OpenFile", (PyCFunction
) _wrap_wxMemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
1867 { "wxMemoryFSHandler_CanOpen", (PyCFunction
) _wrap_wxMemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
1868 { "wxMemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_wxMemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
},
1869 { "new_wxMemoryFSHandler", (PyCFunction
) _wrap_new_wxMemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
1870 { "wxZipFSHandler_FindNext", (PyCFunction
) _wrap_wxZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
1871 { "wxZipFSHandler_FindFirst", (PyCFunction
) _wrap_wxZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
1872 { "wxZipFSHandler_OpenFile", (PyCFunction
) _wrap_wxZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
1873 { "wxZipFSHandler_CanOpen", (PyCFunction
) _wrap_wxZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
1874 { "new_wxZipFSHandler", (PyCFunction
) _wrap_new_wxZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
1875 { "wxInternetFSHandler_OpenFile", (PyCFunction
) _wrap_wxInternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
1876 { "wxInternetFSHandler_CanOpen", (PyCFunction
) _wrap_wxInternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
1877 { "new_wxInternetFSHandler", (PyCFunction
) _wrap_new_wxInternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
1878 { "wxFileSystem_CleanUpHandlers", (PyCFunction
) _wrap_wxFileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
},
1879 { "wxFileSystem_AddHandler", (PyCFunction
) _wrap_wxFileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
1880 { "wxFileSystem_FindNext", (PyCFunction
) _wrap_wxFileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
1881 { "wxFileSystem_FindFirst", (PyCFunction
) _wrap_wxFileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
1882 { "wxFileSystem_OpenFile", (PyCFunction
) _wrap_wxFileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
1883 { "wxFileSystem_GetPath", (PyCFunction
) _wrap_wxFileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
1884 { "wxFileSystem_ChangePathTo", (PyCFunction
) _wrap_wxFileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
},
1885 { "new_wxFileSystem", (PyCFunction
) _wrap_new_wxFileSystem
, METH_VARARGS
| METH_KEYWORDS
},
1886 { "wxFileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_wxFileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
},
1887 { "wxFileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_wxFileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
},
1888 { "wxFileSystemHandler_GetAnchor", (PyCFunction
) _wrap_wxFileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
1889 { "wxFileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_wxFileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
},
1890 { "wxFileSystemHandler_GetProtocol", (PyCFunction
) _wrap_wxFileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
},
1891 { "wxFileSystemHandler_FindNext", (PyCFunction
) _wrap_wxFileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
1892 { "wxFileSystemHandler_FindFirst", (PyCFunction
) _wrap_wxFileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
1893 { "wxFileSystemHandler_OpenFile", (PyCFunction
) _wrap_wxFileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
1894 { "wxFileSystemHandler_CanOpen", (PyCFunction
) _wrap_wxFileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
1895 { "wxFileSystemHandler__setSelf", (PyCFunction
) _wrap_wxFileSystemHandler__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
1896 { "new_wxFileSystemHandler", (PyCFunction
) _wrap_new_wxFileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
},
1897 { "wxFSFile_GetModificationTime", (PyCFunction
) _wrap_wxFSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
},
1898 { "wxFSFile_GetAnchor", (PyCFunction
) _wrap_wxFSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
1899 { "wxFSFile_GetLocation", (PyCFunction
) _wrap_wxFSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
},
1900 { "wxFSFile_GetMimeType", (PyCFunction
) _wrap_wxFSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
1901 { "wxFSFile_GetStream", (PyCFunction
) _wrap_wxFSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
},
1902 { "new_wxFSFile", (PyCFunction
) _wrap_new_wxFSFile
, METH_VARARGS
| METH_KEYWORDS
},
1903 { "__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
},
1904 { "__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
1905 { "__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
},
1912 * This table is used by the pointer type-checker
1914 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
1915 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
1916 { "_signed_long","_long",0},
1917 { "_class_wxJPEGHandler","_wxJPEGHandler",0},
1918 { "_class_wxFSFile","_wxFSFile",0},
1919 { "_wxBMPHandler","_class_wxBMPHandler",0},
1920 { "_wxImage","_class_wxImage",0},
1921 { "_class_wxDateTime","_wxDateTime",0},
1922 { "_wxPrintQuality","_wxCoord",0},
1923 { "_wxPrintQuality","_int",0},
1924 { "_wxPrintQuality","_signed_int",0},
1925 { "_wxPrintQuality","_unsigned_int",0},
1926 { "_wxPrintQuality","_wxWindowID",0},
1927 { "_wxPrintQuality","_uint",0},
1928 { "_wxPrintQuality","_EBool",0},
1929 { "_wxPrintQuality","_size_t",0},
1930 { "_wxPrintQuality","_time_t",0},
1931 { "_class_wxRegionIterator","_wxRegionIterator",0},
1932 { "_wxGIFHandler","_class_wxGIFHandler",0},
1933 { "_wxInternetFSHandler","_class_wxInternetFSHandler",0},
1934 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
1935 { "_wxCursor","_class_wxCursor",0},
1936 { "_wxImageHandler","_class_wxImageHandler",0},
1937 { "_wxMask","_class_wxMask",0},
1938 { "_wxPNGHandler","_class_wxPNGHandler",0},
1939 { "_wxPen","_class_wxPen",0},
1940 { "_byte","_unsigned_char",0},
1941 { "_long","_unsigned_long",0},
1942 { "_long","_signed_long",0},
1943 { "_wxImageList","_class_wxImageList",0},
1944 { "_class_wxTIFFHandler","_wxTIFFHandler",0},
1945 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
1946 { "_wxDC","_class_wxDC",0},
1947 { "_class_wxBMPHandler","_wxBMPHandler",0},
1948 { "_size_t","_wxCoord",0},
1949 { "_size_t","_wxPrintQuality",0},
1950 { "_size_t","_time_t",0},
1951 { "_size_t","_unsigned_int",0},
1952 { "_size_t","_int",0},
1953 { "_size_t","_wxWindowID",0},
1954 { "_size_t","_uint",0},
1955 { "_class_wxRealPoint","_wxRealPoint",0},
1956 { "_wxPNMHandler","_class_wxPNMHandler",0},
1957 { "_wxPrinterDC","_class_wxPrinterDC",0},
1958 { "_class_wxGIFHandler","_wxGIFHandler",0},
1959 { "_wxFileConfig","_class_wxFileConfig",0},
1960 { "_class_wxMask","_wxMask",0},
1961 { "_class_wxPNGHandler","_wxPNGHandler",0},
1962 { "_wxColour","_class_wxColour",0},
1963 { "_wxBrush","_class_wxBrush",0},
1964 { "_uint","_wxCoord",0},
1965 { "_uint","_wxPrintQuality",0},
1966 { "_uint","_time_t",0},
1967 { "_uint","_size_t",0},
1968 { "_uint","_unsigned_int",0},
1969 { "_uint","_int",0},
1970 { "_uint","_wxWindowID",0},
1971 { "_wxChar","_char",0},
1972 { "_wxRect","_class_wxRect",0},
1973 { "_class_wxImage","_wxImage",0},
1974 { "_wxPoint","_class_wxPoint",0},
1975 { "_class_wxPNMHandler","_wxPNMHandler",0},
1976 { "_class_wxZipFSHandler","_wxZipFSHandler",0},
1977 { "_char","_wxChar",0},
1978 { "_wxBitmap","_class_wxBitmap",0},
1979 { "_wxWindowDC","_class_wxWindowDC",0},
1980 { "_class_wxInternetFSHandler","_wxInternetFSHandler",0},
1981 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
1982 { "_wxConfig","_class_wxConfig",0},
1983 { "_class_wxFileConfig","_wxFileConfig",0},
1984 { "_class_wxMemoryFSHandler","_wxMemoryFSHandler",0},
1985 { "_EBool","_wxCoord",0},
1986 { "_EBool","_wxPrintQuality",0},
1987 { "_EBool","_signed_int",0},
1988 { "_EBool","_int",0},
1989 { "_EBool","_wxWindowID",0},
1990 { "_class_wxRegion","_wxRegion",0},
1991 { "_wxFont","_class_wxFont",0},
1992 { "_wxFSFile","_class_wxFSFile",0},
1993 { "_unsigned_long","_long",0},
1994 { "_class_wxRect","_wxRect",0},
1995 { "_class_wxDC","_wxDC",0},
1996 { "_wxPyInputStream","_class_wxPyInputStream",0},
1997 { "_wxTimeSpan","_class_wxTimeSpan",0},
1998 { "_class_wxOutputStream","_wxOutputStream",0},
1999 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
2000 { "_signed_int","_wxCoord",0},
2001 { "_signed_int","_wxPrintQuality",0},
2002 { "_signed_int","_EBool",0},
2003 { "_signed_int","_wxWindowID",0},
2004 { "_signed_int","_int",0},
2005 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
2006 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
2007 { "_wxScreenDC","_class_wxScreenDC",0},
2008 { "_WXTYPE","_wxDateTime_t",0},
2009 { "_WXTYPE","_short",0},
2010 { "_WXTYPE","_signed_short",0},
2011 { "_WXTYPE","_unsigned_short",0},
2012 { "_class_wxBrush","_wxBrush",0},
2013 { "_unsigned_short","_wxDateTime_t",0},
2014 { "_unsigned_short","_WXTYPE",0},
2015 { "_unsigned_short","_short",0},
2016 { "_wxDateSpan","_class_wxDateSpan",0},
2017 { "_class_wxFont","_wxFont",0},
2018 { "_wxBusyInfo","_class_wxBusyInfo",0},
2019 { "_wxClientDC","_class_wxClientDC",0},
2020 { "_class_wxPoint","_wxPoint",0},
2021 { "_class_wxPyInputStream","_wxPyInputStream",0},
2022 { "_wxRealPoint","_class_wxRealPoint",0},
2023 { "_signed_short","_WXTYPE",0},
2024 { "_signed_short","_short",0},
2025 { "_wxMemoryDC","_class_wxMemoryDC",0},
2026 { "_wxPyFileSystemHandler","_class_wxPyFileSystemHandler",0},
2027 { "_wxPaintDC","_class_wxPaintDC",0},
2028 { "_class_wxWindowDC","_wxWindowDC",0},
2029 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
2030 { "_class_wxCursor","_wxCursor",0},
2031 { "_class_wxImageHandler","_wxImageHandler",0},
2032 { "_unsigned_char","_byte",0},
2033 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
2034 { "_unsigned_int","_wxCoord",0},
2035 { "_unsigned_int","_wxPrintQuality",0},
2036 { "_unsigned_int","_time_t",0},
2037 { "_unsigned_int","_size_t",0},
2038 { "_unsigned_int","_uint",0},
2039 { "_unsigned_int","_wxWindowID",0},
2040 { "_unsigned_int","_int",0},
2041 { "_wxIcon","_class_wxIcon",0},
2042 { "_wxConfigBase","_class_wxConfigBase",0},
2043 { "_class_wxPen","_wxPen",0},
2044 { "_short","_wxDateTime_t",0},
2045 { "_short","_WXTYPE",0},
2046 { "_short","_unsigned_short",0},
2047 { "_short","_signed_short",0},
2048 { "_class_wxImageList","_wxImageList",0},
2049 { "_wxFileSystemHandler","_class_wxMemoryFSHandler",SwigwxMemoryFSHandlerTowxFileSystemHandler
},
2050 { "_wxFileSystemHandler","_wxMemoryFSHandler",SwigwxMemoryFSHandlerTowxFileSystemHandler
},
2051 { "_wxFileSystemHandler","_class_wxZipFSHandler",SwigwxZipFSHandlerTowxFileSystemHandler
},
2052 { "_wxFileSystemHandler","_wxZipFSHandler",SwigwxZipFSHandlerTowxFileSystemHandler
},
2053 { "_wxFileSystemHandler","_class_wxInternetFSHandler",SwigwxInternetFSHandlerTowxFileSystemHandler
},
2054 { "_wxFileSystemHandler","_wxInternetFSHandler",SwigwxInternetFSHandlerTowxFileSystemHandler
},
2055 { "_wxFileSystemHandler","_class_wxPyFileSystemHandler",SwigwxPyFileSystemHandlerTowxFileSystemHandler
},
2056 { "_wxFileSystemHandler","_wxPyFileSystemHandler",SwigwxPyFileSystemHandlerTowxFileSystemHandler
},
2057 { "_wxFileSystemHandler","_class_wxFileSystemHandler",0},
2058 { "_wxPCXHandler","_class_wxPCXHandler",0},
2059 { "_wxJPEGHandler","_class_wxJPEGHandler",0},
2060 { "_wxWindowID","_wxCoord",0},
2061 { "_wxWindowID","_wxPrintQuality",0},
2062 { "_wxWindowID","_time_t",0},
2063 { "_wxWindowID","_size_t",0},
2064 { "_wxWindowID","_EBool",0},
2065 { "_wxWindowID","_uint",0},
2066 { "_wxWindowID","_int",0},
2067 { "_wxWindowID","_signed_int",0},
2068 { "_wxWindowID","_unsigned_int",0},
2069 { "_int","_wxCoord",0},
2070 { "_int","_wxPrintQuality",0},
2071 { "_int","_time_t",0},
2072 { "_int","_size_t",0},
2073 { "_int","_EBool",0},
2074 { "_int","_uint",0},
2075 { "_int","_wxWindowID",0},
2076 { "_int","_unsigned_int",0},
2077 { "_int","_signed_int",0},
2078 { "_wxDateTime_t","_unsigned_short",0},
2079 { "_wxDateTime_t","_short",0},
2080 { "_wxDateTime_t","_WXTYPE",0},
2081 { "_wxDateTime","_class_wxDateTime",0},
2082 { "_time_t","_wxCoord",0},
2083 { "_time_t","_wxPrintQuality",0},
2084 { "_time_t","_unsigned_int",0},
2085 { "_time_t","_int",0},
2086 { "_time_t","_wxWindowID",0},
2087 { "_time_t","_uint",0},
2088 { "_time_t","_size_t",0},
2089 { "_wxZipFSHandler","_class_wxZipFSHandler",0},
2090 { "_class_wxTimeSpan","_wxTimeSpan",0},
2091 { "_wxSize","_class_wxSize",0},
2092 { "_wxRegionIterator","_class_wxRegionIterator",0},
2093 { "_class_wxPrinterDC","_wxPrinterDC",0},
2094 { "_class_wxPyFileSystemHandler","_wxPyFileSystemHandler",0},
2095 { "_class_wxPaintDC","_wxPaintDC",0},
2096 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
2097 { "_class_wxIcon","_wxIcon",0},
2098 { "_class_wxColour","_wxColour",0},
2099 { "_class_wxScreenDC","_wxScreenDC",0},
2100 { "_class_wxConfigBase","_wxConfigBase",0},
2101 { "_wxPalette","_class_wxPalette",0},
2102 { "_wxCoord","_int",0},
2103 { "_wxCoord","_signed_int",0},
2104 { "_wxCoord","_unsigned_int",0},
2105 { "_wxCoord","_wxWindowID",0},
2106 { "_wxCoord","_uint",0},
2107 { "_wxCoord","_EBool",0},
2108 { "_wxCoord","_size_t",0},
2109 { "_wxCoord","_time_t",0},
2110 { "_wxCoord","_wxPrintQuality",0},
2111 { "_wxMemoryFSHandler","_class_wxMemoryFSHandler",0},
2112 { "_class_wxDateSpan","_wxDateSpan",0},
2113 { "_wxRegion","_class_wxRegion",0},
2114 { "_wxFileSystem","_class_wxFileSystem",0},
2115 { "_class_wxPCXHandler","_wxPCXHandler",0},
2116 { "_wxTIFFHandler","_class_wxTIFFHandler",0},
2117 { "_class_wxBusyInfo","_wxBusyInfo",0},
2118 { "_class_wxClientDC","_wxClientDC",0},
2119 { "_class_wxSize","_wxSize",0},
2120 { "_class_wxBitmap","_wxBitmap",0},
2121 { "_class_wxMemoryDC","_wxMemoryDC",0},
2122 { "_wxOutputStream","_class_wxOutputStream",0},
2123 { "_class_wxConfig","_wxConfig",0},
2124 { "_class_wxPalette","_wxPalette",0},
2125 { "_class_wxFileSystemHandler","_class_wxMemoryFSHandler",SwigwxMemoryFSHandlerTowxFileSystemHandler
},
2126 { "_class_wxFileSystemHandler","_wxMemoryFSHandler",SwigwxMemoryFSHandlerTowxFileSystemHandler
},
2127 { "_class_wxFileSystemHandler","_class_wxZipFSHandler",SwigwxZipFSHandlerTowxFileSystemHandler
},
2128 { "_class_wxFileSystemHandler","_wxZipFSHandler",SwigwxZipFSHandlerTowxFileSystemHandler
},
2129 { "_class_wxFileSystemHandler","_class_wxInternetFSHandler",SwigwxInternetFSHandlerTowxFileSystemHandler
},
2130 { "_class_wxFileSystemHandler","_wxInternetFSHandler",SwigwxInternetFSHandlerTowxFileSystemHandler
},
2131 { "_class_wxFileSystemHandler","_class_wxPyFileSystemHandler",SwigwxPyFileSystemHandlerTowxFileSystemHandler
},
2132 { "_class_wxFileSystemHandler","_wxPyFileSystemHandler",SwigwxPyFileSystemHandlerTowxFileSystemHandler
},
2133 { "_class_wxFileSystemHandler","_wxFileSystemHandler",0},
2134 { "_class_wxFileSystem","_wxFileSystem",0},
2137 static PyObject
*SWIG_globals
;
2141 SWIGEXPORT(void) initfilesysc() {
2143 SWIG_globals
= SWIG_newvarlink();
2144 m
= Py_InitModule("filesysc", filesyscMethods
);
2145 d
= PyModule_GetDict(m
);
2148 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
2149 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);