def __init__(self, m, d, i): deviceModule.__init__(self, m, d, i) self.rotationObject = None # start the N900 specific automatic GUI rotation support self.done = False #osso app name self.ossoAppName = 'modrana' # screen blanking related self.bus = dbus.SystemBus() self.mceRequest = self.bus.get_object('com.nokia.mce', '/com/nokia/mce/request') self.mceSignal = self.bus.get_object('com.nokia.mce', '/com/nokia/mce/signal') self.mceSignalInterface = dbus.Interface(self.mceSignal, 'com.nokia.mce.signal') self.mceSignalInterface.connect_to_signal("display_status_ind", self.screenStateChangedCallback) print "N900: DBUS initialized" # Internet connectivity related self.connectivityStatus = False self.conicConnection = None if gs.GUIString == "GTK": # liblocation self.lControl = None self.lDevice = None """location starting is handled by mod_location in its firstTime call""" # libconic self._conicConnect() else: print("N900 Qt screen saver controller created") self.qScreenSaver = QSystemScreenSaver() print "N900 device specific module initialized"
def __init__(self, m, d, i): deviceModule.__init__(self, m, d, i) # create the screen-saver controller self.qScreenSaver = QSystemScreenSaver()
def __init__(self, m, d, i): deviceModule.__init__(self, m, d, i)
def __init__(self, m, d, i): deviceModule.__init__(self, m, d, i) self.tempUnfullscreen = False