2 * FILE : src/mac/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 "pyistream.h"
60 #include <wx/filesys.h>
61 #include <wx/fs_inet.h>
62 #include <wx/fs_mem.h>
63 #include <wx/fs_zip.h>
66 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
72 } else if (target
== Py_None
) {
76 if (!PyTuple_Check(target
)) {
78 target
= PyTuple_New(1);
79 PyTuple_SetItem(target
, 0, o2
);
82 PyTuple_SetItem(o3
, 0, o
);
85 target
= PySequence_Concat(o2
, o3
);
92 // wxPyFileSystemHandler will be the Python class wxFileSystemHandler and handling
93 // the callback functions
94 class wxPyFileSystemHandler
: public wxFileSystemHandler
{
96 wxPyFileSystemHandler() : wxFileSystemHandler() {}
98 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen
);
99 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile
);
100 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst
);
101 DEC_PYCALLBACK_STRING__pure(FindNext
);
103 wxString
GetProtocol(const wxString
& location
) {
104 return wxFileSystemHandler::GetProtocol(location
);
107 wxString
GetLeftLocation(const wxString
& location
) {
108 return wxFileSystemHandler::GetLeftLocation(location
);
111 wxString
GetAnchor(const wxString
& location
) {
112 return wxFileSystemHandler::GetAnchor(location
);
115 wxString
GetRightLocation(const wxString
& location
) {
116 return wxFileSystemHandler::GetRightLocation(location
);
119 wxString
GetMimeTypeFromExt(const wxString
& location
){
120 return wxFileSystemHandler::GetMimeTypeFromExt(location
);
127 IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, CanOpen
);
128 IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, OpenFile
);
129 IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindFirst
);
130 IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindNext
);
132 void __wxMemoryFSHandler_AddFile_wxImage(const wxString
& filename
,
135 wxMemoryFSHandler::AddFile(filename
, image
, type
);
138 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString
& filename
,
139 const wxBitmap
& bitmap
,
141 wxMemoryFSHandler::AddFile(filename
, bitmap
, type
);
144 // void __wxMemoryFSHandler_AddFile_wxString(const wxString& filename,
145 // const wxString& textdata) {
146 // wxMemoryFSHandler::AddFile(filename, textdata);
149 void __wxMemoryFSHandler_AddFile_Data(const wxString
& filename
,
152 wxMemoryFSHandler::AddFile(filename
,
153 (void*)PyString_AsString(data
),
154 (size_t)PyString_Size(data
));
159 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
160 PyObject
* _resultobj
;
164 PyObject
* _obj0
= 0;
165 PyObject
* _argo1
= 0;
166 char *_kwnames
[] = { "filename","image","type", NULL
};
169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOl:__wxMemoryFSHandler_AddFile_wxImage",_kwnames
,&_obj0
,&_argo1
,&_arg2
))
172 _arg0
= wxString_in_helper(_obj0
);
177 if (_argo1
== Py_None
) { _arg1
= NULL
; }
178 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImage_p")) {
179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of __wxMemoryFSHandler_AddFile_wxImage. Expected _wxImage_p.");
184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
185 __wxMemoryFSHandler_AddFile_wxImage(*_arg0
,*_arg1
,_arg2
);
187 wxPyEndAllowThreads(__tstate
);
188 if (PyErr_Occurred()) return NULL
;
189 } Py_INCREF(Py_None
);
190 _resultobj
= Py_None
;
198 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
199 PyObject
* _resultobj
;
203 PyObject
* _obj0
= 0;
204 PyObject
* _argo1
= 0;
205 char *_kwnames
[] = { "filename","bitmap","type", NULL
};
208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOl:__wxMemoryFSHandler_AddFile_wxBitmap",_kwnames
,&_obj0
,&_argo1
,&_arg2
))
211 _arg0
= wxString_in_helper(_obj0
);
216 if (_argo1
== Py_None
) { _arg1
= NULL
; }
217 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
218 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of __wxMemoryFSHandler_AddFile_wxBitmap. Expected _wxBitmap_p.");
223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
224 __wxMemoryFSHandler_AddFile_wxBitmap(*_arg0
,*_arg1
,_arg2
);
226 wxPyEndAllowThreads(__tstate
);
227 if (PyErr_Occurred()) return NULL
;
228 } Py_INCREF(Py_None
);
229 _resultobj
= Py_None
;
237 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
238 PyObject
* _resultobj
;
241 PyObject
* _obj0
= 0;
242 PyObject
* _obj1
= 0;
243 char *_kwnames
[] = { "filename","data", NULL
};
246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:__wxMemoryFSHandler_AddFile_Data",_kwnames
,&_obj0
,&_obj1
))
249 _arg0
= wxString_in_helper(_obj0
);
257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
258 __wxMemoryFSHandler_AddFile_Data(*_arg0
,_arg1
);
260 wxPyEndAllowThreads(__tstate
);
261 if (PyErr_Occurred()) return NULL
;
262 } Py_INCREF(Py_None
);
263 _resultobj
= Py_None
;
271 static void *SwigwxFSFileTowxObject(void *ptr
) {
274 src
= (wxFSFile
*) ptr
;
275 dest
= (wxObject
*) src
;
276 return (void *) dest
;
279 #define new_wxFSFile(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxFSFile(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
280 static PyObject
*_wrap_new_wxFSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
281 PyObject
* _resultobj
;
283 wxInputStream
* _arg0
;
288 wxPyInputStream
* temp
;
290 PyObject
* _obj0
= 0;
291 PyObject
* _obj1
= 0;
292 PyObject
* _obj2
= 0;
293 PyObject
* _obj3
= 0;
294 PyObject
* _argo4
= 0;
295 char *_kwnames
[] = { "stream","loc","mimetype","anchor","modif", NULL
};
299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOOO:new_wxFSFile",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_obj3
,&_argo4
))
302 if (SWIG_GetPtrObj(_obj0
, (void **) &temp
, "_wxPyInputStream_p") == 0) {
303 _arg0
= temp
->m_wxis
;
306 _arg0
= wxPyCBInputStream::create(_obj0
, FALSE
);
308 PyErr_SetString(PyExc_TypeError
,"Expected _wxInputStream_p or Python file-like object.");
315 _arg1
= wxString_in_helper(_obj1
);
320 _arg2
= wxString_in_helper(_obj2
);
325 _arg3
= wxString_in_helper(_obj3
);
330 if (_argo4
== Py_None
) { _arg4
= NULL
; }
331 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxDateTime_p")) {
332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of new_wxFSFile. Expected _wxDateTime_p.");
337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
338 _result
= (wxFSFile
*)new_wxFSFile(_arg0
,*_arg1
,*_arg2
,*_arg3
,*_arg4
);
340 wxPyEndAllowThreads(__tstate
);
341 if (PyErr_Occurred()) return NULL
;
343 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFSFile_p");
344 _resultobj
= Py_BuildValue("s",_ptemp
);
347 _resultobj
= Py_None
;
368 #define wxFSFile_GetStream(_swigobj) (_swigobj->GetStream())
369 static PyObject
*_wrap_wxFSFile_GetStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
370 PyObject
* _resultobj
;
371 wxInputStream
* _result
;
373 PyObject
* _argo0
= 0;
374 char *_kwnames
[] = { "self", NULL
};
377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFSFile_GetStream",_kwnames
,&_argo0
))
380 if (_argo0
== Py_None
) { _arg0
= NULL
; }
381 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFSFile_p")) {
382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFSFile_GetStream. Expected _wxFSFile_p.");
387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
388 _result
= (wxInputStream
*)wxFSFile_GetStream(_arg0
);
390 wxPyEndAllowThreads(__tstate
);
391 if (PyErr_Occurred()) return NULL
;
393 wxPyInputStream
* _ptr
= NULL
;
396 _ptr
= new wxPyInputStream(_result
);
398 _resultobj
= wxPyConstructObject(_ptr
, "wxInputStream", TRUE
);
403 #define wxFSFile_GetMimeType(_swigobj) (_swigobj->GetMimeType())
404 static PyObject
*_wrap_wxFSFile_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
405 PyObject
* _resultobj
;
408 PyObject
* _argo0
= 0;
409 char *_kwnames
[] = { "self", NULL
};
412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFSFile_GetMimeType",_kwnames
,&_argo0
))
415 if (_argo0
== Py_None
) { _arg0
= NULL
; }
416 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFSFile_p")) {
417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFSFile_GetMimeType. Expected _wxFSFile_p.");
422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
423 const wxString
& _result_ref
= wxFSFile_GetMimeType(_arg0
);
424 _result
= (wxString
*) &_result_ref
;
426 wxPyEndAllowThreads(__tstate
);
427 if (PyErr_Occurred()) return NULL
;
430 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
432 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
438 #define wxFSFile_GetLocation(_swigobj) (_swigobj->GetLocation())
439 static PyObject
*_wrap_wxFSFile_GetLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
440 PyObject
* _resultobj
;
443 PyObject
* _argo0
= 0;
444 char *_kwnames
[] = { "self", NULL
};
447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFSFile_GetLocation",_kwnames
,&_argo0
))
450 if (_argo0
== Py_None
) { _arg0
= NULL
; }
451 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFSFile_p")) {
452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFSFile_GetLocation. Expected _wxFSFile_p.");
457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
458 const wxString
& _result_ref
= wxFSFile_GetLocation(_arg0
);
459 _result
= (wxString
*) &_result_ref
;
461 wxPyEndAllowThreads(__tstate
);
462 if (PyErr_Occurred()) return NULL
;
465 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
467 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
473 #define wxFSFile_GetAnchor(_swigobj) (_swigobj->GetAnchor())
474 static PyObject
*_wrap_wxFSFile_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
475 PyObject
* _resultobj
;
478 PyObject
* _argo0
= 0;
479 char *_kwnames
[] = { "self", NULL
};
482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFSFile_GetAnchor",_kwnames
,&_argo0
))
485 if (_argo0
== Py_None
) { _arg0
= NULL
; }
486 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFSFile_p")) {
487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFSFile_GetAnchor. Expected _wxFSFile_p.");
492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
493 const wxString
& _result_ref
= wxFSFile_GetAnchor(_arg0
);
494 _result
= (wxString
*) &_result_ref
;
496 wxPyEndAllowThreads(__tstate
);
497 if (PyErr_Occurred()) return NULL
;
500 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
502 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
508 #define wxFSFile_GetModificationTime(_swigobj) (_swigobj->GetModificationTime())
509 static PyObject
*_wrap_wxFSFile_GetModificationTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
510 PyObject
* _resultobj
;
511 wxDateTime
* _result
;
513 PyObject
* _argo0
= 0;
514 char *_kwnames
[] = { "self", NULL
};
518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFSFile_GetModificationTime",_kwnames
,&_argo0
))
521 if (_argo0
== Py_None
) { _arg0
= NULL
; }
522 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFSFile_p")) {
523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFSFile_GetModificationTime. Expected _wxFSFile_p.");
528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
529 _result
= new wxDateTime (wxFSFile_GetModificationTime(_arg0
));
531 wxPyEndAllowThreads(__tstate
);
532 if (PyErr_Occurred()) return NULL
;
533 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
534 _resultobj
= Py_BuildValue("s",_ptemp
);
538 static void *SwigwxFileSystemHandlerTowxObject(void *ptr
) {
539 wxFileSystemHandler
*src
;
541 src
= (wxFileSystemHandler
*) ptr
;
542 dest
= (wxObject
*) src
;
543 return (void *) dest
;
546 static void *SwigwxPyFileSystemHandlerTowxFileSystemHandler(void *ptr
) {
547 wxPyFileSystemHandler
*src
;
548 wxFileSystemHandler
*dest
;
549 src
= (wxPyFileSystemHandler
*) ptr
;
550 dest
= (wxFileSystemHandler
*) src
;
551 return (void *) dest
;
554 static void *SwigwxPyFileSystemHandlerTowxObject(void *ptr
) {
555 wxPyFileSystemHandler
*src
;
557 src
= (wxPyFileSystemHandler
*) ptr
;
558 dest
= (wxObject
*) src
;
559 return (void *) dest
;
562 #define new_wxFileSystemHandler() (new wxPyFileSystemHandler())
563 static PyObject
*_wrap_new_wxFileSystemHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
564 PyObject
* _resultobj
;
565 wxPyFileSystemHandler
* _result
;
566 char *_kwnames
[] = { NULL
};
570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFileSystemHandler",_kwnames
))
573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
574 _result
= (wxPyFileSystemHandler
*)new_wxFileSystemHandler();
576 wxPyEndAllowThreads(__tstate
);
577 if (PyErr_Occurred()) return NULL
;
579 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyFileSystemHandler_p");
580 _resultobj
= Py_BuildValue("s",_ptemp
);
583 _resultobj
= Py_None
;
588 #define wxFileSystemHandler__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
589 static PyObject
*_wrap_wxFileSystemHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
590 PyObject
* _resultobj
;
591 wxPyFileSystemHandler
* _arg0
;
594 PyObject
* _argo0
= 0;
595 PyObject
* _obj1
= 0;
596 PyObject
* _obj2
= 0;
597 char *_kwnames
[] = { "self","self","_class", NULL
};
600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxFileSystemHandler__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
603 if (_argo0
== Py_None
) { _arg0
= NULL
; }
604 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileSystemHandler_p")) {
605 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystemHandler__setCallbackInfo. Expected _wxPyFileSystemHandler_p.");
616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
617 wxFileSystemHandler__setCallbackInfo(_arg0
,_arg1
,_arg2
);
619 wxPyEndAllowThreads(__tstate
);
620 if (PyErr_Occurred()) return NULL
;
621 } Py_INCREF(Py_None
);
622 _resultobj
= Py_None
;
626 #define wxFileSystemHandler_CanOpen(_swigobj,_swigarg0) (_swigobj->CanOpen(_swigarg0))
627 static PyObject
*_wrap_wxFileSystemHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
628 PyObject
* _resultobj
;
630 wxPyFileSystemHandler
* _arg0
;
632 PyObject
* _argo0
= 0;
633 PyObject
* _obj1
= 0;
634 char *_kwnames
[] = { "self","location", NULL
};
637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileSystemHandler_CanOpen",_kwnames
,&_argo0
,&_obj1
))
640 if (_argo0
== Py_None
) { _arg0
= NULL
; }
641 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileSystemHandler_p")) {
642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystemHandler_CanOpen. Expected _wxPyFileSystemHandler_p.");
647 _arg1
= wxString_in_helper(_obj1
);
652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
653 _result
= (bool )wxFileSystemHandler_CanOpen(_arg0
,*_arg1
);
655 wxPyEndAllowThreads(__tstate
);
656 if (PyErr_Occurred()) return NULL
;
657 } _resultobj
= Py_BuildValue("i",_result
);
665 #define wxFileSystemHandler_OpenFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->OpenFile(_swigarg0,_swigarg1))
666 static PyObject
*_wrap_wxFileSystemHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
667 PyObject
* _resultobj
;
669 wxPyFileSystemHandler
* _arg0
;
670 wxFileSystem
* _arg1
;
672 PyObject
* _argo0
= 0;
673 PyObject
* _argo1
= 0;
674 PyObject
* _obj2
= 0;
675 char *_kwnames
[] = { "self","fs","location", NULL
};
678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxFileSystemHandler_OpenFile",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
681 if (_argo0
== Py_None
) { _arg0
= NULL
; }
682 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileSystemHandler_p")) {
683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystemHandler_OpenFile. Expected _wxPyFileSystemHandler_p.");
688 if (_argo1
== Py_None
) { _arg1
= NULL
; }
689 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileSystem_p")) {
690 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileSystemHandler_OpenFile. Expected _wxFileSystem_p.");
695 _arg2
= wxString_in_helper(_obj2
);
700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
701 _result
= (wxFSFile
*)wxFileSystemHandler_OpenFile(_arg0
,*_arg1
,*_arg2
);
703 wxPyEndAllowThreads(__tstate
);
704 if (PyErr_Occurred()) return NULL
;
705 }{ _resultobj
= wxPyMake_wxObject(_result
); }
713 #define wxFileSystemHandler_FindFirst(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindFirst(_swigarg0,_swigarg1))
714 static PyObject
*_wrap_wxFileSystemHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
715 PyObject
* _resultobj
;
717 wxPyFileSystemHandler
* _arg0
;
719 int _arg2
= (int ) 0;
720 PyObject
* _argo0
= 0;
721 PyObject
* _obj1
= 0;
722 char *_kwnames
[] = { "self","spec","flags", NULL
};
725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxFileSystemHandler_FindFirst",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
728 if (_argo0
== Py_None
) { _arg0
= NULL
; }
729 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileSystemHandler_p")) {
730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystemHandler_FindFirst. Expected _wxPyFileSystemHandler_p.");
735 _arg1
= wxString_in_helper(_obj1
);
740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
741 _result
= new wxString (wxFileSystemHandler_FindFirst(_arg0
,*_arg1
,_arg2
));
743 wxPyEndAllowThreads(__tstate
);
744 if (PyErr_Occurred()) return NULL
;
747 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
749 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
762 #define wxFileSystemHandler_FindNext(_swigobj) (_swigobj->FindNext())
763 static PyObject
*_wrap_wxFileSystemHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
764 PyObject
* _resultobj
;
766 wxPyFileSystemHandler
* _arg0
;
767 PyObject
* _argo0
= 0;
768 char *_kwnames
[] = { "self", NULL
};
771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileSystemHandler_FindNext",_kwnames
,&_argo0
))
774 if (_argo0
== Py_None
) { _arg0
= NULL
; }
775 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileSystemHandler_p")) {
776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystemHandler_FindNext. Expected _wxPyFileSystemHandler_p.");
781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
782 _result
= new wxString (wxFileSystemHandler_FindNext(_arg0
));
784 wxPyEndAllowThreads(__tstate
);
785 if (PyErr_Occurred()) return NULL
;
788 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
790 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
799 #define wxFileSystemHandler_GetProtocol(_swigobj,_swigarg0) (_swigobj->GetProtocol(_swigarg0))
800 static PyObject
*_wrap_wxFileSystemHandler_GetProtocol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
801 PyObject
* _resultobj
;
803 wxPyFileSystemHandler
* _arg0
;
805 PyObject
* _argo0
= 0;
806 PyObject
* _obj1
= 0;
807 char *_kwnames
[] = { "self","location", NULL
};
810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileSystemHandler_GetProtocol",_kwnames
,&_argo0
,&_obj1
))
813 if (_argo0
== Py_None
) { _arg0
= NULL
; }
814 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileSystemHandler_p")) {
815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystemHandler_GetProtocol. Expected _wxPyFileSystemHandler_p.");
820 _arg1
= wxString_in_helper(_obj1
);
825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
826 _result
= new wxString (wxFileSystemHandler_GetProtocol(_arg0
,*_arg1
));
828 wxPyEndAllowThreads(__tstate
);
829 if (PyErr_Occurred()) return NULL
;
832 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
834 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
847 #define wxFileSystemHandler_GetLeftLocation(_swigobj,_swigarg0) (_swigobj->GetLeftLocation(_swigarg0))
848 static PyObject
*_wrap_wxFileSystemHandler_GetLeftLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
849 PyObject
* _resultobj
;
851 wxPyFileSystemHandler
* _arg0
;
853 PyObject
* _argo0
= 0;
854 PyObject
* _obj1
= 0;
855 char *_kwnames
[] = { "self","location", NULL
};
858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileSystemHandler_GetLeftLocation",_kwnames
,&_argo0
,&_obj1
))
861 if (_argo0
== Py_None
) { _arg0
= NULL
; }
862 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileSystemHandler_p")) {
863 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystemHandler_GetLeftLocation. Expected _wxPyFileSystemHandler_p.");
868 _arg1
= wxString_in_helper(_obj1
);
873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
874 _result
= new wxString (wxFileSystemHandler_GetLeftLocation(_arg0
,*_arg1
));
876 wxPyEndAllowThreads(__tstate
);
877 if (PyErr_Occurred()) return NULL
;
880 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
882 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
895 #define wxFileSystemHandler_GetAnchor(_swigobj,_swigarg0) (_swigobj->GetAnchor(_swigarg0))
896 static PyObject
*_wrap_wxFileSystemHandler_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
897 PyObject
* _resultobj
;
899 wxPyFileSystemHandler
* _arg0
;
901 PyObject
* _argo0
= 0;
902 PyObject
* _obj1
= 0;
903 char *_kwnames
[] = { "self","location", NULL
};
906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileSystemHandler_GetAnchor",_kwnames
,&_argo0
,&_obj1
))
909 if (_argo0
== Py_None
) { _arg0
= NULL
; }
910 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileSystemHandler_p")) {
911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystemHandler_GetAnchor. Expected _wxPyFileSystemHandler_p.");
916 _arg1
= wxString_in_helper(_obj1
);
921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
922 _result
= new wxString (wxFileSystemHandler_GetAnchor(_arg0
,*_arg1
));
924 wxPyEndAllowThreads(__tstate
);
925 if (PyErr_Occurred()) return NULL
;
928 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
930 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
943 #define wxFileSystemHandler_GetRightLocation(_swigobj,_swigarg0) (_swigobj->GetRightLocation(_swigarg0))
944 static PyObject
*_wrap_wxFileSystemHandler_GetRightLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
945 PyObject
* _resultobj
;
947 wxPyFileSystemHandler
* _arg0
;
949 PyObject
* _argo0
= 0;
950 PyObject
* _obj1
= 0;
951 char *_kwnames
[] = { "self","location", NULL
};
954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileSystemHandler_GetRightLocation",_kwnames
,&_argo0
,&_obj1
))
957 if (_argo0
== Py_None
) { _arg0
= NULL
; }
958 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileSystemHandler_p")) {
959 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystemHandler_GetRightLocation. Expected _wxPyFileSystemHandler_p.");
964 _arg1
= wxString_in_helper(_obj1
);
969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
970 _result
= new wxString (wxFileSystemHandler_GetRightLocation(_arg0
,*_arg1
));
972 wxPyEndAllowThreads(__tstate
);
973 if (PyErr_Occurred()) return NULL
;
976 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
978 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
991 #define wxFileSystemHandler_GetMimeTypeFromExt(_swigobj,_swigarg0) (_swigobj->GetMimeTypeFromExt(_swigarg0))
992 static PyObject
*_wrap_wxFileSystemHandler_GetMimeTypeFromExt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
993 PyObject
* _resultobj
;
995 wxPyFileSystemHandler
* _arg0
;
997 PyObject
* _argo0
= 0;
998 PyObject
* _obj1
= 0;
999 char *_kwnames
[] = { "self","location", NULL
};
1002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileSystemHandler_GetMimeTypeFromExt",_kwnames
,&_argo0
,&_obj1
))
1005 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1006 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileSystemHandler_p")) {
1007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystemHandler_GetMimeTypeFromExt. Expected _wxPyFileSystemHandler_p.");
1012 _arg1
= wxString_in_helper(_obj1
);
1017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1018 _result
= new wxString (wxFileSystemHandler_GetMimeTypeFromExt(_arg0
,*_arg1
));
1020 wxPyEndAllowThreads(__tstate
);
1021 if (PyErr_Occurred()) return NULL
;
1024 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
1026 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1039 static void *SwigwxFileSystemTowxObject(void *ptr
) {
1042 src
= (wxFileSystem
*) ptr
;
1043 dest
= (wxObject
*) src
;
1044 return (void *) dest
;
1047 #define new_wxFileSystem() (new wxFileSystem())
1048 static PyObject
*_wrap_new_wxFileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1049 PyObject
* _resultobj
;
1050 wxFileSystem
* _result
;
1051 char *_kwnames
[] = { NULL
};
1055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFileSystem",_kwnames
))
1058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1059 _result
= (wxFileSystem
*)new_wxFileSystem();
1061 wxPyEndAllowThreads(__tstate
);
1062 if (PyErr_Occurred()) return NULL
;
1064 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileSystem_p");
1065 _resultobj
= Py_BuildValue("s",_ptemp
);
1068 _resultobj
= Py_None
;
1073 #define wxFileSystem_ChangePathTo(_swigobj,_swigarg0,_swigarg1) (_swigobj->ChangePathTo(_swigarg0,_swigarg1))
1074 static PyObject
*_wrap_wxFileSystem_ChangePathTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1075 PyObject
* _resultobj
;
1076 wxFileSystem
* _arg0
;
1078 bool _arg2
= (bool ) FALSE
;
1079 PyObject
* _argo0
= 0;
1080 PyObject
* _obj1
= 0;
1081 int tempbool2
= (int) FALSE
;
1082 char *_kwnames
[] = { "self","location","is_dir", NULL
};
1085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxFileSystem_ChangePathTo",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
1088 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1089 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileSystem_p")) {
1090 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystem_ChangePathTo. Expected _wxFileSystem_p.");
1095 _arg1
= wxString_in_helper(_obj1
);
1099 _arg2
= (bool ) tempbool2
;
1101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1102 wxFileSystem_ChangePathTo(_arg0
,*_arg1
,_arg2
);
1104 wxPyEndAllowThreads(__tstate
);
1105 if (PyErr_Occurred()) return NULL
;
1106 } Py_INCREF(Py_None
);
1107 _resultobj
= Py_None
;
1115 #define wxFileSystem_GetPath(_swigobj) (_swigobj->GetPath())
1116 static PyObject
*_wrap_wxFileSystem_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1117 PyObject
* _resultobj
;
1119 wxFileSystem
* _arg0
;
1120 PyObject
* _argo0
= 0;
1121 char *_kwnames
[] = { "self", NULL
};
1124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileSystem_GetPath",_kwnames
,&_argo0
))
1127 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1128 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileSystem_p")) {
1129 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystem_GetPath. Expected _wxFileSystem_p.");
1134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1135 _result
= new wxString (wxFileSystem_GetPath(_arg0
));
1137 wxPyEndAllowThreads(__tstate
);
1138 if (PyErr_Occurred()) return NULL
;
1141 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
1143 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1152 #define wxFileSystem_OpenFile(_swigobj,_swigarg0) (_swigobj->OpenFile(_swigarg0))
1153 static PyObject
*_wrap_wxFileSystem_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1154 PyObject
* _resultobj
;
1156 wxFileSystem
* _arg0
;
1158 PyObject
* _argo0
= 0;
1159 PyObject
* _obj1
= 0;
1160 char *_kwnames
[] = { "self","location", NULL
};
1163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileSystem_OpenFile",_kwnames
,&_argo0
,&_obj1
))
1166 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1167 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileSystem_p")) {
1168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystem_OpenFile. Expected _wxFileSystem_p.");
1173 _arg1
= wxString_in_helper(_obj1
);
1178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1179 _result
= (wxFSFile
*)wxFileSystem_OpenFile(_arg0
,*_arg1
);
1181 wxPyEndAllowThreads(__tstate
);
1182 if (PyErr_Occurred()) return NULL
;
1183 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1191 #define wxFileSystem_FindFirst(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindFirst(_swigarg0,_swigarg1))
1192 static PyObject
*_wrap_wxFileSystem_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1193 PyObject
* _resultobj
;
1195 wxFileSystem
* _arg0
;
1197 int _arg2
= (int ) 0;
1198 PyObject
* _argo0
= 0;
1199 PyObject
* _obj1
= 0;
1200 char *_kwnames
[] = { "self","spec","flags", NULL
};
1203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxFileSystem_FindFirst",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1206 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1207 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileSystem_p")) {
1208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystem_FindFirst. Expected _wxFileSystem_p.");
1213 _arg1
= wxString_in_helper(_obj1
);
1218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1219 _result
= new wxString (wxFileSystem_FindFirst(_arg0
,*_arg1
,_arg2
));
1221 wxPyEndAllowThreads(__tstate
);
1222 if (PyErr_Occurred()) return NULL
;
1225 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
1227 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1240 #define wxFileSystem_FindNext(_swigobj) (_swigobj->FindNext())
1241 static PyObject
*_wrap_wxFileSystem_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1242 PyObject
* _resultobj
;
1244 wxFileSystem
* _arg0
;
1245 PyObject
* _argo0
= 0;
1246 char *_kwnames
[] = { "self", NULL
};
1249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileSystem_FindNext",_kwnames
,&_argo0
))
1252 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1253 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileSystem_p")) {
1254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystem_FindNext. Expected _wxFileSystem_p.");
1259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1260 _result
= new wxString (wxFileSystem_FindNext(_arg0
));
1262 wxPyEndAllowThreads(__tstate
);
1263 if (PyErr_Occurred()) return NULL
;
1266 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
1268 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1277 static PyObject
*_wrap_wxFileSystem_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1278 PyObject
* _resultobj
;
1279 wxFileSystemHandler
* _arg0
;
1280 PyObject
* _argo0
= 0;
1281 char *_kwnames
[] = { "handler", NULL
};
1284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileSystem_AddHandler",_kwnames
,&_argo0
))
1287 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1288 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileSystemHandler_p")) {
1289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystem_AddHandler. Expected _wxFileSystemHandler_p.");
1294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1295 wxFileSystem::AddHandler(_arg0
);
1297 wxPyEndAllowThreads(__tstate
);
1298 if (PyErr_Occurred()) return NULL
;
1299 } Py_INCREF(Py_None
);
1300 _resultobj
= Py_None
;
1304 static PyObject
*_wrap_wxFileSystem_CleanUpHandlers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1305 PyObject
* _resultobj
;
1306 char *_kwnames
[] = { NULL
};
1309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxFileSystem_CleanUpHandlers",_kwnames
))
1312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1313 wxFileSystem::CleanUpHandlers();
1315 wxPyEndAllowThreads(__tstate
);
1316 if (PyErr_Occurred()) return NULL
;
1317 } Py_INCREF(Py_None
);
1318 _resultobj
= Py_None
;
1322 static void *SwigwxInternetFSHandlerTowxFileSystemHandler(void *ptr
) {
1323 wxInternetFSHandler
*src
;
1324 wxFileSystemHandler
*dest
;
1325 src
= (wxInternetFSHandler
*) ptr
;
1326 dest
= (wxFileSystemHandler
*) src
;
1327 return (void *) dest
;
1330 static void *SwigwxInternetFSHandlerTowxObject(void *ptr
) {
1331 wxInternetFSHandler
*src
;
1333 src
= (wxInternetFSHandler
*) ptr
;
1334 dest
= (wxObject
*) src
;
1335 return (void *) dest
;
1338 #define new_wxInternetFSHandler() (new wxInternetFSHandler())
1339 static PyObject
*_wrap_new_wxInternetFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1340 PyObject
* _resultobj
;
1341 wxInternetFSHandler
* _result
;
1342 char *_kwnames
[] = { NULL
};
1346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxInternetFSHandler",_kwnames
))
1349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1350 _result
= (wxInternetFSHandler
*)new_wxInternetFSHandler();
1352 wxPyEndAllowThreads(__tstate
);
1353 if (PyErr_Occurred()) return NULL
;
1355 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxInternetFSHandler_p");
1356 _resultobj
= Py_BuildValue("s",_ptemp
);
1359 _resultobj
= Py_None
;
1364 #define wxInternetFSHandler_CanOpen(_swigobj,_swigarg0) (_swigobj->CanOpen(_swigarg0))
1365 static PyObject
*_wrap_wxInternetFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1366 PyObject
* _resultobj
;
1368 wxInternetFSHandler
* _arg0
;
1370 PyObject
* _argo0
= 0;
1371 PyObject
* _obj1
= 0;
1372 char *_kwnames
[] = { "self","location", NULL
};
1375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxInternetFSHandler_CanOpen",_kwnames
,&_argo0
,&_obj1
))
1378 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1379 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxInternetFSHandler_p")) {
1380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxInternetFSHandler_CanOpen. Expected _wxInternetFSHandler_p.");
1385 _arg1
= wxString_in_helper(_obj1
);
1390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1391 _result
= (bool )wxInternetFSHandler_CanOpen(_arg0
,*_arg1
);
1393 wxPyEndAllowThreads(__tstate
);
1394 if (PyErr_Occurred()) return NULL
;
1395 } _resultobj
= Py_BuildValue("i",_result
);
1403 #define wxInternetFSHandler_OpenFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->OpenFile(_swigarg0,_swigarg1))
1404 static PyObject
*_wrap_wxInternetFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1405 PyObject
* _resultobj
;
1407 wxInternetFSHandler
* _arg0
;
1408 wxFileSystem
* _arg1
;
1410 PyObject
* _argo0
= 0;
1411 PyObject
* _argo1
= 0;
1412 PyObject
* _obj2
= 0;
1413 char *_kwnames
[] = { "self","fs","location", NULL
};
1416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxInternetFSHandler_OpenFile",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
1419 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1420 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxInternetFSHandler_p")) {
1421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxInternetFSHandler_OpenFile. Expected _wxInternetFSHandler_p.");
1426 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1427 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileSystem_p")) {
1428 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxInternetFSHandler_OpenFile. Expected _wxFileSystem_p.");
1433 _arg2
= wxString_in_helper(_obj2
);
1438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1439 _result
= (wxFSFile
*)wxInternetFSHandler_OpenFile(_arg0
,*_arg1
,*_arg2
);
1441 wxPyEndAllowThreads(__tstate
);
1442 if (PyErr_Occurred()) return NULL
;
1443 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1451 static void *SwigwxZipFSHandlerTowxFileSystemHandler(void *ptr
) {
1452 wxZipFSHandler
*src
;
1453 wxFileSystemHandler
*dest
;
1454 src
= (wxZipFSHandler
*) ptr
;
1455 dest
= (wxFileSystemHandler
*) src
;
1456 return (void *) dest
;
1459 static void *SwigwxZipFSHandlerTowxObject(void *ptr
) {
1460 wxZipFSHandler
*src
;
1462 src
= (wxZipFSHandler
*) ptr
;
1463 dest
= (wxObject
*) src
;
1464 return (void *) dest
;
1467 #define new_wxZipFSHandler() (new wxZipFSHandler())
1468 static PyObject
*_wrap_new_wxZipFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1469 PyObject
* _resultobj
;
1470 wxZipFSHandler
* _result
;
1471 char *_kwnames
[] = { NULL
};
1475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxZipFSHandler",_kwnames
))
1478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1479 _result
= (wxZipFSHandler
*)new_wxZipFSHandler();
1481 wxPyEndAllowThreads(__tstate
);
1482 if (PyErr_Occurred()) return NULL
;
1484 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxZipFSHandler_p");
1485 _resultobj
= Py_BuildValue("s",_ptemp
);
1488 _resultobj
= Py_None
;
1493 #define wxZipFSHandler_CanOpen(_swigobj,_swigarg0) (_swigobj->CanOpen(_swigarg0))
1494 static PyObject
*_wrap_wxZipFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1495 PyObject
* _resultobj
;
1497 wxZipFSHandler
* _arg0
;
1499 PyObject
* _argo0
= 0;
1500 PyObject
* _obj1
= 0;
1501 char *_kwnames
[] = { "self","location", NULL
};
1504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxZipFSHandler_CanOpen",_kwnames
,&_argo0
,&_obj1
))
1507 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1508 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxZipFSHandler_p")) {
1509 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxZipFSHandler_CanOpen. Expected _wxZipFSHandler_p.");
1514 _arg1
= wxString_in_helper(_obj1
);
1519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1520 _result
= (bool )wxZipFSHandler_CanOpen(_arg0
,*_arg1
);
1522 wxPyEndAllowThreads(__tstate
);
1523 if (PyErr_Occurred()) return NULL
;
1524 } _resultobj
= Py_BuildValue("i",_result
);
1532 #define wxZipFSHandler_OpenFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->OpenFile(_swigarg0,_swigarg1))
1533 static PyObject
*_wrap_wxZipFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1534 PyObject
* _resultobj
;
1536 wxZipFSHandler
* _arg0
;
1537 wxFileSystem
* _arg1
;
1539 PyObject
* _argo0
= 0;
1540 PyObject
* _argo1
= 0;
1541 PyObject
* _obj2
= 0;
1542 char *_kwnames
[] = { "self","fs","location", NULL
};
1545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxZipFSHandler_OpenFile",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
1548 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1549 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxZipFSHandler_p")) {
1550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxZipFSHandler_OpenFile. Expected _wxZipFSHandler_p.");
1555 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1556 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileSystem_p")) {
1557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxZipFSHandler_OpenFile. Expected _wxFileSystem_p.");
1562 _arg2
= wxString_in_helper(_obj2
);
1567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1568 _result
= (wxFSFile
*)wxZipFSHandler_OpenFile(_arg0
,*_arg1
,*_arg2
);
1570 wxPyEndAllowThreads(__tstate
);
1571 if (PyErr_Occurred()) return NULL
;
1572 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1580 #define wxZipFSHandler_FindFirst(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindFirst(_swigarg0,_swigarg1))
1581 static PyObject
*_wrap_wxZipFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1582 PyObject
* _resultobj
;
1584 wxZipFSHandler
* _arg0
;
1586 int _arg2
= (int ) 0;
1587 PyObject
* _argo0
= 0;
1588 PyObject
* _obj1
= 0;
1589 char *_kwnames
[] = { "self","spec","flags", NULL
};
1592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxZipFSHandler_FindFirst",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1595 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1596 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxZipFSHandler_p")) {
1597 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxZipFSHandler_FindFirst. Expected _wxZipFSHandler_p.");
1602 _arg1
= wxString_in_helper(_obj1
);
1607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1608 _result
= new wxString (wxZipFSHandler_FindFirst(_arg0
,*_arg1
,_arg2
));
1610 wxPyEndAllowThreads(__tstate
);
1611 if (PyErr_Occurred()) return NULL
;
1614 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
1616 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1629 #define wxZipFSHandler_FindNext(_swigobj) (_swigobj->FindNext())
1630 static PyObject
*_wrap_wxZipFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1631 PyObject
* _resultobj
;
1633 wxZipFSHandler
* _arg0
;
1634 PyObject
* _argo0
= 0;
1635 char *_kwnames
[] = { "self", NULL
};
1638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxZipFSHandler_FindNext",_kwnames
,&_argo0
))
1641 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1642 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxZipFSHandler_p")) {
1643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxZipFSHandler_FindNext. Expected _wxZipFSHandler_p.");
1648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1649 _result
= new wxString (wxZipFSHandler_FindNext(_arg0
));
1651 wxPyEndAllowThreads(__tstate
);
1652 if (PyErr_Occurred()) return NULL
;
1655 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
1657 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1666 static void *SwigwxMemoryFSHandlerTowxFileSystemHandler(void *ptr
) {
1667 wxMemoryFSHandler
*src
;
1668 wxFileSystemHandler
*dest
;
1669 src
= (wxMemoryFSHandler
*) ptr
;
1670 dest
= (wxFileSystemHandler
*) src
;
1671 return (void *) dest
;
1674 static void *SwigwxMemoryFSHandlerTowxObject(void *ptr
) {
1675 wxMemoryFSHandler
*src
;
1677 src
= (wxMemoryFSHandler
*) ptr
;
1678 dest
= (wxObject
*) src
;
1679 return (void *) dest
;
1682 #define new_wxMemoryFSHandler() (new wxMemoryFSHandler())
1683 static PyObject
*_wrap_new_wxMemoryFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1684 PyObject
* _resultobj
;
1685 wxMemoryFSHandler
* _result
;
1686 char *_kwnames
[] = { NULL
};
1690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMemoryFSHandler",_kwnames
))
1693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1694 _result
= (wxMemoryFSHandler
*)new_wxMemoryFSHandler();
1696 wxPyEndAllowThreads(__tstate
);
1697 if (PyErr_Occurred()) return NULL
;
1699 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMemoryFSHandler_p");
1700 _resultobj
= Py_BuildValue("s",_ptemp
);
1703 _resultobj
= Py_None
;
1708 static PyObject
*_wrap_wxMemoryFSHandler_RemoveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1709 PyObject
* _resultobj
;
1711 PyObject
* _obj0
= 0;
1712 char *_kwnames
[] = { "filename", NULL
};
1715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMemoryFSHandler_RemoveFile",_kwnames
,&_obj0
))
1718 _arg0
= wxString_in_helper(_obj0
);
1723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1724 wxMemoryFSHandler::RemoveFile(*_arg0
);
1726 wxPyEndAllowThreads(__tstate
);
1727 if (PyErr_Occurred()) return NULL
;
1728 } Py_INCREF(Py_None
);
1729 _resultobj
= Py_None
;
1737 #define wxMemoryFSHandler_CanOpen(_swigobj,_swigarg0) (_swigobj->CanOpen(_swigarg0))
1738 static PyObject
*_wrap_wxMemoryFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1739 PyObject
* _resultobj
;
1741 wxMemoryFSHandler
* _arg0
;
1743 PyObject
* _argo0
= 0;
1744 PyObject
* _obj1
= 0;
1745 char *_kwnames
[] = { "self","location", NULL
};
1748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMemoryFSHandler_CanOpen",_kwnames
,&_argo0
,&_obj1
))
1751 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1752 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMemoryFSHandler_p")) {
1753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryFSHandler_CanOpen. Expected _wxMemoryFSHandler_p.");
1758 _arg1
= wxString_in_helper(_obj1
);
1763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1764 _result
= (bool )wxMemoryFSHandler_CanOpen(_arg0
,*_arg1
);
1766 wxPyEndAllowThreads(__tstate
);
1767 if (PyErr_Occurred()) return NULL
;
1768 } _resultobj
= Py_BuildValue("i",_result
);
1776 #define wxMemoryFSHandler_OpenFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->OpenFile(_swigarg0,_swigarg1))
1777 static PyObject
*_wrap_wxMemoryFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1778 PyObject
* _resultobj
;
1780 wxMemoryFSHandler
* _arg0
;
1781 wxFileSystem
* _arg1
;
1783 PyObject
* _argo0
= 0;
1784 PyObject
* _argo1
= 0;
1785 PyObject
* _obj2
= 0;
1786 char *_kwnames
[] = { "self","fs","location", NULL
};
1789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMemoryFSHandler_OpenFile",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
1792 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1793 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMemoryFSHandler_p")) {
1794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryFSHandler_OpenFile. Expected _wxMemoryFSHandler_p.");
1799 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1800 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileSystem_p")) {
1801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMemoryFSHandler_OpenFile. Expected _wxFileSystem_p.");
1806 _arg2
= wxString_in_helper(_obj2
);
1811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1812 _result
= (wxFSFile
*)wxMemoryFSHandler_OpenFile(_arg0
,*_arg1
,*_arg2
);
1814 wxPyEndAllowThreads(__tstate
);
1815 if (PyErr_Occurred()) return NULL
;
1816 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1824 #define wxMemoryFSHandler_FindFirst(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindFirst(_swigarg0,_swigarg1))
1825 static PyObject
*_wrap_wxMemoryFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1826 PyObject
* _resultobj
;
1828 wxMemoryFSHandler
* _arg0
;
1830 int _arg2
= (int ) 0;
1831 PyObject
* _argo0
= 0;
1832 PyObject
* _obj1
= 0;
1833 char *_kwnames
[] = { "self","spec","flags", NULL
};
1836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxMemoryFSHandler_FindFirst",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1839 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1840 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMemoryFSHandler_p")) {
1841 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryFSHandler_FindFirst. Expected _wxMemoryFSHandler_p.");
1846 _arg1
= wxString_in_helper(_obj1
);
1851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1852 _result
= new wxString (wxMemoryFSHandler_FindFirst(_arg0
,*_arg1
,_arg2
));
1854 wxPyEndAllowThreads(__tstate
);
1855 if (PyErr_Occurred()) return NULL
;
1858 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
1860 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1873 #define wxMemoryFSHandler_FindNext(_swigobj) (_swigobj->FindNext())
1874 static PyObject
*_wrap_wxMemoryFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1875 PyObject
* _resultobj
;
1877 wxMemoryFSHandler
* _arg0
;
1878 PyObject
* _argo0
= 0;
1879 char *_kwnames
[] = { "self", NULL
};
1882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMemoryFSHandler_FindNext",_kwnames
,&_argo0
))
1885 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1886 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMemoryFSHandler_p")) {
1887 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryFSHandler_FindNext. Expected _wxMemoryFSHandler_p.");
1892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1893 _result
= new wxString (wxMemoryFSHandler_FindNext(_arg0
));
1895 wxPyEndAllowThreads(__tstate
);
1896 if (PyErr_Occurred()) return NULL
;
1899 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
1901 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1910 static PyMethodDef filesyscMethods
[] = {
1911 { "wxMemoryFSHandler_FindNext", (PyCFunction
) _wrap_wxMemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
1912 { "wxMemoryFSHandler_FindFirst", (PyCFunction
) _wrap_wxMemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
1913 { "wxMemoryFSHandler_OpenFile", (PyCFunction
) _wrap_wxMemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
1914 { "wxMemoryFSHandler_CanOpen", (PyCFunction
) _wrap_wxMemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
1915 { "wxMemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_wxMemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
},
1916 { "new_wxMemoryFSHandler", (PyCFunction
) _wrap_new_wxMemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
1917 { "wxZipFSHandler_FindNext", (PyCFunction
) _wrap_wxZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
1918 { "wxZipFSHandler_FindFirst", (PyCFunction
) _wrap_wxZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
1919 { "wxZipFSHandler_OpenFile", (PyCFunction
) _wrap_wxZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
1920 { "wxZipFSHandler_CanOpen", (PyCFunction
) _wrap_wxZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
1921 { "new_wxZipFSHandler", (PyCFunction
) _wrap_new_wxZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
1922 { "wxInternetFSHandler_OpenFile", (PyCFunction
) _wrap_wxInternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
1923 { "wxInternetFSHandler_CanOpen", (PyCFunction
) _wrap_wxInternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
1924 { "new_wxInternetFSHandler", (PyCFunction
) _wrap_new_wxInternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
1925 { "wxFileSystem_CleanUpHandlers", (PyCFunction
) _wrap_wxFileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
},
1926 { "wxFileSystem_AddHandler", (PyCFunction
) _wrap_wxFileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
1927 { "wxFileSystem_FindNext", (PyCFunction
) _wrap_wxFileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
1928 { "wxFileSystem_FindFirst", (PyCFunction
) _wrap_wxFileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
1929 { "wxFileSystem_OpenFile", (PyCFunction
) _wrap_wxFileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
1930 { "wxFileSystem_GetPath", (PyCFunction
) _wrap_wxFileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
1931 { "wxFileSystem_ChangePathTo", (PyCFunction
) _wrap_wxFileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
},
1932 { "new_wxFileSystem", (PyCFunction
) _wrap_new_wxFileSystem
, METH_VARARGS
| METH_KEYWORDS
},
1933 { "wxFileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_wxFileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
},
1934 { "wxFileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_wxFileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
},
1935 { "wxFileSystemHandler_GetAnchor", (PyCFunction
) _wrap_wxFileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
1936 { "wxFileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_wxFileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
},
1937 { "wxFileSystemHandler_GetProtocol", (PyCFunction
) _wrap_wxFileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
},
1938 { "wxFileSystemHandler_FindNext", (PyCFunction
) _wrap_wxFileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
1939 { "wxFileSystemHandler_FindFirst", (PyCFunction
) _wrap_wxFileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
1940 { "wxFileSystemHandler_OpenFile", (PyCFunction
) _wrap_wxFileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
1941 { "wxFileSystemHandler_CanOpen", (PyCFunction
) _wrap_wxFileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
1942 { "wxFileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_wxFileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
1943 { "new_wxFileSystemHandler", (PyCFunction
) _wrap_new_wxFileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
},
1944 { "wxFSFile_GetModificationTime", (PyCFunction
) _wrap_wxFSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
},
1945 { "wxFSFile_GetAnchor", (PyCFunction
) _wrap_wxFSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
1946 { "wxFSFile_GetLocation", (PyCFunction
) _wrap_wxFSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
},
1947 { "wxFSFile_GetMimeType", (PyCFunction
) _wrap_wxFSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
1948 { "wxFSFile_GetStream", (PyCFunction
) _wrap_wxFSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
},
1949 { "new_wxFSFile", (PyCFunction
) _wrap_new_wxFSFile
, METH_VARARGS
| METH_KEYWORDS
},
1950 { "__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
},
1951 { "__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
1952 { "__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
},
1959 * This table is used by the pointer type-checker
1961 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
1962 { "_signed_long","_long",0},
1963 { "_wxPrintQuality","_wxCoord",0},
1964 { "_wxPrintQuality","_int",0},
1965 { "_wxPrintQuality","_signed_int",0},
1966 { "_wxPrintQuality","_unsigned_int",0},
1967 { "_wxPrintQuality","_wxWindowID",0},
1968 { "_wxPrintQuality","_uint",0},
1969 { "_wxPrintQuality","_EBool",0},
1970 { "_wxPrintQuality","_size_t",0},
1971 { "_wxPrintQuality","_time_t",0},
1972 { "_byte","_unsigned_char",0},
1973 { "_long","_unsigned_long",0},
1974 { "_long","_signed_long",0},
1975 { "_size_t","_wxCoord",0},
1976 { "_size_t","_wxPrintQuality",0},
1977 { "_size_t","_time_t",0},
1978 { "_size_t","_unsigned_int",0},
1979 { "_size_t","_int",0},
1980 { "_size_t","_wxWindowID",0},
1981 { "_size_t","_uint",0},
1982 { "_uint","_wxCoord",0},
1983 { "_uint","_wxPrintQuality",0},
1984 { "_uint","_time_t",0},
1985 { "_uint","_size_t",0},
1986 { "_uint","_unsigned_int",0},
1987 { "_uint","_int",0},
1988 { "_uint","_wxWindowID",0},
1989 { "_wxChar","_char",0},
1990 { "_char","_wxChar",0},
1991 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
1992 { "_EBool","_wxCoord",0},
1993 { "_EBool","_wxPrintQuality",0},
1994 { "_EBool","_signed_int",0},
1995 { "_EBool","_int",0},
1996 { "_EBool","_wxWindowID",0},
1997 { "_unsigned_long","_long",0},
1998 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
1999 { "_signed_int","_wxCoord",0},
2000 { "_signed_int","_wxPrintQuality",0},
2001 { "_signed_int","_EBool",0},
2002 { "_signed_int","_wxWindowID",0},
2003 { "_signed_int","_int",0},
2004 { "_WXTYPE","_wxDateTime_t",0},
2005 { "_WXTYPE","_short",0},
2006 { "_WXTYPE","_signed_short",0},
2007 { "_WXTYPE","_unsigned_short",0},
2008 { "_unsigned_short","_wxDateTime_t",0},
2009 { "_unsigned_short","_WXTYPE",0},
2010 { "_unsigned_short","_short",0},
2011 { "_wxObject","_wxMemoryFSHandler",SwigwxMemoryFSHandlerTowxObject
},
2012 { "_wxObject","_wxZipFSHandler",SwigwxZipFSHandlerTowxObject
},
2013 { "_wxObject","_wxInternetFSHandler",SwigwxInternetFSHandlerTowxObject
},
2014 { "_wxObject","_wxFileSystem",SwigwxFileSystemTowxObject
},
2015 { "_wxObject","_wxPyFileSystemHandler",SwigwxPyFileSystemHandlerTowxObject
},
2016 { "_wxObject","_wxFileSystemHandler",SwigwxFileSystemHandlerTowxObject
},
2017 { "_wxObject","_wxFSFile",SwigwxFSFileTowxObject
},
2018 { "_signed_short","_WXTYPE",0},
2019 { "_signed_short","_short",0},
2020 { "_unsigned_char","_byte",0},
2021 { "_unsigned_int","_wxCoord",0},
2022 { "_unsigned_int","_wxPrintQuality",0},
2023 { "_unsigned_int","_time_t",0},
2024 { "_unsigned_int","_size_t",0},
2025 { "_unsigned_int","_uint",0},
2026 { "_unsigned_int","_wxWindowID",0},
2027 { "_unsigned_int","_int",0},
2028 { "_short","_wxDateTime_t",0},
2029 { "_short","_WXTYPE",0},
2030 { "_short","_unsigned_short",0},
2031 { "_short","_signed_short",0},
2032 { "_wxFileSystemHandler","_wxMemoryFSHandler",SwigwxMemoryFSHandlerTowxFileSystemHandler
},
2033 { "_wxFileSystemHandler","_wxZipFSHandler",SwigwxZipFSHandlerTowxFileSystemHandler
},
2034 { "_wxFileSystemHandler","_wxInternetFSHandler",SwigwxInternetFSHandlerTowxFileSystemHandler
},
2035 { "_wxFileSystemHandler","_wxPyFileSystemHandler",SwigwxPyFileSystemHandlerTowxFileSystemHandler
},
2036 { "_wxWindowID","_wxCoord",0},
2037 { "_wxWindowID","_wxPrintQuality",0},
2038 { "_wxWindowID","_time_t",0},
2039 { "_wxWindowID","_size_t",0},
2040 { "_wxWindowID","_EBool",0},
2041 { "_wxWindowID","_uint",0},
2042 { "_wxWindowID","_int",0},
2043 { "_wxWindowID","_signed_int",0},
2044 { "_wxWindowID","_unsigned_int",0},
2045 { "_int","_wxCoord",0},
2046 { "_int","_wxPrintQuality",0},
2047 { "_int","_time_t",0},
2048 { "_int","_size_t",0},
2049 { "_int","_EBool",0},
2050 { "_int","_uint",0},
2051 { "_int","_wxWindowID",0},
2052 { "_int","_unsigned_int",0},
2053 { "_int","_signed_int",0},
2054 { "_wxDateTime_t","_unsigned_short",0},
2055 { "_wxDateTime_t","_short",0},
2056 { "_wxDateTime_t","_WXTYPE",0},
2057 { "_time_t","_wxCoord",0},
2058 { "_time_t","_wxPrintQuality",0},
2059 { "_time_t","_unsigned_int",0},
2060 { "_time_t","_int",0},
2061 { "_time_t","_wxWindowID",0},
2062 { "_time_t","_uint",0},
2063 { "_time_t","_size_t",0},
2064 { "_wxCoord","_int",0},
2065 { "_wxCoord","_signed_int",0},
2066 { "_wxCoord","_unsigned_int",0},
2067 { "_wxCoord","_wxWindowID",0},
2068 { "_wxCoord","_uint",0},
2069 { "_wxCoord","_EBool",0},
2070 { "_wxCoord","_size_t",0},
2071 { "_wxCoord","_time_t",0},
2072 { "_wxCoord","_wxPrintQuality",0},
2075 static PyObject
*SWIG_globals
;
2079 SWIGEXPORT(void) initfilesysc() {
2081 SWIG_globals
= SWIG_newvarlink();
2082 m
= Py_InitModule("filesysc", filesyscMethods
);
2083 d
= PyModule_GetDict(m
);
2085 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
2088 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
2089 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);