[tuxdroid-svn] r4736 - software_suite_v3/smart-core/smart-server/trunk/util/applicationserver/plugi
Status: Beta
Brought to you by:
ks156
|
From: remi <c2m...@c2...> - 2009-06-03 11:04:12
|
Author: remi
Date: 2009-06-03 13:03:57 +0200 (Wed, 03 Jun 2009)
New Revision: 4736
Modified:
software_suite_v3/smart-core/smart-server/trunk/util/applicationserver/plugin/Plugin.py
Log:
* added a parameter to know who has started the plugin/gadget/ugc "user" or "scheduler"
Modified: software_suite_v3/smart-core/smart-server/trunk/util/applicationserver/plugin/Plugin.py
===================================================================
--- software_suite_v3/smart-core/smart-server/trunk/util/applicationserver/plugin/Plugin.py 2009-06-03 10:57:38 UTC (rev 4735)
+++ software_suite_v3/smart-core/smart-server/trunk/util/applicationserver/plugin/Plugin.py 2009-06-03 11:03:57 UTC (rev 4736)
@@ -122,11 +122,20 @@
'name' : 'uuid',
'type' : 'string',
'defaultValue' : self.getDescription().getUuid(),
- 'description' : 'Pitch',
+ 'description' : 'Uuid',
'category' : 'internals',
'visible' : 'false',
})
self.__parameters.append(pluginParameter)
+ pluginParameter = PluginParameter(self, {
+ 'name' : 'startedBy',
+ 'type' : 'string',
+ 'defaultValue' : 'user',
+ 'description' : 'Started by',
+ 'category' : 'internals',
+ 'visible' : 'false',
+ })
+ self.__parameters.append(pluginParameter)
# Create commands
self.__commands = []
for key in dictionary['commands'].keys():
|