Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/model/devices/device.py
blob: 32bee0d2f43e58f975633fff421fa07100f2a346 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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