Added integer settings for plugins

This commit is contained in:
James Booth
2016-03-26 02:19:30 +00:00
parent e2b02733df
commit ce9b0836a0
8 changed files with 90 additions and 0 deletions

View File

@@ -356,3 +356,15 @@ api_settings_set_string(const char *const group, const char *const key, const ch
{
plugin_settings_set_string(group, key, value);
}
int
api_settings_get_int(const char *const group, const char *const key, int def)
{
return plugin_settings_get_int(group, key, def);
}
void
api_settings_set_int(const char *const group, const char *const key, int value)
{
plugin_settings_set_int(group, key, value);
}