#ifndef _WX_TEXTFILE_H
#define _WX_TEXTFILE_H
-#if defined(__GNUG__) && !defined(__APPLE__)
- #pragma interface "textfile.h"
-#endif
-
#include "wx/defs.h"
#include "wx/textbuf.h"
// wxTextFile
// ----------------------------------------------------------------------------
-class WXDLLEXPORT_BASE wxTextFile : public wxTextBuffer
+class WXDLLIMPEXP_BASE wxTextFile : public wxTextBuffer
{
public:
// constructors
virtual bool OnOpen(const wxString &strBufferName,
wxTextBufferOpenMode OpenMode);
virtual bool OnClose();
- virtual bool OnRead(wxMBConv& conv);
- virtual bool OnWrite(wxTextFileType typeNew, wxMBConv& conv);
+ virtual bool OnRead(const wxMBConv& conv);
+ virtual bool OnWrite(wxTextFileType typeNew, const wxMBConv& conv);
private:
+
wxFile m_file;
+
+ DECLARE_NO_COPY_CLASS(wxTextFile)
};
#else // !wxUSE_TEXTFILE