Author: remi
Date: 2009-09-08 09:30:45 +0200 (Tue, 08 Sep 2009)
New Revision: 5335

Modified:
   
software_suite_v3/smart-core/smart-server/trunk/resources/01_drivers/00_resourceTuxDriver.py
Log:
* Added method to send RAW commands

Modified: 
software_suite_v3/smart-core/smart-server/trunk/resources/01_drivers/00_resourceTuxDriver.py
===================================================================
--- 
software_suite_v3/smart-core/smart-server/trunk/resources/01_drivers/00_resourceTuxDriver.py
        2009-09-08 07:30:09 UTC (rev 5334)
+++ 
software_suite_v3/smart-core/smart-server/trunk/resources/01_drivers/00_resourceTuxDriver.py
        2009-09-08 07:30:45 UTC (rev 5335)
@@ -166,6 +166,16 @@
         """
         self.__tuxDriver.PerformMacroText(macro)
 
+    # 
--------------------------------------------------------------------------
+    # Execute a RAW command.
+    # 
--------------------------------------------------------------------------
+    def executeRawCommand(self, rawCommand, delay = 0.0):
+        """Execute a RAW command.
+        @param rawCommand: RAW command.
+        @param delay: Delay before to execute the command.
+        """
+        self.__tuxDriver.PerformCommand(0.0, rawCommand)
+
     # Sound 
--------------------------------------------------------------------
 
     # 
--------------------------------------------------------------------------


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Tux-droid-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tux-droid-svn

Reply via email to