aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/tizen
diff options
context:
space:
mode:
authorCameron Cawley2019-07-01 17:59:27 +0100
committerFilippos Karapetis2019-08-06 07:17:29 +0300
commitdb445bfc87600d0f87bdeeb8b3bf40a3a935f097 (patch)
tree55fc8fd3c04cdb54f7da17c9f12aa27de895782e /backends/platform/tizen
parent66ef50cfebbcd650a6b57d896a9ba057a23cea35 (diff)
downloadscummvm-rg350-db445bfc87600d0f87bdeeb8b3bf40a3a935f097.tar.gz
scummvm-rg350-db445bfc87600d0f87bdeeb8b3bf40a3a935f097.tar.bz2
scummvm-rg350-db445bfc87600d0f87bdeeb8b3bf40a3a935f097.zip
BACKENDS: Improve AbstractFSNode::createDirectory() stubs
Diffstat (limited to 'backends/platform/tizen')
-rw-r--r--backends/platform/tizen/fs.cpp5
-rw-r--r--backends/platform/tizen/fs.h1
2 files changed, 6 insertions, 0 deletions
diff --git a/backends/platform/tizen/fs.cpp b/backends/platform/tizen/fs.cpp
index c6cd8f0a71..1827b7d4c1 100644
--- a/backends/platform/tizen/fs.cpp
+++ b/backends/platform/tizen/fs.cpp
@@ -439,3 +439,8 @@ Common::WriteStream *TizenFilesystemNode::createWriteStream() {
}
return result;
}
+
+bool TizenFilesystemNode::createDirectory() {
+ warning("TizenFilesystemNode::createDirectory(): Not supported");
+ return _isValid && isDirectory();
+}
diff --git a/backends/platform/tizen/fs.h b/backends/platform/tizen/fs.h
index 8c1677fa7b..1da226b1a6 100644
--- a/backends/platform/tizen/fs.h
+++ b/backends/platform/tizen/fs.h
@@ -83,6 +83,7 @@ public:
Common::SeekableReadStream *createReadStream();
Common::WriteStream *createWriteStream();
+ bool createDirectory();
protected:
TizenFilesystemNode(const Common::String &root, const Common::String &p);