X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7c4728f63395c3641aa62f2b549ee693eb8be978..ae999b11ec671b5a12a30f24c0aa6b36978b3fd6:/include/wx/filesys.h diff --git a/include/wx/filesys.h b/include/wx/filesys.h index 8aca77fc89..ae51b8d7c4 100644 --- a/include/wx/filesys.h +++ b/include/wx/filesys.h @@ -4,17 +4,13 @@ // Author: Vaclav Slavik // Copyright: (c) 1999 Vaclav Slavik // RCS-ID: $Id$ -// Licence: wxWindows Licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef __FILESYS_H__ #define __FILESYS_H__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "filesys.h" -#endif - -#include "wx/setup.h" +#include "wx/defs.h" #if !wxUSE_STREAMS #error You cannot compile virtual file systems without wxUSE_STREAMS @@ -30,9 +26,9 @@ #include "wx/datetime.h" #include "wx/filename.h" -class wxFSFile; -class wxFileSystemHandler; -class wxFileSystem; +class WXDLLIMPEXP_BASE wxFSFile; +class WXDLLIMPEXP_BASE wxFileSystemHandler; +class WXDLLIMPEXP_BASE wxFileSystem; //-------------------------------------------------------------------------------- // wxFSFile @@ -107,7 +103,7 @@ class WXDLLIMPEXP_BASE wxFileSystemHandler : public wxObject public: wxFileSystemHandler() : wxObject() {} - // returns TRUE if this handler is able to open given location + // returns true if this handler is able to open given location virtual bool CanOpen(const wxString& location) = 0; // opens given file and returns pointer to input stream. @@ -165,10 +161,10 @@ public: // sets the current location. Every call to OpenFile is // relative to this location. // NOTE !! - // unless is_dir = TRUE 'location' is *not* the directory but + // unless is_dir = true 'location' is *not* the directory but // file contained in this directory // (so ChangePathTo("dir/subdir/xh.htm") sets m_Path to "dir/subdir/") - void ChangePathTo(const wxString& location, bool is_dir = FALSE); + void ChangePathTo(const wxString& location, bool is_dir = false); wxString GetPath() const {return m_Path;} @@ -186,7 +182,7 @@ public: wxString FindNext(); // Adds FS handler. - // In fact, this class is only front-end to the FS hanlers :-) + // In fact, this class is only front-end to the FS handlers :-) static void AddHandler(wxFileSystemHandler *handler); // remove all items from the m_Handlers list