package obus

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val interface : OBus_name.interface
val m_AboutToSleep : (unit, unit) OBus_member.Method.t
val m_EnumerateDevices : (unit, OBus_path.t list) OBus_member.Method.t
val m_Hibernate : (unit, unit) OBus_member.Method.t
val m_HibernateAllowed : (unit, bool) OBus_member.Method.t
val m_Suspend : (unit, unit) OBus_member.Method.t
val m_SuspendAllowed : (unit, bool) OBus_member.Method.t
val s_Changed : unit OBus_member.Signal.t
val s_DeviceAdded : string OBus_member.Signal.t
val s_DeviceChanged : string OBus_member.Signal.t
val s_DeviceRemoved : string OBus_member.Signal.t
val s_Resuming : unit OBus_member.Signal.t
val s_Sleeping : unit OBus_member.Signal.t
val p_CanHibernate : (bool, [ `readable ]) OBus_member.Property.t
val p_CanSuspend : (bool, [ `readable ]) OBus_member.Property.t
val p_DaemonVersion : (string, [ `readable ]) OBus_member.Property.t
val p_LidIsClosed : (bool, [ `readable ]) OBus_member.Property.t
val p_LidIsPresent : (bool, [ `readable ]) OBus_member.Property.t
val p_OnBattery : (bool, [ `readable ]) OBus_member.Property.t
val p_OnLowBattery : (bool, [ `readable ]) OBus_member.Property.t
type 'a members = {
  1. m_AboutToSleep : 'a OBus_object.t -> unit -> unit Lwt.t;
  2. m_EnumerateDevices : 'a OBus_object.t -> unit -> OBus_path.t list Lwt.t;
  3. m_Hibernate : 'a OBus_object.t -> unit -> unit Lwt.t;
  4. m_HibernateAllowed : 'a OBus_object.t -> unit -> bool Lwt.t;
  5. m_Suspend : 'a OBus_object.t -> unit -> unit Lwt.t;
  6. m_SuspendAllowed : 'a OBus_object.t -> unit -> bool Lwt.t;
  7. p_CanHibernate : 'a OBus_object.t -> bool React.signal;
  8. p_CanSuspend : 'a OBus_object.t -> bool React.signal;
  9. p_DaemonVersion : 'a OBus_object.t -> string React.signal;
  10. p_LidIsClosed : 'a OBus_object.t -> bool React.signal;
  11. p_LidIsPresent : 'a OBus_object.t -> bool React.signal;
  12. p_OnBattery : 'a OBus_object.t -> bool React.signal;
  13. p_OnLowBattery : 'a OBus_object.t -> bool React.signal;
}
val make : 'a members -> 'a OBus_object.interface
OCaml

Innovation. Community. Security.