X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c3f4609ebb56f76065c28352d8db37f65a6fa35e..b6e2eddeaf7e559589ce41ac41e88f9bd71c5a08:/include/wx/fs_inet.h?ds=sidebyside diff --git a/include/wx/fs_inet.h b/include/wx/fs_inet.h index 3480e98cce..3bafeed289 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__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "fs_inet.h" #endif -#include "wx/wxprec.h" - -#ifdef __BORDLANDC__ -#pragma hdrstop -#endif +#include "wx/defs.h" #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; @@ -56,3 +53,5 @@ class WXDLLEXPORT wxInternetFSHandler : public wxFileSystemHandler #endif // wxUSE_FILESYSTEM && wxUSE_FS_INET && wxUSE_STREAMS && wxUSE_SOCKETS +#endif // _WX_FS_INET_H_ +