X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ed58dbeab64d18a0f869ea8e1610a0a88ad7b22c..8ec1974ea170256698381cc47dd1dcd6cb494433:/include/wx/fs_inet.h diff --git a/include/wx/fs_inet.h b/include/wx/fs_inet.h index 7179f40742..c2e9bc0e1e 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. @@ -18,31 +18,28 @@ limitation) */ +#ifndef _WX_FS_INET_H_ +#define _WX_FS_INET_H_ -#ifdef __GNUG__ -#pragma implementation +#if defined(__GNUG__) && !defined(__APPLE__) +#pragma interface "fs_inet.h" #endif -#include "wx/wxprec.h" +#include "wx/defs.h" -#ifdef __BORDLANDC__ -#pragma hdrstop -#endif - -#if wxUSE_FS_INET && wxUSE_STREAMS && wxUSE_SOCKETS +#if wxUSE_FILESYSTEM && wxUSE_FS_INET && wxUSE_STREAMS && wxUSE_SOCKETS #ifndef WXPRECOMP -#include "wx/wx.h" + #include "wx/hash.h" #endif #include "wx/filesys.h" - //-------------------------------------------------------------------------------- // wxInternetFSHandler //-------------------------------------------------------------------------------- -class WXDLLEXPORT wxInternetFSHandler : public wxFileSystemHandler +class WXDLLIMPEXP_NET wxInternetFSHandler : public wxFileSystemHandler { private: wxHashTable m_Cache; @@ -54,5 +51,7 @@ class WXDLLEXPORT wxInternetFSHandler : public wxFileSystemHandler }; #endif - // wxUSE_FS_INET && wxUSE_STREAMS && wxUSE_SOCKETS + // wxUSE_FILESYSTEM && wxUSE_FS_INET && wxUSE_STREAMS && wxUSE_SOCKETS + +#endif // _WX_FS_INET_H_