~gdesklets-desklet-team/gdesklets/0.36

« back to all changes in this revision

Viewing changes to Controls/Sensor/ISensor.py

  • Committer: Robert Pastierovic
  • Date: 2007-10-07 10:08:42 UTC
  • Revision ID: pastierovic@gmail.com-20071007100842-fdvp2vzmqgh1j87k
merged 0.3x branch and basic documentation and some other changes

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
from plugin.Interface import Interface
 
2
from plugin import Permission
 
3
 
 
4
 
 
5
class ISensor(Interface):
 
6
 
 
7
    sensor = Permission.WRITE
 
8
    action = Permission.WRITE
 
9
    config_id = Permission.WRITE
 
10
    stop = Permission.WRITE
 
11
    output = Permission.READ
 
12
    menu = Permission.READ
 
13
    configurator = Permission.READ