sugar-toolkit-gtk3/shell/model/devices/device.py

15 lines
275 B
Python
Raw Normal View History

import gobject
from sugar import util
class Device(gobject.GObject):
def __init__(self):
gobject.GObject.__init__(self)
self._id = util.unique_id()
def get_type(self):
return 'unknown'
def get_id(self):
return self._id