2018-11-04 08:38:06 +00:00
|
|
|
#pragma once
|
2018-11-01 17:23:12 +00:00
|
|
|
|
2019-01-20 04:59:37 +00:00
|
|
|
#include <string>
|
2019-01-20 20:20:34 +00:00
|
|
|
#include <functional>
|
2018-11-07 07:10:38 +00:00
|
|
|
|
2019-01-20 04:59:37 +00:00
|
|
|
int setprop(const char *name, const char *value, bool trigger = true);
|
|
|
|
std::string getprop(const char *name, bool persist = false);
|
2020-05-07 13:08:30 +00:00
|
|
|
void getprops(void (*callback)(const char *, const char *, void *),
|
|
|
|
void *cookie = nullptr, bool persist = false);
|
2020-03-09 09:05:24 +00:00
|
|
|
int delprop(const char *name, bool persist = false);
|
2019-03-06 01:27:09 +00:00
|
|
|
void load_prop_file(const char *filename, bool trigger = true);
|