common constants (wxSeekMode) and types (off_t) to wxFile and wxStream are

now defined in filefn.h included by both file.h and stream.h


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
1998-07-14 22:15:29 +00:00
parent eda3efe2f8
commit 45ea509a21
3 changed files with 31 additions and 29 deletions

View File

@@ -17,21 +17,13 @@
#endif
#include <stdio.h>
#include <wx/object.h>
#include <wx/string.h>
#ifdef _MSC_VER
#define off_t _off_t
#endif
#include "wx/object.h"
#include "wx/string.h"
#include "wx/filefn.h" // for off_t and wxSeekMode
/*
* wxStream: base classes
*/
typedef enum {
wxFromStart, wxFromCurrent, wxFromEnd
} wxSeekMode;
class wxOutputStream;
class wxInputStream: virtual public wxObject {
DECLARE_ABSTRACT_CLASS(wxInputStream)