You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openmw/components/settings/values.hpp

34 lines
536 B
C++

#ifndef OPENMW_COMPONENTS_SETTINGS_VALUES_H
#define OPENMW_COMPONENTS_SETTINGS_VALUES_H
#include "sanitizerimpl.hpp"
#include "settingvalue.hpp"
namespace Settings
{
class Values
{
public:
static void init();
private:
static Values* sValues;
friend const Values& values();
friend Values& valuesMutable();
};
inline const Values& values()
{
return *Values::sValues;
}
inline Values& valuesMutable()
{
return *Values::sValues;
}
}
#endif