Extend hildon wrapper to mapping application
[wifihood] / wifiscanner / hildongtk / location.py
index 0c5122a..2e0e494 100644 (file)
@@ -37,10 +37,18 @@ class GPSDControl :
     def stop ( self ) :
         print "Stop",self
 
+    def connect ( self , event , handler , *args ) :
+        print "Connecting",self,event,handler,args
+
+    def connect_object ( self , event , handler , *args ) :
+        print "Connecting",self,event,handler,args
+        #self.device.connect_object("changed", GPSObject.update , self)
+
 
 class GPSDevice :
 
     def __init__ ( self ) :
+        self.online = False
         self.status = GPS_DEVICE_STATUS_NO_FIX
         self.satellites_in_use = 0
         self.satellites_in_view = 0