Author: remi
Date: 2009-04-07 18:42:41 +0200 (Tue, 07 Apr 2009)
New Revision: 4402

Modified:
   
software_suite_v2/tuxware/pytuxisalive/branches/0.3.0/src/tuxisalive/api/tuxdroid/Framework.py
Log:
* all the user configurations and resource start will be centralized ...

Modified: 
software_suite_v2/tuxware/pytuxisalive/branches/0.3.0/src/tuxisalive/api/tuxdroid/Framework.py
===================================================================
--- 
software_suite_v2/tuxware/pytuxisalive/branches/0.3.0/src/tuxisalive/api/tuxdroid/Framework.py
      2009-04-07 16:39:45 UTC (rev 4401)
+++ 
software_suite_v2/tuxware/pytuxisalive/branches/0.3.0/src/tuxisalive/api/tuxdroid/Framework.py
      2009-04-07 16:42:41 UTC (rev 4402)
@@ -57,40 +57,6 @@
             return False
 
     # 
--------------------------------------------------------------------------
-    # Connect this api to the framework.
-    # 
--------------------------------------------------------------------------
-    def connect(self):
-        """Connect this api to the framework.
-        This command is deprecated.
-        """
-        print "This command is deprecated."
-
-    # 
--------------------------------------------------------------------------
-    # Start the gadget framework.
-    # 
--------------------------------------------------------------------------
-    def __start(self, gadgetsDirectory, language, country, locutor, pitch):
-        """Start the gadget framework.
-        @param gadgetsDirectory: Gadget directory path or None.
-        @param language: Language.
-        @param country: Country.
-        @param locutor: TTS locutor.
-        @param pitch: TTS pitch.
-        @return: The success.
-        """
-        if gadgetsDirectory == None:
-            gadgetsDirectory = os.path.join(os.path.expanduser("~"), "MyTux",
-                "MyTuxGadgets")
-        args = {
-            'gadgets_path' : gadgetsDirectory,
-            'language' : language,
-            'country' : country,
-            'locutor' : locutor,
-            'pitch' : pitch,
-        }
-        cmd = "gadget_framework/start?"
-        return self._sendCommandBooleanResult(cmd, args)
-
-    # 
--------------------------------------------------------------------------
     # Update gadgets list on container deloyed event.
     # 
--------------------------------------------------------------------------
     def __updateGadgetsContainer(self, *args):
@@ -107,22 +73,3 @@
                         result[key]['description']['help_file'])
                     gadgetsStruct[key] = result[key]
             self.__gadgetsContainer._update(gadgetsStruct)
-
-    # 
--------------------------------------------------------------------------
-    # Start the gadget framework and wait that the gadgets container has been
-    # deployed.
-    # 
--------------------------------------------------------------------------
-    def start(self, gadgetsDirectory, language, country, locutor, pitch):
-        """Start the gadget framework and wait that the gadgets container has
-        been deployed.
-        @param gadgetsDirectory: Gadget directory path or None.
-        @param language: Language.
-        @param country: Country.
-        @param locutor: TTS locutor.
-        @param pitch: TTS pitch.
-        @return: The success.
-        """
-        if self.__start(gadgetsDirectory, language, country, locutor, pitch):
-            self.__updateGadgetsContainer()
-            return True
-        return False


------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Tux-droid-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tux-droid-svn

Reply via email to