diff options
Diffstat (limited to '')
-rw-r--r-- | src/stable/file.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/stable/file.cpp b/src/stable/file.cpp index 05e4af1..55766ea 100644 --- a/src/stable/file.cpp +++ b/src/stable/file.cpp | |||
@@ -142,6 +142,16 @@ bool Bu::File::isEos() | |||
142 | 142 | ||
143 | bool Bu::File::canRead() | 143 | bool Bu::File::canRead() |
144 | { | 144 | { |
145 | return isReadable(); | ||
146 | } | ||
147 | |||
148 | bool Bu::File::canWrite() | ||
149 | { | ||
150 | return isWritable(); | ||
151 | } | ||
152 | |||
153 | bool Bu::File::isReadable() | ||
154 | { | ||
145 | #ifdef WIN32 | 155 | #ifdef WIN32 |
146 | return true; | 156 | return true; |
147 | #else | 157 | #else |
@@ -152,7 +162,7 @@ bool Bu::File::canRead() | |||
152 | #endif | 162 | #endif |
153 | } | 163 | } |
154 | 164 | ||
155 | bool Bu::File::canWrite() | 165 | bool Bu::File::isWritable() |
156 | { | 166 | { |
157 | #ifdef WIN32 | 167 | #ifdef WIN32 |
158 | return true; | 168 | return true; |
@@ -164,16 +174,6 @@ bool Bu::File::canWrite() | |||
164 | #endif | 174 | #endif |
165 | } | 175 | } |
166 | 176 | ||
167 | bool Bu::File::isReadable() | ||
168 | { | ||
169 | return true; | ||
170 | } | ||
171 | |||
172 | bool Bu::File::isWritable() | ||
173 | { | ||
174 | return true; | ||
175 | } | ||
176 | |||
177 | bool Bu::File::isSeekable() | 177 | bool Bu::File::isSeekable() |
178 | { | 178 | { |
179 | return true; | 179 | return true; |