Introduce the new class NameMapper.

This class is used to map an id (uuid) to a name (potentially human
readable).

This will be use by the server to or renderer to use a different "name"
than the id.

The default NameMapper provided use the id as a name.
This commit is contained in:
Matthieu Gautier
2019-08-08 16:06:07 +02:00
parent ce8fff0b42
commit 68a768f58a
2 changed files with 46 additions and 1 deletions

View File

@ -10,7 +10,8 @@ headers = [
'reader.h',
'entry.h',
'searcher.h',
'kiwixserve.h'
'kiwixserve.h',
'name_mapper.h'
]
install_headers(headers, subdir:'kiwix')