aboutsummaryrefslogtreecommitdiff
path: root/libraries/Bridge/FileIO.h
diff options
context:
space:
mode:
authorFede85 <f.vanzati@gmail.com>2013-06-21 19:48:56 +0200
committerFede85 <f.vanzati@gmail.com>2013-06-21 19:48:56 +0200
commit46d2b1f6a466c2493b89325944a7136826c7bab2 (patch)
treec53f78bfd4e4ce724b0e2c99b360a5e58716d70b /libraries/Bridge/FileIO.h
parentafa19e359fb4082e7d54e832effdfacb18bc503a (diff)
renamed SD to FileSystem in FileIO library
Diffstat (limited to 'libraries/Bridge/FileIO.h')
-rw-r--r--libraries/Bridge/FileIO.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/libraries/Bridge/FileIO.h b/libraries/Bridge/FileIO.h
index 4485215..629e5f2 100644
--- a/libraries/Bridge/FileIO.h
+++ b/libraries/Bridge/FileIO.h
@@ -46,7 +46,7 @@ public:
operator bool();
const char * name();
- boolean isDirectory(void);
+ boolean iFileSystemirectory(void);
File openNextFile(uint8_t mode = FILE_READ);
void rewindDirectory(void);
@@ -66,13 +66,11 @@ private:
uint8_t handle;
};
-class SDClass {
+class FileSystemClass {
public:
- SDClass() : bridge(Bridge) { }
- SDClass(BridgeClass &_b) : bridge(_b) { }
+ FileSystemClass() : bridge(Bridge) { }
+ FileSystemClass(BridgeClass &_b) : bridge(_b) { }
- // This needs to be called to set up the connection to the SD card
- // before other methods are used.
boolean begin();
// Open the specified file/directory with the supplied mode (e.g. read or
@@ -98,6 +96,6 @@ private:
BridgeClass &bridge;
};
-extern SDClass SD;
+extern FileSystemClass FileSystem;
#endif