2007-02-25 14:30:17 +01:00
|
|
|
import gobject
|
|
|
|
|
2007-02-20 11:48:03 +01:00
|
|
|
from sugar import util
|
|
|
|
|
2007-02-25 14:30:17 +01:00
|
|
|
class Device(gobject.GObject):
|
2007-02-20 11:48:03 +01:00
|
|
|
def __init__(self):
|
2007-02-25 14:30:17 +01:00
|
|
|
gobject.GObject.__init__(self)
|
2007-02-20 11:48:03 +01:00
|
|
|
self._id = util.unique_id()
|
|
|
|
|
|
|
|
def get_type(self):
|
|
|
|
return 'unknown'
|
|
|
|
|
|
|
|
def get_id(self):
|
|
|
|
return self._id
|