X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5526e819eca4465ed5520d49bccfebc6a28045e0..bf7d7ee7062f7f6028df40e43745235658e38b4d:/include/wx/fs_inet.h diff --git a/include/wx/fs_inet.h b/include/wx/fs_inet.h index 695bdb425f..4f4205ccc1 100644 --- a/include/wx/fs_inet.h +++ b/include/wx/fs_inet.h @@ -8,7 +8,7 @@ /* -REMARKS : +REMARKS : This FS creates local cache (in /tmp directory). The cache is freed on program exit. @@ -20,28 +20,24 @@ limitation) */ #ifdef __GNUG__ -#pragma implementation +#pragma interface "fs_inet.h" #endif -#include +#include "wx/wxprec.h" #ifdef __BORDLANDC__ #pragma hdrstop #endif -#ifndef WXPRECOMP -#include -#endif - -#include - +#if wxUSE_FILESYSTEM && wxUSE_FS_INET && wxUSE_STREAMS && wxUSE_SOCKETS +#include "wx/filesys.h" //-------------------------------------------------------------------------------- // wxInternetFSHandler //-------------------------------------------------------------------------------- -class wxInternetFSHandler : public wxFileSystemHandler +class WXDLLEXPORT wxInternetFSHandler : public wxFileSystemHandler { private: wxHashTable m_Cache; @@ -52,4 +48,6 @@ class wxInternetFSHandler : public wxFileSystemHandler ~wxInternetFSHandler(); }; +#endif + // wxUSE_FILESYSTEM && wxUSE_FS_INET && wxUSE_STREAMS && wxUSE_SOCKETS