[tuxdroid-svn] r5951 - software_suite_v3/software/plugin/plugin-skype/branches/in_out_plugin/execut
Status: Beta
Brought to you by:
ks156
From: jerome <c2m...@c2...> - 2009-12-08 11:01:40
|
Author: jerome Date: 2009-12-08 12:01:28 +0100 (Tue, 08 Dec 2009) New Revision: 5951 Modified: software_suite_v3/software/plugin/plugin-skype/branches/in_out_plugin/executables/connector.py Log: * Do not start client if daemon mode ( added start client var ). Modified: software_suite_v3/software/plugin/plugin-skype/branches/in_out_plugin/executables/connector.py =================================================================== --- software_suite_v3/software/plugin/plugin-skype/branches/in_out_plugin/executables/connector.py 2009-12-08 11:00:52 UTC (rev 5950) +++ software_suite_v3/software/plugin/plugin-skype/branches/in_out_plugin/executables/connector.py 2009-12-08 11:01:28 UTC (rev 5951) @@ -143,7 +143,7 @@ - def __start__(self): + def __start__(self, StartClient=True): ''' Start connection between client-application ''' @@ -154,7 +154,7 @@ self.skypeClient = SkypeClient(SkypeClient.WINDOWS) #If skype client is not running start it and wait started to connect api - if not self.skypeClient.isRunning(): + if ( not self.skypeClient.isRunning() ) and StartClient: self.startedByConnector = True self.skypeClient.OnSkypeStarted = self.__connect_all__ self.skypeClient.start() @@ -181,11 +181,11 @@ ################################################### ####### User functions ################ - def start(self): + def start(self, StartSkype=True): ''' Start connection. ''' - self.__start__() + self.__start__(StartClient = StartSkype) def stop(self, KillClient=False): |