// DBUS-SPEC.cidl by David A. Wheeler // Version 0.11.0. // (C) 2005 David A. Wheeler, released under same conditions as D-BUS, // namely, the GNU GPL (2 or more) and AFL (1.1 or more). // This file defines the D-BUS Specification's interfaces in CIDL format // (see its section named "standard interfaces"). // "CIDL" is a simple CORBA-like syntax for expressing D-BUS interfaces. // The filter program "dbus-cidl" accepts CIDL format and generates // the equivalent D-BUS introspection format. // CIDL is intentionally "the same" as the D-BUS spec. // For more information on what these signals and methods mean, see: // http://dbus.freedesktop.org/doc/dbus-specification.html interface org.freedesktop.DBus { STRING Hello(); // Returns connection's unique name. UINT32 RequestName (in STRING name, in UINT32 flags); ARRAY of STRING ListNames (); BOOLEAN NameHasOwner (in STRING name); signal NameOwnerChanged (STRING name, STRING old_owner, STRING new_owner); signal NameLost (STRING name); signal NameAcquired (STRING name); UINT32 StartServiceByName (in STRING name, in UINT32 flags); STRING GetNameOwner (in STRING name); UINT32 GetConnectionUnixUser (in STRING connection_name); }; interface org.freedesktop.Peer { void Ping(); }; interface org.freedesktop.Introspectable { // This returns a string named "xml_data". We use "void" here // so that we can give a specific name to the returned parameter. void Introspect (out STRING xml_data); }; interface org.freedesktop.Properties { void Get (in STRING interface_name, in STRING property_name, out VARIANT value); void Set (in STRING interface_name, in STRING property_name, in VARIANT value); };