X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/42e2bbb9e149c589ab03cf6d2adec0617a9f0f24..5f2502393e042e6e2c871ff94b7ccaf7a78b264d:/wxPython/src/_filesys.i diff --git a/wxPython/src/_filesys.i b/wxPython/src/_filesys.i index 4291d52077..be1b01e81a 100644 --- a/wxPython/src/_filesys.i +++ b/wxPython/src/_filesys.i @@ -38,6 +38,8 @@ public: ~wxFSFile(); wxInputStream *GetStream(); + void DetachStream(); + const wxString& GetMimeType(); const wxString& GetLocation(); const wxString& GetAnchor(); @@ -158,6 +160,10 @@ public: static void AddHandler(wxFileSystemHandler *handler); %cleardisown(wxFileSystemHandler *handler); + // Removes FS handler + %newobject RemoveHandler; + static wxFileSystemHandler* RemoveHandler(wxFileSystemHandler *handler); + static void CleanUpHandlers(); // Returns the file URL for a native path