#ifndef _WX_WXFSTREAM_H__
#define _WX_WXFSTREAM_H__
-#if defined(__GNUG__) && !defined(__APPLE__)
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma interface "wfstream.h"
#endif
DECLARE_NO_COPY_CLASS(wxFileOutputStream)
};
-class WXDLLIMPEXP_BASE wxFileStream: public wxFileInputStream, public wxFileOutputStream {
- public:
- wxFileStream(const wxString& fileName);
+class WXDLLIMPEXP_BASE wxFileStream : public wxFileInputStream,
+ public wxFileOutputStream
+{
+public:
+ wxFileStream(const wxString& fileName);
+
+private:
+ DECLARE_NO_COPY_CLASS(wxFileStream)
};
// ----------------------------------------------------------------------------
DECLARE_NO_COPY_CLASS(wxFFileOutputStream)
};
-class WXDLLIMPEXP_BASE wxFFileStream: public wxFFileInputStream, public wxFFileOutputStream {
- public:
- wxFFileStream(const wxString& fileName);
+class WXDLLIMPEXP_BASE wxFFileStream : public wxFFileInputStream,
+ public wxFFileOutputStream
+{
+public:
+ wxFFileStream(const wxString& fileName);
+
+private:
+ DECLARE_NO_COPY_CLASS(wxFFileStream)
};
+
#endif
// wxUSE_STREAMS && wxUSE_FILE