[tuxdroid-svn] r5973 - in software_suite_v3/software/plugin/plugin-skype/branches/in_out_plugin: e
Status: Beta
Brought to you by:
ks156
From: jerome <c2m...@c2...> - 2009-12-13 12:43:15
|
Author: jerome Date: 2009-12-13 13:42:59 +0100 (Sun, 13 Dec 2009) New Revision: 5973 Modified: software_suite_v3/software/plugin/plugin-skype/branches/in_out_plugin/executables/plugin-skype.py software_suite_v3/software/plugin/plugin-skype/branches/in_out_plugin/resources/plugin.xml Log: * Added outgoing parameter. Modified: software_suite_v3/software/plugin/plugin-skype/branches/in_out_plugin/executables/plugin-skype.py =================================================================== --- software_suite_v3/software/plugin/plugin-skype/branches/in_out_plugin/executables/plugin-skype.py 2009-12-13 12:31:15 UTC (rev 5972) +++ software_suite_v3/software/plugin/plugin-skype/branches/in_out_plugin/executables/plugin-skype.py 2009-12-13 12:42:59 UTC (rev 5973) @@ -48,8 +48,9 @@ Skype plugin configuration. ''' throwEmoticons = True + throwTTS = True + isOutgoing = False - def __init__(self): ''' Configuration initialization. @@ -70,9 +71,36 @@ Set the throwEmoticons parameter value. ''' self.throwEmoticons = aThrowEmoticons + + + def getThrowTTS() + ''' + Return the throwTTS parameter value. + ''' + return self.throwTTS + + + def setThrowTTS(throw) + ''' + Set the throwTTS parameter value. + ''' + self.throwTTS = throw + + + def getIsOutgoing() + ''' + Return the outgoing parameter value. + ''' + return self.isOutgoing + + + def setIsOutgoing(outgoing) + ''' + Set the outgoing parameter value. + ''' + self.isOutgoing = outgoing - class SkypePlugin(SimplePlugin): ''' Skype plugin base class. Modified: software_suite_v3/software/plugin/plugin-skype/branches/in_out_plugin/resources/plugin.xml =================================================================== --- software_suite_v3/software/plugin/plugin-skype/branches/in_out_plugin/resources/plugin.xml 2009-12-13 12:31:15 UTC (rev 5972) +++ software_suite_v3/software/plugin/plugin-skype/branches/in_out_plugin/resources/plugin.xml 2009-12-13 12:42:59 UTC (rev 5973) @@ -14,6 +14,23 @@ <platform>all</platform> </description> <parameters> + <!-- Daemon ( incoming ) parameters --> + <parameter + name="throwEmoticons" + description="Throw or not Emoticons" + type="boolean" + defaultValue="true" /> + <parameter + name="throwTTS" + description="Throw or not TTS messages" + type="boolean" + defaultValue="true" /> + <!-- Outgoing parameter, select it to make outgoing calls --> + <parameter + name="isOutgoing" + description="Make outgoing calls" + type="boolean" + defaultValue="false" /> </parameters> <commands> <command |