- public:
- wxXmlIOHandlerBin() {}
-
- virtual wxXmlIOType GetType() { return wxXML_IO_BIN; }
- virtual bool CanLoad(wxInputStream& stream);
- virtual bool CanSave() { return TRUE; }
-
- virtual bool Load(wxInputStream& stream, wxXmlDocument& doc);
- virtual bool Save(wxOutputStream& stream, const wxXmlDocument& doc);
-
- protected:
- wxString ReadHeader(wxInputStream& stream);
- void WriteHeader(wxOutputStream& stream, const wxString& header);
+public:
+ virtual wxXmlIOType GetType() { return wxXML_IO_EXPAT; }
+ virtual bool CanLoad(wxInputStream& stream);
+ virtual bool CanSave() { return FALSE; }
+
+ virtual bool Load(wxInputStream& stream, wxXmlDocument& doc);
+ virtual bool Save(wxOutputStream& stream, const wxXmlDocument& doc) { return FALSE; }