summaryrefslogtreecommitdiff
path: root/netfs/fuse/fuseMappersImpl.h
diff options
context:
space:
mode:
Diffstat (limited to 'netfs/fuse/fuseMappersImpl.h')
-rw-r--r--netfs/fuse/fuseMappersImpl.h21
1 files changed, 5 insertions, 16 deletions
diff --git a/netfs/fuse/fuseMappersImpl.h b/netfs/fuse/fuseMappersImpl.h
index 41d78b8..2bcf579 100644
--- a/netfs/fuse/fuseMappersImpl.h
+++ b/netfs/fuse/fuseMappersImpl.h
@@ -1,6 +1,7 @@
#ifndef NETFS_MAPPING_CLIENTIMPL_H
#define NETFS_MAPPING_CLIENTIMPL_H
+#include "baseMapper.h"
#include "entries.h"
#include "entryResolver.h"
#include <fuseMappers.h>
@@ -8,32 +9,20 @@
namespace NetFS {
namespace Client {
- class DLL_PUBLIC HideUnknownMapperImpl : public HideUnknownMapper {
+ class DLL_PUBLIC HideUnknownMapperImpl : public HideUnknownMapper, Mapping::BaseMapper {
public:
- HideUnknownMapperImpl();
- HideUnknownMapperImpl(EntryResolverPtr<User> u);
- HideUnknownMapperImpl(EntryResolverPtr<User> u, EntryResolverPtr<Group> g);
+ using BaseMapper::BaseMapper;
Mapping::Transport mapFileSystem(int uid, int gid) override;
Mapping::FileSystem mapTransport(const std::string & un, const std::string & gn) override;
-
- protected:
- EntryResolverPtr<User> users;
- EntryResolverPtr<Group> groups;
};
- class DLL_PUBLIC MaskUnknownMapperImpl : public MaskUnknownMapper {
+ class DLL_PUBLIC MaskUnknownMapperImpl : public MaskUnknownMapper, Mapping::BaseMapper {
public:
- MaskUnknownMapperImpl();
- MaskUnknownMapperImpl(EntryResolverPtr<User> u);
- MaskUnknownMapperImpl(EntryResolverPtr<User> u, EntryResolverPtr<Group> g);
+ using BaseMapper::BaseMapper;
Mapping::Transport mapFileSystem(int uid, int gid) override;
Mapping::FileSystem mapTransport(const std::string & un, const std::string & gn) override;
-
- protected:
- EntryResolverPtr<User> users;
- EntryResolverPtr<Group> groups;
};
}
}