diff options
Diffstat (limited to 'backends/fs/abstract-fs-factory.h')
| -rw-r--r-- | backends/fs/abstract-fs-factory.h | 8 | 
1 files changed, 8 insertions, 0 deletions
| diff --git a/backends/fs/abstract-fs-factory.h b/backends/fs/abstract-fs-factory.h index c826ef2745..79ec3f7520 100644 --- a/backends/fs/abstract-fs-factory.h +++ b/backends/fs/abstract-fs-factory.h @@ -25,6 +25,7 @@  #ifndef ABSTRACT_FILESYSTEM_FACTORY_H  #define ABSTRACT_FILESYSTEM_FACTORY_H +#include "common/stdafx.h"  #include "common/str.h"  #include "backends/fs/abstract-fs.h" @@ -68,6 +69,13 @@ public:  	 * On Windows, it will be a special node which "contains" all drives (C:, D:, E:).  	 */  	virtual AbstractFilesystemNode *makeRootFileNode() const = 0; +	 +	 +	/** +	 * Meta-factory method which returns a concrete AbstractFilesystemFactory +	 * instance depending on the current architecture. +	 */ +	static AbstractFilesystemFactory *makeFSFactory();  };  #endif /*ABSTRACT_FILESYSTEM_FACTORY_H*/ | 
