~wxFSFile();
wxInputStream *GetStream();
+ void DetachStream();
+
const wxString& GetMimeType();
const wxString& GetLocation();
const wxString& GetAnchor();
wxDateTime GetModificationTime();
+
+ %property(Anchor, GetAnchor, doc="See `GetAnchor`");
+ %property(Location, GetLocation, doc="See `GetLocation`");
+ %property(MimeType, GetMimeType, doc="See `GetMimeType`");
+ %property(ModificationTime, GetModificationTime, doc="See `GetModificationTime`");
+ %property(Stream, GetStream, doc="See `GetStream`");
+
};
wxString GetAnchor(const wxString& location);
wxString GetRightLocation(const wxString& location);
wxString GetMimeTypeFromExt(const wxString& location);
+
+ %property(Anchor, GetAnchor, doc="See `GetAnchor`");
+ %property(LeftLocation, GetLeftLocation, doc="See `GetLeftLocation`");
+ %property(MimeTypeFromExt, GetMimeTypeFromExt, doc="See `GetMimeTypeFromExt`");
+ %property(Protocol, GetProtocol, doc="See `GetProtocol`");
+ %property(RightLocation, GetRightLocation, doc="See `GetRightLocation`");
};
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
return fname.GetFullPath();
}
}
+
+ %property(Path, GetPath, doc="See `GetPath`");
};