Config
Object Hierarchy:
Description:
Namespace: Grl
Package: grilo-0.3
Content:
Creation methods:
- public Config (string plugin, string? source)
Creates a new data config object that will be associated with a plugin (if
source
is NULL), or a specific source spawned from a plugin (ifsource
is not NULL).
Methods:
- public void @set (string param, Value value)
Set
param
value
. - public string get_api_key ()
- public uint8 get_api_key_blob (size_t size)
- public string get_api_secret ()
- public string get_api_token ()
- public string get_api_token_secret ()
- public uint8 get_binary (string param, size_t? size)
Gets the value of
param
encoded as base64. - public bool get_boolean (string param)
- public float get_float (string param)
- public int get_int (string param)
- public string get_password ()
- public string get_plugin ()
- public string get_source ()
- public string get_string (string param)
- public string get_username ()
- public bool has_param (string param)
- public void set_api_key (string key)
Set the webservice API key in the configuration
- public void set_api_key_blob (uint8 blob, size_t size)
Set the binary API key in the configuration
- public void set_api_secret (string secret)
Set the webservice passphrase in the configuration
- public void set_api_token (string token)
Set the webservice API token in the configuration
- public void set_api_token_secret (string secret)
Set the webservice API token secret in the configuration (Needed by OAuth)
- public void set_binary (string param, uint8 blob, size_t size)
Set
param
value. - public void set_boolean (string param, bool value)
Set
param
value
. - public void set_float (string param, float value)
Set
param
value
. - public void set_int (string param, int value)
Set
param
value
. - public void set_password (string password)
Set the password in the configuration
- public void set_plugin (string plugin)
Set the plugin key in the configuration
- public void set_source (string source)
Set the source key in the configuration
- public void set_string (string param, string value)
Set
param
value
. - public void set_username (string username)
Set the username in the configuration
Fields:
- public unowned void*[] _grl_reserved
Inherited Members:
All known members inherited from class GLib.Object