Update of /cvsroot/freevo/freevo/src/plugins
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13927/plugins

Modified Files:
        command.py shutdown.py 
Log Message:
More event / main loop cleanup. rc.py has a changed interface now

Index: command.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/plugins/command.py,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** command.py  18 Feb 2004 23:52:20 -0000      1.10
--- command.py  30 May 2004 18:28:15 -0000      1.11
***************
*** 15,18 ****
--- 15,21 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.11  2004/05/30 18:28:15  dischi
+ # More event / main loop cleanup. rc.py has a changed interface now
+ #
  # Revision 1.10  2004/02/18 23:52:20  mikeruelle
  # reflect dischi's changes
***************
*** 72,75 ****
--- 75,79 ----
  import osd
  import fxditem
+ import rc
  
  from event import *
***************
*** 209,213 ****
--- 213,221 ----
                                                                                  
  
+ class CommandChild(childapp.ChildApp2):
+     def poll(self):
+         pass
  
+     
  class CommandItem(Item):
      """
***************
*** 249,257 ****
              pop.show()
  
!       workapp = childapp.ChildApp2(self.cmd, 'command', 1, self.stoposd)
        while workapp.isAlive():
!           for child in childapp.running_children:
!               if child != workapp:
!                   child.poll()
            time.sleep(0.5)
  
--- 257,265 ----
              pop.show()
  
!       workapp = CommandChild(self.cmd, 'command', 1, self.stoposd)
        while workapp.isAlive():
!             # make sure all callbacks in rc are running
!             rc.poll()
!             # wait some time
            time.sleep(0.5)
  

Index: shutdown.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/plugins/shutdown.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** shutdown.py 14 Mar 2004 11:50:02 -0000      1.3
--- shutdown.py 30 May 2004 18:28:15 -0000      1.4
***************
*** 10,13 ****
--- 10,16 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.4  2004/05/30 18:28:15  dischi
+ # More event / main loop cleanup. rc.py has a changed interface now
+ #
  # Revision 1.3  2004/03/14 11:50:02  dischi
  # added restart
***************
*** 65,69 ****
      import osd
      import plugin
!     import childapp
      import util.mediainfo
      
--- 68,72 ----
      import osd
      import plugin
!     import rc
      import util.mediainfo
      
***************
*** 95,99 ****
  
          plugin.shutdown()
!         childapp.shutdown()
          osd.shutdown()
  
--- 98,102 ----
  
          plugin.shutdown()
!         rc.shutdown()
          osd.shutdown()
  
***************
*** 115,119 ****
  
      # Shutdown all children still running
!     childapp.shutdown()
  
      # SDL must be shutdown to restore video modes etc
--- 118,122 ----
  
      # Shutdown all children still running
!     rc.shutdown()
  
      # SDL must be shutdown to restore video modes etc



-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to