[pkg-fso-commits] [SCM] FSO frameworkd Debian packaging branch, debian, updated. upstream/0.9.5.5-717-g0f98819

Sebastian Krzyszkowiak seba.dos1 at gmail.com
Sat Aug 6 08:18:25 UTC 2011


The following commit has been merged in the debian branch:
commit 0c4b12c4df42699e0d4c74db65b8e00e4f611d13
Author: Sebastian Krzyszkowiak <seba.dos1 at gmail.com>
Date:   Mon Sep 7 20:58:48 2009 +0200

    odeviced: implement WakeupTimeChanged signal in RTC

diff --git a/framework/subsystems/odeviced/kernel26.py b/framework/subsystems/odeviced/kernel26.py
index 9a7a3ea..5f0f33f 100644
--- a/framework/subsystems/odeviced/kernel26.py
+++ b/framework/subsystems/odeviced/kernel26.py
@@ -450,6 +450,10 @@ class RealtimeClock( dbus.service.Object ):
         """Set time by seconds since epoch (UTC)"""
         pyrtc.rtcSetTime( time.gmtime( t ) )
 
+    @dbus.service.signal( DBUS_INTERFACE, "i" )
+    def WakeupTimeChanged ( self, t ):
+        pass
+
     @dbus.service.method( DBUS_INTERFACE, "", "i" )
     def GetWakeupTime( self ):
         """Return wakeup time in seconds since epoch (UTC) if a wakeup
@@ -469,6 +473,7 @@ class RealtimeClock( dbus.service.Object ):
             pyrtc.rtcDisableAlarm()
         else:
             pyrtc.rtcSetAlarm( time.gmtime( t ) )
+        self.WakeupTimeChanged( t )
 
 #----------------------------------------------------------------------------#
 def factory( prefix, controller ):

-- 
FSO frameworkd Debian packaging



More information about the pkg-fso-commits mailing list