Pioneer
EnumStrings.h
Go to the documentation of this file.
1 // Copyright © 2008-2023 Pioneer Developers. See AUTHORS.txt for details
2 // Licensed under the terms of the GPL v3. See licenses/GPL-3.txt
3 
4 #ifndef ENUMSTRINGS_H
5 #define ENUMSTRINGS_H
6 
7 namespace EnumStrings {
8 
9  void Init();
10  const char *GetString(const char *ns, int value);
11  int GetValue(const char *ns, const char *name);
12 
13 } // namespace EnumStrings
14 
15 #endif
Definition: EnumStrings.cpp:9
void Init()
Definition: EnumStrings.cpp:14
int GetValue(const char *ns, const char *name)
Definition: EnumStrings.cpp:41
const char * GetString(const char *ns, int value)
Definition: EnumStrings.cpp:27