From f0736191ed4c36038e1c3b79977b1c39d81667b4 Mon Sep 17 00:00:00 2001 From: javiplx Date: Sat, 7 May 2011 18:34:27 +0000 Subject: [PATCH] Increased functionality of osso wrapper git-svn-id: file:///svnroot/wifihood/branches/hildon-wrapping@135 c51dfc6a-5949-4919-9c8e-f207a149c383 --- wifimap/osso_wrapper.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/wifimap/osso_wrapper.py b/wifimap/osso_wrapper.py index fa4bbca..21bd5da 100644 --- a/wifimap/osso_wrapper.py +++ b/wifimap/osso_wrapper.py @@ -24,3 +24,13 @@ class Rpc : callable = iface.get_dbus_method( method ) return callable() + +class Reporter : + def __init__ ( self , context ) : + self.context = context + def system_note_infoprint( self , message ) : + print "MESSAGE : %s" % message + +def SystemNote ( context ) : + return Reporter() + -- 1.7.9.5