*/
virtual bool CanSave() const;
- /**
- Override to load content from @a stream into @a buffer.
- */
- bool DoLoadFile(wxRichTextBuffer* buffer, wxInputStream& stream);
-
- /**
- Override to save content to @a stream from @a buffer.
- */
- bool DoSaveFile(wxRichTextBuffer* buffer, wxOutputStream& stream);
-
/**
Returns the encoding associated with the handler (if any).
*/
load and save dialogs).
*/
virtual void SetVisible(bool visible);
+
+protected:
+ /**
+ Override to load content from @a stream into @a buffer.
+ */
+ virtual bool DoLoadFile(wxRichTextBuffer* buffer,
+ wxInputStream& stream) = 0;
+
+ /**
+ Override to save content to @a stream from @a buffer.
+ */
+ virtual bool DoSaveFile(wxRichTextBuffer* buffer,
+ wxOutputStream& stream) = 0;
};