Include wx/stream.h according to precompiled headers of wx/wx.h (with other minor cleaning).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2006-05-03 21:50:35 +00:00
parent 9a32689b37
commit 530ecef01f
12 changed files with 48 additions and 25 deletions

View File

@@ -21,8 +21,13 @@
#if 0 #if 0
#ifndef WX_PRECOMP
#if wxUSE_STREAMS
#include "wx/stream.h"
#endif // wxUSE_STREAMS
#endif //WX_PRECOMP
#include "wx/process.h" #include "wx/process.h"
#include "wx/stream.h"
#include "wx/cocoa/string.h" #include "wx/cocoa/string.h"

View File

@@ -30,6 +30,9 @@
#include "wx/log.h" #include "wx/log.h"
#include "wx/app.h" #include "wx/app.h"
#include "wx/utils.h" // for wxGetHomeDir #include "wx/utils.h" // for wxGetHomeDir
#if wxUSE_STREAMS
#include "wx/stream.h"
#endif // wxUSE_STREAMS
#endif //WX_PRECOMP #endif //WX_PRECOMP
#include "wx/file.h" #include "wx/file.h"
@@ -39,11 +42,6 @@
#include "wx/fileconf.h" #include "wx/fileconf.h"
#include "wx/filefn.h" #include "wx/filefn.h"
#if wxUSE_STREAMS
#include "wx/stream.h"
#endif // wxUSE_STREAMS
#if defined(__WXMAC__) #if defined(__WXMAC__)
#include "wx/mac/private.h" // includes mac headers #include "wx/mac/private.h" // includes mac headers
#include "wx/filename.h" // for MacSetTypeAndCreator #include "wx/filename.h" // for MacSetTypeAndCreator

View File

@@ -26,10 +26,14 @@
#if wxUSE_STREAMS #if wxUSE_STREAMS
#include <stdlib.h>
#include "wx/stream.h"
#include "wx/mstream.h" #include "wx/mstream.h"
#ifndef WX_PRECOMP
#include "wx/stream.h"
#endif //WX_PRECOMP
#include <stdlib.h>
// ============================================================================ // ============================================================================
// implementation // implementation
// ============================================================================ // ============================================================================

View File

@@ -18,12 +18,13 @@
#if wxUSE_SOCKETS && wxUSE_STREAMS #if wxUSE_SOCKETS && wxUSE_STREAMS
#include "wx/sckstrm.h"
#ifndef WX_PRECOMP #ifndef WX_PRECOMP
#include "wx/stream.h"
#endif #endif
#include "wx/stream.h"
#include "wx/socket.h" #include "wx/socket.h"
#include "wx/sckstrm.h"
// --------------------------------------------------------------------------- // ---------------------------------------------------------------------------
// wxSocketOutputStream // wxSocketOutputStream

View File

@@ -27,12 +27,13 @@
#if wxUSE_STREAMS #if wxUSE_STREAMS
#include "wx/stream.h"
#ifndef WX_PRECOMP #ifndef WX_PRECOMP
#include "wx/log.h" #include "wx/log.h"
#endif #endif
#include <ctype.h> #include <ctype.h>
#include "wx/stream.h"
#include "wx/datstrm.h" #include "wx/datstrm.h"
#include "wx/textfile.h" #include "wx/textfile.h"

View File

@@ -20,6 +20,9 @@
#ifndef WX_PRECOMP #ifndef WX_PRECOMP
#include "wx/string.h" #include "wx/string.h"
#if wxUSE_STREAMS
#include "wx/stream.h"
#endif
#endif #endif
#if wxUSE_STD_IOSTREAM #if wxUSE_STD_IOSTREAM
@@ -36,8 +39,7 @@ using namespace std ;
#endif #endif
#if wxUSE_STREAMS #if wxUSE_STREAMS
#include "wx/stream.h" #include "wx/txtstrm.h"
#include "wx/txtstrm.h"
#endif #endif
#include "wx/string.h" #include "wx/string.h"

View File

@@ -1,5 +1,5 @@
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////
// Name: fstream.cpp // Name: src/common/fstream.cpp
// Purpose: "File stream" classes // Purpose: "File stream" classes
// Author: Julian Smart // Author: Julian Smart
// Modified by: // Modified by:
@@ -18,10 +18,14 @@
#if wxUSE_STREAMS #if wxUSE_STREAMS
#include <stdio.h>
#include "wx/stream.h"
#include "wx/wfstream.h" #include "wx/wfstream.h"
#ifndef WX_PRECOMP
#include "wx/stream.h"
#endif
#include <stdio.h>
#if wxUSE_FILE #if wxUSE_FILE
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
@@ -380,4 +384,3 @@ wxFFileStream::wxFFileStream(const wxString& fileName)
#endif //wxUSE_FFILE #endif //wxUSE_FFILE
#endif // wxUSE_STREAMS #endif // wxUSE_STREAMS

View File

@@ -103,9 +103,11 @@ license is as follows:
#include "wx/intl.h" #include "wx/intl.h"
#include "wx/log.h" #include "wx/log.h"
#include "wx/utils.h" #include "wx/utils.h"
#if wxUSE_STREAMS
#include "wx/stream.h"
#endif
#endif #endif
#include "wx/stream.h"
#include "wx/image.h" #include "wx/image.h"
#include "wx/hashmap.h" #include "wx/hashmap.h"
#include <string.h> #include <string.h>

View File

@@ -24,6 +24,9 @@
#include "wx/dynarray.h" #include "wx/dynarray.h"
#include "wx/intl.h" #include "wx/intl.h"
#include "wx/log.h" #include "wx/log.h"
#if wxUSE_STREAMS
#include "wx/stream.h"
#endif
#include "wx/sizer.h" #include "wx/sizer.h"
@@ -50,7 +53,6 @@
#include "wx/progdlg.h" #include "wx/progdlg.h"
#include "wx/toolbar.h" #include "wx/toolbar.h"
#include "wx/fontenum.h" #include "wx/fontenum.h"
#include "wx/stream.h"
#include "wx/filedlg.h" #include "wx/filedlg.h"
#include "wx/artprov.h" #include "wx/artprov.h"
#include "wx/spinctrl.h" #include "wx/spinctrl.h"

View File

@@ -24,6 +24,9 @@
#include "wx/dynarray.h" #include "wx/dynarray.h"
#include "wx/intl.h" #include "wx/intl.h"
#include "wx/log.h" #include "wx/log.h"
#if wxUSE_STREAMS
#include "wx/stream.h"
#endif
#include "wx/sizer.h" #include "wx/sizer.h"
@@ -51,7 +54,6 @@
#include "wx/progdlg.h" #include "wx/progdlg.h"
#include "wx/toolbar.h" #include "wx/toolbar.h"
#include "wx/fontenum.h" #include "wx/fontenum.h"
#include "wx/stream.h"
#include "wx/filedlg.h" #include "wx/filedlg.h"
#include "wx/artprov.h" #include "wx/artprov.h"
#include "wx/spinctrl.h" #include "wx/spinctrl.h"

View File

@@ -29,9 +29,11 @@
#include "wx/app.h" #include "wx/app.h"
#include "wx/intl.h" #include "wx/intl.h"
#include "wx/log.h" #include "wx/log.h"
#if wxUSE_STREAMS
#include "wx/stream.h"
#endif
#endif #endif
#include "wx/stream.h"
#include "wx/process.h" #include "wx/process.h"
#include "wx/apptrait.h" #include "wx/apptrait.h"

View File

@@ -29,9 +29,11 @@
#include "wx/app.h" #include "wx/app.h"
#include "wx/intl.h" #include "wx/intl.h"
#include "wx/log.h" #include "wx/log.h"
#if wxUSE_STREAMS
#include "wx/stream.h"
#endif
#endif #endif
#include "wx/stream.h"
#include "wx/process.h" #include "wx/process.h"
#include "wx/apptrait.h" #include "wx/apptrait.h"
@@ -95,4 +97,3 @@ long wxExecute(wxChar **argv, int flags, wxProcess *handler)
{ {
return 0; return 0;
} }