mirror of
https://github.com/kiwix/libkiwix.git
synced 2025-06-26 10:11:30 +00:00
Extracted HumanReadableNameMapper::mapName()
No cleanup of the new function was performed to keep the diff minimal.
This commit is contained in:
committed by
Matthieu Gautier
parent
4e64d26ede
commit
5b9daf0d9d
@ -54,6 +54,9 @@ class HumanReadableNameMapper : public NameMapper {
|
||||
virtual ~HumanReadableNameMapper() = default;
|
||||
virtual std::string getNameForId(const std::string& id) const;
|
||||
virtual std::string getIdForName(const std::string& name) const;
|
||||
|
||||
private:
|
||||
void mapName(const kiwix::Library& lib, std::string name, std::string id);
|
||||
};
|
||||
|
||||
class UpdatableNameMapper : public NameMapper {
|
||||
|
Reference in New Issue
Block a user