14 #ifndef WINDOWSREGISTRY_H 15 #define WINDOWSREGISTRY_H 28 class EXPCL_PANDA_EXPRESS WindowsRegistry
36 static bool set_string_value(
const std::string &key,
const std::string &name,
37 const std::string &value, RegLevel rl = rl_machine);
38 static bool set_int_value(
const std::string &key,
const std::string &name,
int value, RegLevel rl = rl_machine);
45 static Type get_key_type(
const std::string &key,
const std::string &name, RegLevel rl = rl_machine);
46 static std::string get_string_value(
const std::string &key,
const std::string &name,
47 const std::string &default_value, RegLevel rl = rl_machine);
48 static int get_int_value(
const std::string &key,
const std::string &name,
49 int default_value, RegLevel rl = rl_machine);
52 static bool do_set(
const std::string &key,
const std::string &name,
53 int data_type,
const void *data,
int data_length,
const RegLevel rl);
54 static bool do_get(
const std::string &key,
const std::string &name,
55 int &data_type, std::string &data,
const RegLevel rl);
56 static std::string format_message(
int error_code);
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.