[mythtv-commits] Ticket #3910: Mythshutdown cleanup

MythTV mythtv at cvs.mythtv.org
Sun Sep 2 18:43:07 UTC 2007


#3910: Mythshutdown cleanup
-----------------------------------------------+----------------------------
 Reporter:  Matthew Wire <devel at mrwire.co.uk>  |        Owner:  ijr    
     Type:  patch                              |       Status:  new    
 Priority:  minor                              |    Milestone:  unknown
Component:  mythtv                             |      Version:  unknown
 Severity:  medium                             |   Resolution:         
  Mlocked:  0                                  |  
-----------------------------------------------+----------------------------

Comment(by Matthew Wire <devel at mrwire.co.uk>):

 Sorry, that comment was rather vague.  I'll follow up with an email on the
 dev list.  That'll teach me to submit late at night.[[BR]]
 I've also refreshed all three patches.  The mythcontext patch is now only
 four lines since I realised that the existed functions could be re-used
 with one wrapper function.[[BR]]

 [[BR]]
 '''libmyth-mythcontext_globalSettings''' adds saveGlobalSetting function
 to mythcontext since there is currently no function that will do
 this.[[BR]]
 [[BR]]
 '''libmyth-util_isRunning''' moves the isRunning function from
 mythshutdown to util.cpp.  This function could be useful elsewhere in myth
 (this is the only part of the patch that I need for the shutdown/wakeup
 class).[[BR]]
 [[BR]]
 '''mythshutdown''' removes getGlobalSetting and setGlobalSetting from
 mythshutdown and uses equivalent functions in mythcontext instead -
 reducing unnecessary code duplication.  It also adds a dependency on
 util.h for the isRunning function.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/3910#comment:3>
MythTV <http://svn.mythtv.org/trac>
MythTV


More information about the mythtv-commits mailing list