Exemple #1
0
        public AccessControl(Context context, ObjectPath opath)
        {
            this.access_control = context.GetObject <IAccessControl> (opath);

            access_control.ACLAdded   += OnACLAdded;
            access_control.ACLRemoved += OnACLRemoved;
        }
		public AccessControl (Context context, ObjectPath opath)
		{
			this.access_control = context.GetObject<IAccessControl> (opath);
			
			access_control.ACLAdded += OnACLAdded;
			access_control.ACLRemoved += OnACLRemoved;
		}
Exemple #3
0
        public Manager(Context context)
        {
            this.context = context;
            this.manager = context.GetObject <IManager> (new ObjectPath("/org/freedesktop/Hal/Manager"));

            manager.DeviceAdded   += OnDeviceAdded;
            manager.DeviceRemoved += OnDeviceRemoved;
            manager.NewCapability += OnNewCapability;
            manager.GlobalInterfaceLockAcquired += OnGlobalInterfaceLockAcquired;
            manager.GlobalInterfaceLockReleased += OnGlobalInterfaceLockReleased;
        }
Exemple #4
0
		public Manager (Context context)
		{
			this.context = context;
			this.manager = context.GetObject<IManager> (new ObjectPath ("/org/freedesktop/Hal/Manager"));

			manager.DeviceAdded += OnDeviceAdded;
			manager.DeviceRemoved += OnDeviceRemoved;
			manager.NewCapability += OnNewCapability;
			manager.GlobalInterfaceLockAcquired += OnGlobalInterfaceLockAcquired;
			manager.GlobalInterfaceLockReleased += OnGlobalInterfaceLockReleased;
		}
Exemple #5
0
		public Device (Context context, ObjectPath object_path)
		{
			this.context = context;
			this.object_path = object_path;
			this.device = context.GetObject<IDevice> (object_path);

			device.PropertyModified += OnPropertyModified;
			device.Condition += OnCondition;
			device.InterfaceLockAcquired += OnInterfaceLockAcquired;
			device.InterfaceLockReleased += OnInterfaceLockReleased;
		}
Exemple #6
0
        public Device(Context context, ObjectPath object_path)
        {
            this.context     = context;
            this.object_path = object_path;
            this.device      = context.GetObject <IDevice> (object_path);

            device.PropertyModified      += OnPropertyModified;
            device.Condition             += OnCondition;
            device.InterfaceLockAcquired += OnInterfaceLockAcquired;
            device.InterfaceLockReleased += OnInterfaceLockReleased;
        }
Exemple #7
0
 public Volume(Context context, ObjectPath opath)
 {
     this.volume = context.GetObject <IVolume> (opath);
 }
Exemple #8
0
		public Volume (Context context, ObjectPath opath)
		{
			this.volume = context.GetObject<IVolume> (opath);
		}
		public SystemPowerManagement (Context context, ObjectPath opath)
		{
			this.power_management = context.GetObject<ISystemPowerManagement> (opath);
		}
Exemple #10
0
 public KillSwitch(Context context, ObjectPath opath)
 {
     this.killswitch = context.GetObject <IKillSwitch> (opath);
 }
Exemple #11
0
 public LaptopPanel(Context context, ObjectPath opath)
 {
     this.laptop_panel = context.GetObject <ILaptopPanel> (opath);
 }
		public VolumeCrypto (Context context, ObjectPath opath)
		{
			this.crypto = context.GetObject<IVolumeCrypto> (opath);
		}
Exemple #13
0
 public Storage(Context context, ObjectPath opath)
 {
     this.storage = context.GetObject <IStorage> (opath);
 }
Exemple #14
0
		public LaptopPanel (Context context, ObjectPath opath)
		{
			this.laptop_panel = context.GetObject<ILaptopPanel> (opath);
		}
Exemple #15
0
		public Storage (Context context, ObjectPath opath)
		{
			this.storage = context.GetObject<IStorage> (opath);
		}
Exemple #16
0
 public LightSensor(Context context, ObjectPath opath)
 {
     this.light_sensor = context.GetObject <ILightSensor> (opath);
 }
Exemple #17
0
 public VolumeCrypto(Context context, ObjectPath opath)
 {
     this.crypto = context.GetObject <IVolumeCrypto> (opath);
 }
 public SystemPowerManagement(Context context, ObjectPath opath)
 {
     this.power_management = context.GetObject <ISystemPowerManagement> (opath);
 }
Exemple #19
0
 public CPUFreq(Context context, ObjectPath opath)
 {
     this.cpu_freq = context.GetObject <ICPUFreq> (opath);
 }
Exemple #20
0
		public LightSensor (Context context, ObjectPath opath)
		{
			this.light_sensor = context.GetObject<ILightSensor> (opath);
		}
Exemple #21
0
		public KillSwitch (Context context, ObjectPath opath)
		{
			this.killswitch = context.GetObject<IKillSwitch> (opath);
		}