aboutsummaryrefslogtreecommitdiff
path: root/backends/fs/chroot/chroot-fs-factory.h
diff options
context:
space:
mode:
authorJohannes Schickel2016-01-07 10:55:01 +0100
committerJohannes Schickel2016-01-07 10:55:01 +0100
commit557d58af8d2c6cbb18c3506245edd06c641b5027 (patch)
tree3a7230c5b41641decd0133d22ce06089db05821e /backends/fs/chroot/chroot-fs-factory.h
parentadaa1bcd8f727da1060a3a5261520563ca6905aa (diff)
downloadscummvm-rg350-557d58af8d2c6cbb18c3506245edd06c641b5027.tar.gz
scummvm-rg350-557d58af8d2c6cbb18c3506245edd06c641b5027.tar.bz2
scummvm-rg350-557d58af8d2c6cbb18c3506245edd06c641b5027.zip
BACKENDS: Make ChRootFilesystemFactory delcaration more consistent.
The make* factory functions are public in the base class, thus keep the visibility the same.
Diffstat (limited to 'backends/fs/chroot/chroot-fs-factory.h')
-rw-r--r--backends/fs/chroot/chroot-fs-factory.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/backends/fs/chroot/chroot-fs-factory.h b/backends/fs/chroot/chroot-fs-factory.h
index 49101918ce..d3c997be6f 100644
--- a/backends/fs/chroot/chroot-fs-factory.h
+++ b/backends/fs/chroot/chroot-fs-factory.h
@@ -32,16 +32,15 @@
* plugin code.
*/
class ChRootFilesystemFactory : public FilesystemFactory {
-private:
- Common::String _root;
+public:
+ ChRootFilesystemFactory(Common::String root);
-protected:
virtual AbstractFSNode *makeRootFileNode() const;
virtual AbstractFSNode *makeCurrentDirectoryFileNode() const;
virtual AbstractFSNode *makeFileNodePath(const Common::String &path) const;
-public:
- ChRootFilesystemFactory(Common::String root);
+private:
+ Common::String _root;
};
#endif /* BACKENDS_FS_CHROOT_CHROOT_FS_FACTORY_H */