diff options
Diffstat (limited to 'netfs/lib/defaultMapper.h')
-rw-r--r-- | netfs/lib/defaultMapper.h | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/netfs/lib/defaultMapper.h b/netfs/lib/defaultMapper.h index 5a5c335..9f063a8 100644 --- a/netfs/lib/defaultMapper.h +++ b/netfs/lib/defaultMapper.h @@ -1,24 +1,19 @@ #ifndef NETFS_MAPPING_DEFAULTIMPL_H #define NETFS_MAPPING_DEFAULTIMPL_H +#include "baseMapper.h" #include "entries.h" #include "entryResolver.h" #include <mapper.h> namespace NetFS { namespace Mapping { - class DefaultMapper : public Mapper { + class DefaultMapper : public Mapper, BaseMapper { public: - DefaultMapper(); - DefaultMapper(EntryResolverPtr<User> users); - DefaultMapper(EntryResolverPtr<User> users, EntryResolverPtr<Group> groups); + using BaseMapper::BaseMapper; Transport mapFileSystem(int uid, int gid) override; FileSystem mapTransport(const std::string & un, const std::string & gn) override; - - protected: - EntryResolverPtr<User> users; - EntryResolverPtr<Group> groups; }; } } |