diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-01-16 22:52:17 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-01-16 22:52:17 +0100 |
commit | f743873c5cd308d1ca4145f3b71823e5f2df05de (patch) | |
tree | 46129540e249ecf11147e6d34c0cb6ec863de26b /docs/api | |
parent | animate package added (diff) | |
download | pyload-f743873c5cd308d1ca4145f3b71823e5f2df05de.tar.xz |
evaluate different webservers
Diffstat (limited to 'docs/api')
-rw-r--r-- | docs/api/datatypes.rst | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/docs/api/datatypes.rst b/docs/api/datatypes.rst index d4df56905..5516189f3 100644 --- a/docs/api/datatypes.rst +++ b/docs/api/datatypes.rst @@ -258,11 +258,12 @@ for various languages. It is also a good overview of avaible methods and return } struct ConfigInfo { - 1: string name, + 1: string name 2: string label, 3: string description, - 4: bool saved, - 5: bool activated, + 4: bool addon, + 5: bool user_context, + 6: optional bool activated, } struct EventInfo { @@ -365,10 +366,16 @@ for various languages. It is also a good overview of avaible methods and return /////////////////////// map<string, ConfigHolder> getConfig(), - list<ConfigInfo> getGlobalPlugins(), - list<ConfigInfo> getUserPlugins(), + string getConfigValue(1: string section, 2: string option), + + // two methods with ambigous classification, could be configuration or addon related + list<ConfigInfo> getCoreConfig(), + list<ConfigInfo> getPluginConfig(), + list<ConfigInfo> getAvailablePlugins(), ConfigHolder configurePlugin(1: PluginName plugin), + + void setConfigValue(1: string section, 2: string option, 3: string value), void saveConfig(1: ConfigHolder config), void deleteConfig(1: PluginName plugin), void setConfigHandler(1: PluginName plugin, 2: InteractionID iid, 3: JSONString value), @@ -523,8 +530,8 @@ for various languages. It is also a good overview of avaible methods and return // Addon Methods /////////////////////// - map<PluginName, list<AddonInfo>> getAllInfo(), - list<AddonInfo> getInfoByPlugin(1: PluginName plugin), + //map<PluginName, list<AddonInfo>> getAllInfo(), + //list<AddonInfo> getInfoByPlugin(1: PluginName plugin), map<PluginName, list<AddonService>> getAddonHandler(), bool hasAddonHandler(1: PluginName plugin, 2: string func), |