2 * FILE : src/msw/filesys.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initfilesysc
56 #define SWIG_name "filesysc"
59 #include "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_Data(const wxString
& filename
,
147 wxMemoryFSHandler::AddFile(filename
,
148 // TODO: Verify data type
149 (void*)PyString_AsString(data
),
150 (size_t)PyString_Size(data
));
155 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
156 PyObject
* _resultobj
;
160 PyObject
* _obj0
= 0;
161 PyObject
* _argo1
= 0;
162 char *_kwnames
[] = { "filename","image","type", NULL
};
165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOl:__wxMemoryFSHandler_AddFile_wxImage",_kwnames
,&_obj0
,&_argo1
,&_arg2
))
168 _arg0
= wxString_in_helper(_obj0
);
173 if (_argo1
== Py_None
) { _arg1
= NULL
; }
174 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImage_p")) {
175 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of __wxMemoryFSHandler_AddFile_wxImage. Expected _wxImage_p.");
180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
181 __wxMemoryFSHandler_AddFile_wxImage(*_arg0
,*_arg1
,_arg2
);
183 wxPyEndAllowThreads(__tstate
);
184 if (PyErr_Occurred()) return NULL
;
185 } Py_INCREF(Py_None
);
186 _resultobj
= Py_None
;
194 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
195 PyObject
* _resultobj
;
199 PyObject
* _obj0
= 0;
200 PyObject
* _argo1
= 0;
201 char *_kwnames
[] = { "filename","bitmap","type", NULL
};
204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOl:__wxMemoryFSHandler_AddFile_wxBitmap",_kwnames
,&_obj0
,&_argo1
,&_arg2
))
207 _arg0
= wxString_in_helper(_obj0
);
212 if (_argo1
== Py_None
) { _arg1
= NULL
; }
213 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of __wxMemoryFSHandler_AddFile_wxBitmap. Expected _wxBitmap_p.");
219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
220 __wxMemoryFSHandler_AddFile_wxBitmap(*_arg0
,*_arg1
,_arg2
);
222 wxPyEndAllowThreads(__tstate
);
223 if (PyErr_Occurred()) return NULL
;
224 } Py_INCREF(Py_None
);
225 _resultobj
= Py_None
;
233 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
234 PyObject
* _resultobj
;
237 PyObject
* _obj0
= 0;
238 PyObject
* _obj1
= 0;
239 char *_kwnames
[] = { "filename","data", NULL
};
242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:__wxMemoryFSHandler_AddFile_Data",_kwnames
,&_obj0
,&_obj1
))
245 _arg0
= wxString_in_helper(_obj0
);
253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
254 __wxMemoryFSHandler_AddFile_Data(*_arg0
,_arg1
);
256 wxPyEndAllowThreads(__tstate
);
257 if (PyErr_Occurred()) return NULL
;
258 } Py_INCREF(Py_None
);
259 _resultobj
= Py_None
;
267 static void *SwigwxFSFileTowxObject(void *ptr
) {
270 src
= (wxFSFile
*) ptr
;
271 dest
= (wxObject
*) src
;
272 return (void *) dest
;
275 #define new_wxFSFile(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxFSFile(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
276 static PyObject
*_wrap_new_wxFSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
277 PyObject
* _resultobj
;
279 wxInputStream
* _arg0
;
284 wxPyInputStream
* temp
;
286 PyObject
* _obj0
= 0;
287 PyObject
* _obj1
= 0;
288 PyObject
* _obj2
= 0;
289 PyObject
* _obj3
= 0;
290 PyObject
* _argo4
= 0;
291 char *_kwnames
[] = { "stream","loc","mimetype","anchor","modif", NULL
};
295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOOO:new_wxFSFile",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_obj3
,&_argo4
))
298 if (SWIG_GetPtrObj(_obj0
, (void **) &temp
, "_wxPyInputStream_p") == 0) {
299 _arg0
= temp
->m_wxis
;
302 _arg0
= wxPyCBInputStream_create(_obj0
, FALSE
);
304 PyErr_SetString(PyExc_TypeError
,"Expected _wxInputStream_p or Python file-like object.");
311 _arg1
= wxString_in_helper(_obj1
);
316 _arg2
= wxString_in_helper(_obj2
);
321 _arg3
= wxString_in_helper(_obj3
);
326 if (_argo4
== Py_None
) { _arg4
= NULL
; }
327 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxDateTime_p")) {
328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of new_wxFSFile. Expected _wxDateTime_p.");
333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
334 _result
= (wxFSFile
*)new_wxFSFile(_arg0
,*_arg1
,*_arg2
,*_arg3
,*_arg4
);
336 wxPyEndAllowThreads(__tstate
);
337 if (PyErr_Occurred()) return NULL
;
339 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFSFile_p");
340 _resultobj
= Py_BuildValue("s",_ptemp
);
343 _resultobj
= Py_None
;
364 #define wxFSFile_GetStream(_swigobj) (_swigobj->GetStream())
365 static PyObject
*_wrap_wxFSFile_GetStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
366 PyObject
* _resultobj
;
367 wxInputStream
* _result
;
369 PyObject
* _argo0
= 0;
370 char *_kwnames
[] = { "self", NULL
};
373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFSFile_GetStream",_kwnames
,&_argo0
))
376 if (_argo0
== Py_None
) { _arg0
= NULL
; }
377 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFSFile_p")) {
378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFSFile_GetStream. Expected _wxFSFile_p.");
383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
384 _result
= (wxInputStream
*)wxFSFile_GetStream(_arg0
);
386 wxPyEndAllowThreads(__tstate
);
387 if (PyErr_Occurred()) return NULL
;
389 wxPyInputStream
* _ptr
= NULL
;
392 _ptr
= new wxPyInputStream(_result
);
394 _resultobj
= wxPyConstructObject(_ptr
, "wxInputStream", TRUE
);
399 #define wxFSFile_GetMimeType(_swigobj) (_swigobj->GetMimeType())
400 static PyObject
*_wrap_wxFSFile_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
401 PyObject
* _resultobj
;
404 PyObject
* _argo0
= 0;
405 char *_kwnames
[] = { "self", NULL
};
408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFSFile_GetMimeType",_kwnames
,&_argo0
))
411 if (_argo0
== Py_None
) { _arg0
= NULL
; }
412 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFSFile_p")) {
413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFSFile_GetMimeType. Expected _wxFSFile_p.");
418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
419 const wxString
& _result_ref
= wxFSFile_GetMimeType(_arg0
);
420 _result
= (wxString
*) &_result_ref
;
422 wxPyEndAllowThreads(__tstate
);
423 if (PyErr_Occurred()) return NULL
;
426 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
428 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
434 #define wxFSFile_GetLocation(_swigobj) (_swigobj->GetLocation())
435 static PyObject
*_wrap_wxFSFile_GetLocation(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_GetLocation",_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_GetLocation. Expected _wxFSFile_p.");
453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
454 const wxString
& _result_ref
= wxFSFile_GetLocation(_arg0
);
455 _result
= (wxString
*) &_result_ref
;
457 wxPyEndAllowThreads(__tstate
);
458 if (PyErr_Occurred()) return NULL
;
461 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
463 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
469 #define wxFSFile_GetAnchor(_swigobj) (_swigobj->GetAnchor())
470 static PyObject
*_wrap_wxFSFile_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
471 PyObject
* _resultobj
;
474 PyObject
* _argo0
= 0;
475 char *_kwnames
[] = { "self", NULL
};
478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFSFile_GetAnchor",_kwnames
,&_argo0
))
481 if (_argo0
== Py_None
) { _arg0
= NULL
; }
482 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFSFile_p")) {
483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFSFile_GetAnchor. Expected _wxFSFile_p.");
488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
489 const wxString
& _result_ref
= wxFSFile_GetAnchor(_arg0
);
490 _result
= (wxString
*) &_result_ref
;
492 wxPyEndAllowThreads(__tstate
);
493 if (PyErr_Occurred()) return NULL
;
496 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
498 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
504 #define wxFSFile_GetModificationTime(_swigobj) (_swigobj->GetModificationTime())
505 static PyObject
*_wrap_wxFSFile_GetModificationTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
506 PyObject
* _resultobj
;
507 wxDateTime
* _result
;
509 PyObject
* _argo0
= 0;
510 char *_kwnames
[] = { "self", NULL
};
514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFSFile_GetModificationTime",_kwnames
,&_argo0
))
517 if (_argo0
== Py_None
) { _arg0
= NULL
; }
518 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFSFile_p")) {
519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFSFile_GetModificationTime. Expected _wxFSFile_p.");
524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
525 _result
= new wxDateTime (wxFSFile_GetModificationTime(_arg0
));
527 wxPyEndAllowThreads(__tstate
);
528 if (PyErr_Occurred()) return NULL
;
529 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDateTime_p");
530 _resultobj
= Py_BuildValue("s",_ptemp
);
534 static void *SwigwxFileSystemHandlerTowxObject(void *ptr
) {
535 wxFileSystemHandler
*src
;
537 src
= (wxFileSystemHandler
*) ptr
;
538 dest
= (wxObject
*) src
;
539 return (void *) dest
;
542 static void *SwigwxPyFileSystemHandlerTowxFileSystemHandler(void *ptr
) {
543 wxPyFileSystemHandler
*src
;
544 wxFileSystemHandler
*dest
;
545 src
= (wxPyFileSystemHandler
*) ptr
;
546 dest
= (wxFileSystemHandler
*) src
;
547 return (void *) dest
;
550 static void *SwigwxPyFileSystemHandlerTowxObject(void *ptr
) {
551 wxPyFileSystemHandler
*src
;
553 src
= (wxPyFileSystemHandler
*) ptr
;
554 dest
= (wxObject
*) src
;
555 return (void *) dest
;
558 #define new_wxFileSystemHandler() (new wxPyFileSystemHandler())
559 static PyObject
*_wrap_new_wxFileSystemHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
560 PyObject
* _resultobj
;
561 wxPyFileSystemHandler
* _result
;
562 char *_kwnames
[] = { NULL
};
566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFileSystemHandler",_kwnames
))
569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
570 _result
= (wxPyFileSystemHandler
*)new_wxFileSystemHandler();
572 wxPyEndAllowThreads(__tstate
);
573 if (PyErr_Occurred()) return NULL
;
575 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyFileSystemHandler_p");
576 _resultobj
= Py_BuildValue("s",_ptemp
);
579 _resultobj
= Py_None
;
584 #define wxFileSystemHandler__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
585 static PyObject
*_wrap_wxFileSystemHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
586 PyObject
* _resultobj
;
587 wxPyFileSystemHandler
* _arg0
;
590 PyObject
* _argo0
= 0;
591 PyObject
* _obj1
= 0;
592 PyObject
* _obj2
= 0;
593 char *_kwnames
[] = { "self","self","_class", NULL
};
596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxFileSystemHandler__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
599 if (_argo0
== Py_None
) { _arg0
= NULL
; }
600 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileSystemHandler_p")) {
601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystemHandler__setCallbackInfo. Expected _wxPyFileSystemHandler_p.");
612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
613 wxFileSystemHandler__setCallbackInfo(_arg0
,_arg1
,_arg2
);
615 wxPyEndAllowThreads(__tstate
);
616 if (PyErr_Occurred()) return NULL
;
617 } Py_INCREF(Py_None
);
618 _resultobj
= Py_None
;
622 #define wxFileSystemHandler_CanOpen(_swigobj,_swigarg0) (_swigobj->CanOpen(_swigarg0))
623 static PyObject
*_wrap_wxFileSystemHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
624 PyObject
* _resultobj
;
626 wxPyFileSystemHandler
* _arg0
;
628 PyObject
* _argo0
= 0;
629 PyObject
* _obj1
= 0;
630 char *_kwnames
[] = { "self","location", NULL
};
633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileSystemHandler_CanOpen",_kwnames
,&_argo0
,&_obj1
))
636 if (_argo0
== Py_None
) { _arg0
= NULL
; }
637 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileSystemHandler_p")) {
638 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystemHandler_CanOpen. Expected _wxPyFileSystemHandler_p.");
643 _arg1
= wxString_in_helper(_obj1
);
648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
649 _result
= (bool )wxFileSystemHandler_CanOpen(_arg0
,*_arg1
);
651 wxPyEndAllowThreads(__tstate
);
652 if (PyErr_Occurred()) return NULL
;
653 } _resultobj
= Py_BuildValue("i",_result
);
661 #define wxFileSystemHandler_OpenFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->OpenFile(_swigarg0,_swigarg1))
662 static PyObject
*_wrap_wxFileSystemHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
663 PyObject
* _resultobj
;
665 wxPyFileSystemHandler
* _arg0
;
666 wxFileSystem
* _arg1
;
668 PyObject
* _argo0
= 0;
669 PyObject
* _argo1
= 0;
670 PyObject
* _obj2
= 0;
671 char *_kwnames
[] = { "self","fs","location", NULL
};
674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxFileSystemHandler_OpenFile",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
677 if (_argo0
== Py_None
) { _arg0
= NULL
; }
678 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileSystemHandler_p")) {
679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystemHandler_OpenFile. Expected _wxPyFileSystemHandler_p.");
684 if (_argo1
== Py_None
) { _arg1
= NULL
; }
685 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileSystem_p")) {
686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileSystemHandler_OpenFile. Expected _wxFileSystem_p.");
691 _arg2
= wxString_in_helper(_obj2
);
696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
697 _result
= (wxFSFile
*)wxFileSystemHandler_OpenFile(_arg0
,*_arg1
,*_arg2
);
699 wxPyEndAllowThreads(__tstate
);
700 if (PyErr_Occurred()) return NULL
;
701 }{ _resultobj
= wxPyMake_wxObject(_result
); }
709 #define wxFileSystemHandler_FindFirst(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindFirst(_swigarg0,_swigarg1))
710 static PyObject
*_wrap_wxFileSystemHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
711 PyObject
* _resultobj
;
713 wxPyFileSystemHandler
* _arg0
;
715 int _arg2
= (int ) 0;
716 PyObject
* _argo0
= 0;
717 PyObject
* _obj1
= 0;
718 char *_kwnames
[] = { "self","spec","flags", NULL
};
721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxFileSystemHandler_FindFirst",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
724 if (_argo0
== Py_None
) { _arg0
= NULL
; }
725 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileSystemHandler_p")) {
726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystemHandler_FindFirst. Expected _wxPyFileSystemHandler_p.");
731 _arg1
= wxString_in_helper(_obj1
);
736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
737 _result
= new wxString (wxFileSystemHandler_FindFirst(_arg0
,*_arg1
,_arg2
));
739 wxPyEndAllowThreads(__tstate
);
740 if (PyErr_Occurred()) return NULL
;
743 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
745 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
758 #define wxFileSystemHandler_FindNext(_swigobj) (_swigobj->FindNext())
759 static PyObject
*_wrap_wxFileSystemHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
760 PyObject
* _resultobj
;
762 wxPyFileSystemHandler
* _arg0
;
763 PyObject
* _argo0
= 0;
764 char *_kwnames
[] = { "self", NULL
};
767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileSystemHandler_FindNext",_kwnames
,&_argo0
))
770 if (_argo0
== Py_None
) { _arg0
= NULL
; }
771 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileSystemHandler_p")) {
772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystemHandler_FindNext. Expected _wxPyFileSystemHandler_p.");
777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
778 _result
= new wxString (wxFileSystemHandler_FindNext(_arg0
));
780 wxPyEndAllowThreads(__tstate
);
781 if (PyErr_Occurred()) return NULL
;
784 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
786 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
795 #define wxFileSystemHandler_GetProtocol(_swigobj,_swigarg0) (_swigobj->GetProtocol(_swigarg0))
796 static PyObject
*_wrap_wxFileSystemHandler_GetProtocol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
797 PyObject
* _resultobj
;
799 wxPyFileSystemHandler
* _arg0
;
801 PyObject
* _argo0
= 0;
802 PyObject
* _obj1
= 0;
803 char *_kwnames
[] = { "self","location", NULL
};
806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileSystemHandler_GetProtocol",_kwnames
,&_argo0
,&_obj1
))
809 if (_argo0
== Py_None
) { _arg0
= NULL
; }
810 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileSystemHandler_p")) {
811 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystemHandler_GetProtocol. Expected _wxPyFileSystemHandler_p.");
816 _arg1
= wxString_in_helper(_obj1
);
821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
822 _result
= new wxString (wxFileSystemHandler_GetProtocol(_arg0
,*_arg1
));
824 wxPyEndAllowThreads(__tstate
);
825 if (PyErr_Occurred()) return NULL
;
828 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
830 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
843 #define wxFileSystemHandler_GetLeftLocation(_swigobj,_swigarg0) (_swigobj->GetLeftLocation(_swigarg0))
844 static PyObject
*_wrap_wxFileSystemHandler_GetLeftLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
845 PyObject
* _resultobj
;
847 wxPyFileSystemHandler
* _arg0
;
849 PyObject
* _argo0
= 0;
850 PyObject
* _obj1
= 0;
851 char *_kwnames
[] = { "self","location", NULL
};
854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileSystemHandler_GetLeftLocation",_kwnames
,&_argo0
,&_obj1
))
857 if (_argo0
== Py_None
) { _arg0
= NULL
; }
858 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileSystemHandler_p")) {
859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystemHandler_GetLeftLocation. Expected _wxPyFileSystemHandler_p.");
864 _arg1
= wxString_in_helper(_obj1
);
869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
870 _result
= new wxString (wxFileSystemHandler_GetLeftLocation(_arg0
,*_arg1
));
872 wxPyEndAllowThreads(__tstate
);
873 if (PyErr_Occurred()) return NULL
;
876 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
878 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
891 #define wxFileSystemHandler_GetAnchor(_swigobj,_swigarg0) (_swigobj->GetAnchor(_swigarg0))
892 static PyObject
*_wrap_wxFileSystemHandler_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
893 PyObject
* _resultobj
;
895 wxPyFileSystemHandler
* _arg0
;
897 PyObject
* _argo0
= 0;
898 PyObject
* _obj1
= 0;
899 char *_kwnames
[] = { "self","location", NULL
};
902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileSystemHandler_GetAnchor",_kwnames
,&_argo0
,&_obj1
))
905 if (_argo0
== Py_None
) { _arg0
= NULL
; }
906 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileSystemHandler_p")) {
907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystemHandler_GetAnchor. Expected _wxPyFileSystemHandler_p.");
912 _arg1
= wxString_in_helper(_obj1
);
917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
918 _result
= new wxString (wxFileSystemHandler_GetAnchor(_arg0
,*_arg1
));
920 wxPyEndAllowThreads(__tstate
);
921 if (PyErr_Occurred()) return NULL
;
924 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
926 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
939 #define wxFileSystemHandler_GetRightLocation(_swigobj,_swigarg0) (_swigobj->GetRightLocation(_swigarg0))
940 static PyObject
*_wrap_wxFileSystemHandler_GetRightLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
941 PyObject
* _resultobj
;
943 wxPyFileSystemHandler
* _arg0
;
945 PyObject
* _argo0
= 0;
946 PyObject
* _obj1
= 0;
947 char *_kwnames
[] = { "self","location", NULL
};
950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileSystemHandler_GetRightLocation",_kwnames
,&_argo0
,&_obj1
))
953 if (_argo0
== Py_None
) { _arg0
= NULL
; }
954 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileSystemHandler_p")) {
955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystemHandler_GetRightLocation. Expected _wxPyFileSystemHandler_p.");
960 _arg1
= wxString_in_helper(_obj1
);
965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
966 _result
= new wxString (wxFileSystemHandler_GetRightLocation(_arg0
,*_arg1
));
968 wxPyEndAllowThreads(__tstate
);
969 if (PyErr_Occurred()) return NULL
;
972 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
974 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
987 #define wxFileSystemHandler_GetMimeTypeFromExt(_swigobj,_swigarg0) (_swigobj->GetMimeTypeFromExt(_swigarg0))
988 static PyObject
*_wrap_wxFileSystemHandler_GetMimeTypeFromExt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
989 PyObject
* _resultobj
;
991 wxPyFileSystemHandler
* _arg0
;
993 PyObject
* _argo0
= 0;
994 PyObject
* _obj1
= 0;
995 char *_kwnames
[] = { "self","location", NULL
};
998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileSystemHandler_GetMimeTypeFromExt",_kwnames
,&_argo0
,&_obj1
))
1001 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1002 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileSystemHandler_p")) {
1003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystemHandler_GetMimeTypeFromExt. Expected _wxPyFileSystemHandler_p.");
1008 _arg1
= wxString_in_helper(_obj1
);
1013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1014 _result
= new wxString (wxFileSystemHandler_GetMimeTypeFromExt(_arg0
,*_arg1
));
1016 wxPyEndAllowThreads(__tstate
);
1017 if (PyErr_Occurred()) return NULL
;
1020 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
1022 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1035 static void *SwigwxFileSystemTowxObject(void *ptr
) {
1038 src
= (wxFileSystem
*) ptr
;
1039 dest
= (wxObject
*) src
;
1040 return (void *) dest
;
1043 #define new_wxFileSystem() (new wxFileSystem())
1044 static PyObject
*_wrap_new_wxFileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1045 PyObject
* _resultobj
;
1046 wxFileSystem
* _result
;
1047 char *_kwnames
[] = { NULL
};
1051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFileSystem",_kwnames
))
1054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1055 _result
= (wxFileSystem
*)new_wxFileSystem();
1057 wxPyEndAllowThreads(__tstate
);
1058 if (PyErr_Occurred()) return NULL
;
1060 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileSystem_p");
1061 _resultobj
= Py_BuildValue("s",_ptemp
);
1064 _resultobj
= Py_None
;
1069 #define wxFileSystem_ChangePathTo(_swigobj,_swigarg0,_swigarg1) (_swigobj->ChangePathTo(_swigarg0,_swigarg1))
1070 static PyObject
*_wrap_wxFileSystem_ChangePathTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1071 PyObject
* _resultobj
;
1072 wxFileSystem
* _arg0
;
1074 bool _arg2
= (bool ) FALSE
;
1075 PyObject
* _argo0
= 0;
1076 PyObject
* _obj1
= 0;
1077 int tempbool2
= (int) FALSE
;
1078 char *_kwnames
[] = { "self","location","is_dir", NULL
};
1081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxFileSystem_ChangePathTo",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
1084 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1085 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileSystem_p")) {
1086 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystem_ChangePathTo. Expected _wxFileSystem_p.");
1091 _arg1
= wxString_in_helper(_obj1
);
1095 _arg2
= (bool ) tempbool2
;
1097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1098 wxFileSystem_ChangePathTo(_arg0
,*_arg1
,_arg2
);
1100 wxPyEndAllowThreads(__tstate
);
1101 if (PyErr_Occurred()) return NULL
;
1102 } Py_INCREF(Py_None
);
1103 _resultobj
= Py_None
;
1111 #define wxFileSystem_GetPath(_swigobj) (_swigobj->GetPath())
1112 static PyObject
*_wrap_wxFileSystem_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1113 PyObject
* _resultobj
;
1115 wxFileSystem
* _arg0
;
1116 PyObject
* _argo0
= 0;
1117 char *_kwnames
[] = { "self", NULL
};
1120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileSystem_GetPath",_kwnames
,&_argo0
))
1123 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1124 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileSystem_p")) {
1125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystem_GetPath. Expected _wxFileSystem_p.");
1130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1131 _result
= new wxString (wxFileSystem_GetPath(_arg0
));
1133 wxPyEndAllowThreads(__tstate
);
1134 if (PyErr_Occurred()) return NULL
;
1137 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
1139 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1148 #define wxFileSystem_OpenFile(_swigobj,_swigarg0) (_swigobj->OpenFile(_swigarg0))
1149 static PyObject
*_wrap_wxFileSystem_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1150 PyObject
* _resultobj
;
1152 wxFileSystem
* _arg0
;
1154 PyObject
* _argo0
= 0;
1155 PyObject
* _obj1
= 0;
1156 char *_kwnames
[] = { "self","location", NULL
};
1159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileSystem_OpenFile",_kwnames
,&_argo0
,&_obj1
))
1162 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1163 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileSystem_p")) {
1164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystem_OpenFile. Expected _wxFileSystem_p.");
1169 _arg1
= wxString_in_helper(_obj1
);
1174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1175 _result
= (wxFSFile
*)wxFileSystem_OpenFile(_arg0
,*_arg1
);
1177 wxPyEndAllowThreads(__tstate
);
1178 if (PyErr_Occurred()) return NULL
;
1179 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1187 #define wxFileSystem_FindFirst(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindFirst(_swigarg0,_swigarg1))
1188 static PyObject
*_wrap_wxFileSystem_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1189 PyObject
* _resultobj
;
1191 wxFileSystem
* _arg0
;
1193 int _arg2
= (int ) 0;
1194 PyObject
* _argo0
= 0;
1195 PyObject
* _obj1
= 0;
1196 char *_kwnames
[] = { "self","spec","flags", NULL
};
1199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxFileSystem_FindFirst",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1202 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1203 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileSystem_p")) {
1204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystem_FindFirst. Expected _wxFileSystem_p.");
1209 _arg1
= wxString_in_helper(_obj1
);
1214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1215 _result
= new wxString (wxFileSystem_FindFirst(_arg0
,*_arg1
,_arg2
));
1217 wxPyEndAllowThreads(__tstate
);
1218 if (PyErr_Occurred()) return NULL
;
1221 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
1223 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1236 #define wxFileSystem_FindNext(_swigobj) (_swigobj->FindNext())
1237 static PyObject
*_wrap_wxFileSystem_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1238 PyObject
* _resultobj
;
1240 wxFileSystem
* _arg0
;
1241 PyObject
* _argo0
= 0;
1242 char *_kwnames
[] = { "self", NULL
};
1245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileSystem_FindNext",_kwnames
,&_argo0
))
1248 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1249 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileSystem_p")) {
1250 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystem_FindNext. Expected _wxFileSystem_p.");
1255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1256 _result
= new wxString (wxFileSystem_FindNext(_arg0
));
1258 wxPyEndAllowThreads(__tstate
);
1259 if (PyErr_Occurred()) return NULL
;
1262 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
1264 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1273 static PyObject
*_wrap_wxFileSystem_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1274 PyObject
* _resultobj
;
1275 wxFileSystemHandler
* _arg0
;
1276 PyObject
* _argo0
= 0;
1277 char *_kwnames
[] = { "handler", NULL
};
1280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileSystem_AddHandler",_kwnames
,&_argo0
))
1283 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1284 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileSystemHandler_p")) {
1285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileSystem_AddHandler. Expected _wxFileSystemHandler_p.");
1290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1291 wxFileSystem::AddHandler(_arg0
);
1293 wxPyEndAllowThreads(__tstate
);
1294 if (PyErr_Occurred()) return NULL
;
1295 } Py_INCREF(Py_None
);
1296 _resultobj
= Py_None
;
1300 static PyObject
*_wrap_wxFileSystem_CleanUpHandlers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1301 PyObject
* _resultobj
;
1302 char *_kwnames
[] = { NULL
};
1305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxFileSystem_CleanUpHandlers",_kwnames
))
1308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1309 wxFileSystem::CleanUpHandlers();
1311 wxPyEndAllowThreads(__tstate
);
1312 if (PyErr_Occurred()) return NULL
;
1313 } Py_INCREF(Py_None
);
1314 _resultobj
= Py_None
;
1318 static void *SwigwxInternetFSHandlerTowxFileSystemHandler(void *ptr
) {
1319 wxInternetFSHandler
*src
;
1320 wxFileSystemHandler
*dest
;
1321 src
= (wxInternetFSHandler
*) ptr
;
1322 dest
= (wxFileSystemHandler
*) src
;
1323 return (void *) dest
;
1326 static void *SwigwxInternetFSHandlerTowxObject(void *ptr
) {
1327 wxInternetFSHandler
*src
;
1329 src
= (wxInternetFSHandler
*) ptr
;
1330 dest
= (wxObject
*) src
;
1331 return (void *) dest
;
1334 #define new_wxInternetFSHandler() (new wxInternetFSHandler())
1335 static PyObject
*_wrap_new_wxInternetFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1336 PyObject
* _resultobj
;
1337 wxInternetFSHandler
* _result
;
1338 char *_kwnames
[] = { NULL
};
1342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxInternetFSHandler",_kwnames
))
1345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1346 _result
= (wxInternetFSHandler
*)new_wxInternetFSHandler();
1348 wxPyEndAllowThreads(__tstate
);
1349 if (PyErr_Occurred()) return NULL
;
1351 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxInternetFSHandler_p");
1352 _resultobj
= Py_BuildValue("s",_ptemp
);
1355 _resultobj
= Py_None
;
1360 #define wxInternetFSHandler_CanOpen(_swigobj,_swigarg0) (_swigobj->CanOpen(_swigarg0))
1361 static PyObject
*_wrap_wxInternetFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1362 PyObject
* _resultobj
;
1364 wxInternetFSHandler
* _arg0
;
1366 PyObject
* _argo0
= 0;
1367 PyObject
* _obj1
= 0;
1368 char *_kwnames
[] = { "self","location", NULL
};
1371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxInternetFSHandler_CanOpen",_kwnames
,&_argo0
,&_obj1
))
1374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxInternetFSHandler_p")) {
1376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxInternetFSHandler_CanOpen. Expected _wxInternetFSHandler_p.");
1381 _arg1
= wxString_in_helper(_obj1
);
1386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1387 _result
= (bool )wxInternetFSHandler_CanOpen(_arg0
,*_arg1
);
1389 wxPyEndAllowThreads(__tstate
);
1390 if (PyErr_Occurred()) return NULL
;
1391 } _resultobj
= Py_BuildValue("i",_result
);
1399 #define wxInternetFSHandler_OpenFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->OpenFile(_swigarg0,_swigarg1))
1400 static PyObject
*_wrap_wxInternetFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1401 PyObject
* _resultobj
;
1403 wxInternetFSHandler
* _arg0
;
1404 wxFileSystem
* _arg1
;
1406 PyObject
* _argo0
= 0;
1407 PyObject
* _argo1
= 0;
1408 PyObject
* _obj2
= 0;
1409 char *_kwnames
[] = { "self","fs","location", NULL
};
1412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxInternetFSHandler_OpenFile",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
1415 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1416 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxInternetFSHandler_p")) {
1417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxInternetFSHandler_OpenFile. Expected _wxInternetFSHandler_p.");
1422 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1423 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileSystem_p")) {
1424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxInternetFSHandler_OpenFile. Expected _wxFileSystem_p.");
1429 _arg2
= wxString_in_helper(_obj2
);
1434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1435 _result
= (wxFSFile
*)wxInternetFSHandler_OpenFile(_arg0
,*_arg1
,*_arg2
);
1437 wxPyEndAllowThreads(__tstate
);
1438 if (PyErr_Occurred()) return NULL
;
1439 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1447 static void *SwigwxZipFSHandlerTowxFileSystemHandler(void *ptr
) {
1448 wxZipFSHandler
*src
;
1449 wxFileSystemHandler
*dest
;
1450 src
= (wxZipFSHandler
*) ptr
;
1451 dest
= (wxFileSystemHandler
*) src
;
1452 return (void *) dest
;
1455 static void *SwigwxZipFSHandlerTowxObject(void *ptr
) {
1456 wxZipFSHandler
*src
;
1458 src
= (wxZipFSHandler
*) ptr
;
1459 dest
= (wxObject
*) src
;
1460 return (void *) dest
;
1463 #define new_wxZipFSHandler() (new wxZipFSHandler())
1464 static PyObject
*_wrap_new_wxZipFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1465 PyObject
* _resultobj
;
1466 wxZipFSHandler
* _result
;
1467 char *_kwnames
[] = { NULL
};
1471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxZipFSHandler",_kwnames
))
1474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1475 _result
= (wxZipFSHandler
*)new_wxZipFSHandler();
1477 wxPyEndAllowThreads(__tstate
);
1478 if (PyErr_Occurred()) return NULL
;
1480 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxZipFSHandler_p");
1481 _resultobj
= Py_BuildValue("s",_ptemp
);
1484 _resultobj
= Py_None
;
1489 #define wxZipFSHandler_CanOpen(_swigobj,_swigarg0) (_swigobj->CanOpen(_swigarg0))
1490 static PyObject
*_wrap_wxZipFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1491 PyObject
* _resultobj
;
1493 wxZipFSHandler
* _arg0
;
1495 PyObject
* _argo0
= 0;
1496 PyObject
* _obj1
= 0;
1497 char *_kwnames
[] = { "self","location", NULL
};
1500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxZipFSHandler_CanOpen",_kwnames
,&_argo0
,&_obj1
))
1503 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1504 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxZipFSHandler_p")) {
1505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxZipFSHandler_CanOpen. Expected _wxZipFSHandler_p.");
1510 _arg1
= wxString_in_helper(_obj1
);
1515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1516 _result
= (bool )wxZipFSHandler_CanOpen(_arg0
,*_arg1
);
1518 wxPyEndAllowThreads(__tstate
);
1519 if (PyErr_Occurred()) return NULL
;
1520 } _resultobj
= Py_BuildValue("i",_result
);
1528 #define wxZipFSHandler_OpenFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->OpenFile(_swigarg0,_swigarg1))
1529 static PyObject
*_wrap_wxZipFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1530 PyObject
* _resultobj
;
1532 wxZipFSHandler
* _arg0
;
1533 wxFileSystem
* _arg1
;
1535 PyObject
* _argo0
= 0;
1536 PyObject
* _argo1
= 0;
1537 PyObject
* _obj2
= 0;
1538 char *_kwnames
[] = { "self","fs","location", NULL
};
1541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxZipFSHandler_OpenFile",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
1544 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1545 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxZipFSHandler_p")) {
1546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxZipFSHandler_OpenFile. Expected _wxZipFSHandler_p.");
1551 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1552 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileSystem_p")) {
1553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxZipFSHandler_OpenFile. Expected _wxFileSystem_p.");
1558 _arg2
= wxString_in_helper(_obj2
);
1563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1564 _result
= (wxFSFile
*)wxZipFSHandler_OpenFile(_arg0
,*_arg1
,*_arg2
);
1566 wxPyEndAllowThreads(__tstate
);
1567 if (PyErr_Occurred()) return NULL
;
1568 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1576 #define wxZipFSHandler_FindFirst(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindFirst(_swigarg0,_swigarg1))
1577 static PyObject
*_wrap_wxZipFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1578 PyObject
* _resultobj
;
1580 wxZipFSHandler
* _arg0
;
1582 int _arg2
= (int ) 0;
1583 PyObject
* _argo0
= 0;
1584 PyObject
* _obj1
= 0;
1585 char *_kwnames
[] = { "self","spec","flags", NULL
};
1588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxZipFSHandler_FindFirst",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1591 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1592 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxZipFSHandler_p")) {
1593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxZipFSHandler_FindFirst. Expected _wxZipFSHandler_p.");
1598 _arg1
= wxString_in_helper(_obj1
);
1603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1604 _result
= new wxString (wxZipFSHandler_FindFirst(_arg0
,*_arg1
,_arg2
));
1606 wxPyEndAllowThreads(__tstate
);
1607 if (PyErr_Occurred()) return NULL
;
1610 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
1612 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1625 #define wxZipFSHandler_FindNext(_swigobj) (_swigobj->FindNext())
1626 static PyObject
*_wrap_wxZipFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1627 PyObject
* _resultobj
;
1629 wxZipFSHandler
* _arg0
;
1630 PyObject
* _argo0
= 0;
1631 char *_kwnames
[] = { "self", NULL
};
1634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxZipFSHandler_FindNext",_kwnames
,&_argo0
))
1637 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1638 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxZipFSHandler_p")) {
1639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxZipFSHandler_FindNext. Expected _wxZipFSHandler_p.");
1644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1645 _result
= new wxString (wxZipFSHandler_FindNext(_arg0
));
1647 wxPyEndAllowThreads(__tstate
);
1648 if (PyErr_Occurred()) return NULL
;
1651 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
1653 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1662 static void *SwigwxMemoryFSHandlerTowxFileSystemHandler(void *ptr
) {
1663 wxMemoryFSHandler
*src
;
1664 wxFileSystemHandler
*dest
;
1665 src
= (wxMemoryFSHandler
*) ptr
;
1666 dest
= (wxFileSystemHandler
*) src
;
1667 return (void *) dest
;
1670 static void *SwigwxMemoryFSHandlerTowxObject(void *ptr
) {
1671 wxMemoryFSHandler
*src
;
1673 src
= (wxMemoryFSHandler
*) ptr
;
1674 dest
= (wxObject
*) src
;
1675 return (void *) dest
;
1678 #define new_wxMemoryFSHandler() (new wxMemoryFSHandler())
1679 static PyObject
*_wrap_new_wxMemoryFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1680 PyObject
* _resultobj
;
1681 wxMemoryFSHandler
* _result
;
1682 char *_kwnames
[] = { NULL
};
1686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMemoryFSHandler",_kwnames
))
1689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1690 _result
= (wxMemoryFSHandler
*)new_wxMemoryFSHandler();
1692 wxPyEndAllowThreads(__tstate
);
1693 if (PyErr_Occurred()) return NULL
;
1695 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMemoryFSHandler_p");
1696 _resultobj
= Py_BuildValue("s",_ptemp
);
1699 _resultobj
= Py_None
;
1704 static PyObject
*_wrap_wxMemoryFSHandler_RemoveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1705 PyObject
* _resultobj
;
1707 PyObject
* _obj0
= 0;
1708 char *_kwnames
[] = { "filename", NULL
};
1711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMemoryFSHandler_RemoveFile",_kwnames
,&_obj0
))
1714 _arg0
= wxString_in_helper(_obj0
);
1719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1720 wxMemoryFSHandler::RemoveFile(*_arg0
);
1722 wxPyEndAllowThreads(__tstate
);
1723 if (PyErr_Occurred()) return NULL
;
1724 } Py_INCREF(Py_None
);
1725 _resultobj
= Py_None
;
1733 #define wxMemoryFSHandler_CanOpen(_swigobj,_swigarg0) (_swigobj->CanOpen(_swigarg0))
1734 static PyObject
*_wrap_wxMemoryFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1735 PyObject
* _resultobj
;
1737 wxMemoryFSHandler
* _arg0
;
1739 PyObject
* _argo0
= 0;
1740 PyObject
* _obj1
= 0;
1741 char *_kwnames
[] = { "self","location", NULL
};
1744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMemoryFSHandler_CanOpen",_kwnames
,&_argo0
,&_obj1
))
1747 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1748 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMemoryFSHandler_p")) {
1749 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryFSHandler_CanOpen. Expected _wxMemoryFSHandler_p.");
1754 _arg1
= wxString_in_helper(_obj1
);
1759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1760 _result
= (bool )wxMemoryFSHandler_CanOpen(_arg0
,*_arg1
);
1762 wxPyEndAllowThreads(__tstate
);
1763 if (PyErr_Occurred()) return NULL
;
1764 } _resultobj
= Py_BuildValue("i",_result
);
1772 #define wxMemoryFSHandler_OpenFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->OpenFile(_swigarg0,_swigarg1))
1773 static PyObject
*_wrap_wxMemoryFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1774 PyObject
* _resultobj
;
1776 wxMemoryFSHandler
* _arg0
;
1777 wxFileSystem
* _arg1
;
1779 PyObject
* _argo0
= 0;
1780 PyObject
* _argo1
= 0;
1781 PyObject
* _obj2
= 0;
1782 char *_kwnames
[] = { "self","fs","location", NULL
};
1785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMemoryFSHandler_OpenFile",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
1788 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1789 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMemoryFSHandler_p")) {
1790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryFSHandler_OpenFile. Expected _wxMemoryFSHandler_p.");
1795 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1796 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileSystem_p")) {
1797 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMemoryFSHandler_OpenFile. Expected _wxFileSystem_p.");
1802 _arg2
= wxString_in_helper(_obj2
);
1807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1808 _result
= (wxFSFile
*)wxMemoryFSHandler_OpenFile(_arg0
,*_arg1
,*_arg2
);
1810 wxPyEndAllowThreads(__tstate
);
1811 if (PyErr_Occurred()) return NULL
;
1812 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1820 #define wxMemoryFSHandler_FindFirst(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindFirst(_swigarg0,_swigarg1))
1821 static PyObject
*_wrap_wxMemoryFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1822 PyObject
* _resultobj
;
1824 wxMemoryFSHandler
* _arg0
;
1826 int _arg2
= (int ) 0;
1827 PyObject
* _argo0
= 0;
1828 PyObject
* _obj1
= 0;
1829 char *_kwnames
[] = { "self","spec","flags", NULL
};
1832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxMemoryFSHandler_FindFirst",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1835 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1836 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMemoryFSHandler_p")) {
1837 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryFSHandler_FindFirst. Expected _wxMemoryFSHandler_p.");
1842 _arg1
= wxString_in_helper(_obj1
);
1847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1848 _result
= new wxString (wxMemoryFSHandler_FindFirst(_arg0
,*_arg1
,_arg2
));
1850 wxPyEndAllowThreads(__tstate
);
1851 if (PyErr_Occurred()) return NULL
;
1854 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
1856 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1869 #define wxMemoryFSHandler_FindNext(_swigobj) (_swigobj->FindNext())
1870 static PyObject
*_wrap_wxMemoryFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1871 PyObject
* _resultobj
;
1873 wxMemoryFSHandler
* _arg0
;
1874 PyObject
* _argo0
= 0;
1875 char *_kwnames
[] = { "self", NULL
};
1878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMemoryFSHandler_FindNext",_kwnames
,&_argo0
))
1881 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1882 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMemoryFSHandler_p")) {
1883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryFSHandler_FindNext. Expected _wxMemoryFSHandler_p.");
1888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1889 _result
= new wxString (wxMemoryFSHandler_FindNext(_arg0
));
1891 wxPyEndAllowThreads(__tstate
);
1892 if (PyErr_Occurred()) return NULL
;
1895 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
1897 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1906 static PyMethodDef filesyscMethods
[] = {
1907 { "wxMemoryFSHandler_FindNext", (PyCFunction
) _wrap_wxMemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
1908 { "wxMemoryFSHandler_FindFirst", (PyCFunction
) _wrap_wxMemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
1909 { "wxMemoryFSHandler_OpenFile", (PyCFunction
) _wrap_wxMemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
1910 { "wxMemoryFSHandler_CanOpen", (PyCFunction
) _wrap_wxMemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
1911 { "wxMemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_wxMemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
},
1912 { "new_wxMemoryFSHandler", (PyCFunction
) _wrap_new_wxMemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
1913 { "wxZipFSHandler_FindNext", (PyCFunction
) _wrap_wxZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
1914 { "wxZipFSHandler_FindFirst", (PyCFunction
) _wrap_wxZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
1915 { "wxZipFSHandler_OpenFile", (PyCFunction
) _wrap_wxZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
1916 { "wxZipFSHandler_CanOpen", (PyCFunction
) _wrap_wxZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
1917 { "new_wxZipFSHandler", (PyCFunction
) _wrap_new_wxZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
1918 { "wxInternetFSHandler_OpenFile", (PyCFunction
) _wrap_wxInternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
1919 { "wxInternetFSHandler_CanOpen", (PyCFunction
) _wrap_wxInternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
1920 { "new_wxInternetFSHandler", (PyCFunction
) _wrap_new_wxInternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
1921 { "wxFileSystem_CleanUpHandlers", (PyCFunction
) _wrap_wxFileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
},
1922 { "wxFileSystem_AddHandler", (PyCFunction
) _wrap_wxFileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
1923 { "wxFileSystem_FindNext", (PyCFunction
) _wrap_wxFileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
1924 { "wxFileSystem_FindFirst", (PyCFunction
) _wrap_wxFileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
1925 { "wxFileSystem_OpenFile", (PyCFunction
) _wrap_wxFileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
1926 { "wxFileSystem_GetPath", (PyCFunction
) _wrap_wxFileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
1927 { "wxFileSystem_ChangePathTo", (PyCFunction
) _wrap_wxFileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
},
1928 { "new_wxFileSystem", (PyCFunction
) _wrap_new_wxFileSystem
, METH_VARARGS
| METH_KEYWORDS
},
1929 { "wxFileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_wxFileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
},
1930 { "wxFileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_wxFileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
},
1931 { "wxFileSystemHandler_GetAnchor", (PyCFunction
) _wrap_wxFileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
1932 { "wxFileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_wxFileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
},
1933 { "wxFileSystemHandler_GetProtocol", (PyCFunction
) _wrap_wxFileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
},
1934 { "wxFileSystemHandler_FindNext", (PyCFunction
) _wrap_wxFileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
1935 { "wxFileSystemHandler_FindFirst", (PyCFunction
) _wrap_wxFileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
1936 { "wxFileSystemHandler_OpenFile", (PyCFunction
) _wrap_wxFileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
1937 { "wxFileSystemHandler_CanOpen", (PyCFunction
) _wrap_wxFileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
1938 { "wxFileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_wxFileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
1939 { "new_wxFileSystemHandler", (PyCFunction
) _wrap_new_wxFileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
},
1940 { "wxFSFile_GetModificationTime", (PyCFunction
) _wrap_wxFSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
},
1941 { "wxFSFile_GetAnchor", (PyCFunction
) _wrap_wxFSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
1942 { "wxFSFile_GetLocation", (PyCFunction
) _wrap_wxFSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
},
1943 { "wxFSFile_GetMimeType", (PyCFunction
) _wrap_wxFSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
1944 { "wxFSFile_GetStream", (PyCFunction
) _wrap_wxFSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
},
1945 { "new_wxFSFile", (PyCFunction
) _wrap_new_wxFSFile
, METH_VARARGS
| METH_KEYWORDS
},
1946 { "__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
},
1947 { "__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
1948 { "__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
},
1955 * This table is used by the pointer type-checker
1957 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
1958 { "_signed_long","_long",0},
1959 { "_wxPrintQuality","_wxCoord",0},
1960 { "_wxPrintQuality","_int",0},
1961 { "_wxPrintQuality","_signed_int",0},
1962 { "_wxPrintQuality","_unsigned_int",0},
1963 { "_wxPrintQuality","_wxWindowID",0},
1964 { "_wxPrintQuality","_uint",0},
1965 { "_wxPrintQuality","_EBool",0},
1966 { "_wxPrintQuality","_size_t",0},
1967 { "_wxPrintQuality","_time_t",0},
1968 { "_byte","_unsigned_char",0},
1969 { "_long","_unsigned_long",0},
1970 { "_long","_signed_long",0},
1971 { "_size_t","_wxCoord",0},
1972 { "_size_t","_wxPrintQuality",0},
1973 { "_size_t","_time_t",0},
1974 { "_size_t","_unsigned_int",0},
1975 { "_size_t","_int",0},
1976 { "_size_t","_wxWindowID",0},
1977 { "_size_t","_uint",0},
1978 { "_uint","_wxCoord",0},
1979 { "_uint","_wxPrintQuality",0},
1980 { "_uint","_time_t",0},
1981 { "_uint","_size_t",0},
1982 { "_uint","_unsigned_int",0},
1983 { "_uint","_int",0},
1984 { "_uint","_wxWindowID",0},
1985 { "_wxChar","_char",0},
1986 { "_char","_wxChar",0},
1987 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
1988 { "_EBool","_wxCoord",0},
1989 { "_EBool","_wxPrintQuality",0},
1990 { "_EBool","_signed_int",0},
1991 { "_EBool","_int",0},
1992 { "_EBool","_wxWindowID",0},
1993 { "_unsigned_long","_long",0},
1994 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
1995 { "_signed_int","_wxCoord",0},
1996 { "_signed_int","_wxPrintQuality",0},
1997 { "_signed_int","_EBool",0},
1998 { "_signed_int","_wxWindowID",0},
1999 { "_signed_int","_int",0},
2000 { "_WXTYPE","_wxDateTime_t",0},
2001 { "_WXTYPE","_short",0},
2002 { "_WXTYPE","_signed_short",0},
2003 { "_WXTYPE","_unsigned_short",0},
2004 { "_unsigned_short","_wxDateTime_t",0},
2005 { "_unsigned_short","_WXTYPE",0},
2006 { "_unsigned_short","_short",0},
2007 { "_wxObject","_wxMemoryFSHandler",SwigwxMemoryFSHandlerTowxObject
},
2008 { "_wxObject","_wxZipFSHandler",SwigwxZipFSHandlerTowxObject
},
2009 { "_wxObject","_wxInternetFSHandler",SwigwxInternetFSHandlerTowxObject
},
2010 { "_wxObject","_wxFileSystem",SwigwxFileSystemTowxObject
},
2011 { "_wxObject","_wxPyFileSystemHandler",SwigwxPyFileSystemHandlerTowxObject
},
2012 { "_wxObject","_wxFileSystemHandler",SwigwxFileSystemHandlerTowxObject
},
2013 { "_wxObject","_wxFSFile",SwigwxFSFileTowxObject
},
2014 { "_signed_short","_WXTYPE",0},
2015 { "_signed_short","_short",0},
2016 { "_unsigned_char","_byte",0},
2017 { "_unsigned_int","_wxCoord",0},
2018 { "_unsigned_int","_wxPrintQuality",0},
2019 { "_unsigned_int","_time_t",0},
2020 { "_unsigned_int","_size_t",0},
2021 { "_unsigned_int","_uint",0},
2022 { "_unsigned_int","_wxWindowID",0},
2023 { "_unsigned_int","_int",0},
2024 { "_short","_wxDateTime_t",0},
2025 { "_short","_WXTYPE",0},
2026 { "_short","_unsigned_short",0},
2027 { "_short","_signed_short",0},
2028 { "_wxFileSystemHandler","_wxMemoryFSHandler",SwigwxMemoryFSHandlerTowxFileSystemHandler
},
2029 { "_wxFileSystemHandler","_wxZipFSHandler",SwigwxZipFSHandlerTowxFileSystemHandler
},
2030 { "_wxFileSystemHandler","_wxInternetFSHandler",SwigwxInternetFSHandlerTowxFileSystemHandler
},
2031 { "_wxFileSystemHandler","_wxPyFileSystemHandler",SwigwxPyFileSystemHandlerTowxFileSystemHandler
},
2032 { "_wxWindowID","_wxCoord",0},
2033 { "_wxWindowID","_wxPrintQuality",0},
2034 { "_wxWindowID","_time_t",0},
2035 { "_wxWindowID","_size_t",0},
2036 { "_wxWindowID","_EBool",0},
2037 { "_wxWindowID","_uint",0},
2038 { "_wxWindowID","_int",0},
2039 { "_wxWindowID","_signed_int",0},
2040 { "_wxWindowID","_unsigned_int",0},
2041 { "_int","_wxCoord",0},
2042 { "_int","_wxPrintQuality",0},
2043 { "_int","_time_t",0},
2044 { "_int","_size_t",0},
2045 { "_int","_EBool",0},
2046 { "_int","_uint",0},
2047 { "_int","_wxWindowID",0},
2048 { "_int","_unsigned_int",0},
2049 { "_int","_signed_int",0},
2050 { "_wxDateTime_t","_unsigned_short",0},
2051 { "_wxDateTime_t","_short",0},
2052 { "_wxDateTime_t","_WXTYPE",0},
2053 { "_time_t","_wxCoord",0},
2054 { "_time_t","_wxPrintQuality",0},
2055 { "_time_t","_unsigned_int",0},
2056 { "_time_t","_int",0},
2057 { "_time_t","_wxWindowID",0},
2058 { "_time_t","_uint",0},
2059 { "_time_t","_size_t",0},
2060 { "_wxCoord","_int",0},
2061 { "_wxCoord","_signed_int",0},
2062 { "_wxCoord","_unsigned_int",0},
2063 { "_wxCoord","_wxWindowID",0},
2064 { "_wxCoord","_uint",0},
2065 { "_wxCoord","_EBool",0},
2066 { "_wxCoord","_size_t",0},
2067 { "_wxCoord","_time_t",0},
2068 { "_wxCoord","_wxPrintQuality",0},
2071 static PyObject
*SWIG_globals
;
2075 SWIGEXPORT(void) initfilesysc() {
2077 SWIG_globals
= SWIG_newvarlink();
2078 m
= Py_InitModule("filesysc", filesyscMethods
);
2079 d
= PyModule_GetDict(m
);
2081 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
2084 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
2085 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);