The registry
The static write, read, and erase methods in the Registry
class operate on values of the Integer
, Double
, Boolean
, and String
types, as well as memory blocks in the Windows Registry.
Registry.h:
namespace SmallWindows { class Registry { public: static void WriteInteger(String key, const int value); static void WriteDouble(String key, const double value); static void WriteBoolean(String key, const bool value); static void WriteString(String key, const String text); static void WriteBuffer(String key, const void* buffer, int size); static int ReadInteger(String key, const int defaultValue); static double ReadDouble(String key, const double defaultValue); static bool ReadBoolean(String key, const bool defaultValue); static String ReadString(String key, const String defaultText); ...