sugar-toolkit-gtk3/shell/model/devices/device.py
2007-02-25 14:30:17 +01:00

15 lines
275 B
Python

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