projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
document various enumerations defined in defs.h; give a name to the anonymous enum...
[wxWidgets.git]
/
include
/
wx
/
filesys.h
diff --git
a/include/wx/filesys.h
b/include/wx/filesys.h
index cd2af3bbebf6280d6f06182d55de22fb2ffccd1d..80f772c0b7a6e34e5d6c9a0828cd6c44bd490a89 100644
(file)
--- a/
include/wx/filesys.h
+++ b/
include/wx/filesys.h
@@
-12,6
+12,8
@@
#include "wx/defs.h"
#include "wx/defs.h"
+#if wxUSE_FILESYSTEM
+
#if !wxUSE_STREAMS
#error You cannot compile virtual file systems without wxUSE_STREAMS
#endif
#if !wxUSE_STREAMS
#error You cannot compile virtual file systems without wxUSE_STREAMS
#endif
@@
-20,8
+22,6
@@
#error You cannot compile wxHTML without virtual file systems
#endif
#error You cannot compile wxHTML without virtual file systems
#endif
-#if wxUSE_FILESYSTEM
-
#include "wx/stream.h"
#include "wx/datetime.h"
#include "wx/filename.h"
#include "wx/stream.h"
#include "wx/datetime.h"
#include "wx/filename.h"
@@
-168,7
+168,8
@@
protected:
//--------------------------------------------------------------------------------
// Open Bit Flags
//--------------------------------------------------------------------------------
// Open Bit Flags
-enum {
+enum wxFileSystemOpenFlags
+{
wxFS_READ = 1, // Open for reading
wxFS_SEEKABLE = 4 // Returned stream will be seekable
};
wxFS_READ = 1, // Open for reading
wxFS_SEEKABLE = 4 // Returned stream will be seekable
};