mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-05-09 08:28:02 +02:00
Describe conventional naming of methods and signals
This commit is contained in:
parent
6213a3d897
commit
977c7a7c4a
1 changed files with 8 additions and 0 deletions
|
|
@ -1290,6 +1290,14 @@
|
|||
<listitem><para>Must be at least 1 byte in length.</para></listitem>
|
||||
</itemizedlist>
|
||||
</para>
|
||||
|
||||
<para>
|
||||
It is conventional for member names on D-Bus to consist of
|
||||
capitalized words with no punctuation ("camel-case").
|
||||
Method names should usually be verbs, such as
|
||||
<literal>GetItems</literal>, and signal names should usually be
|
||||
a description of an event, such as <literal>ItemsChanged</literal>.
|
||||
</para>
|
||||
</sect3>
|
||||
<sect3 id="message-protocol-names-error">
|
||||
<title>Error names</title>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue