mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-10-15 12:34:55 +00:00
CONTRIBUTING: document style guide about naming in header files
This commit is contained in:
parent
c1dab5709d
commit
50dc71323b
|
@ -100,6 +100,10 @@ guidelines. Following there are a few noteworthy points.
|
||||||
|
|
||||||
* Don't use `GDBusProxy` or `GDBusObjectManager`. Use plain `GDBusConnection`.
|
* Don't use `GDBusProxy` or `GDBusObjectManager`. Use plain `GDBusConnection`.
|
||||||
|
|
||||||
|
* Names in our header files should always have an "nm" prefix (like "nm_",
|
||||||
|
"NM_", "_nm_", "_nmp_"). Names in source files usually should not have an
|
||||||
|
"nm" prefix.
|
||||||
|
|
||||||
* Indent with spaces. (_no_ tabs).
|
* Indent with spaces. (_no_ tabs).
|
||||||
|
|
||||||
* C-style comments
|
* C-style comments
|
||||||
|
|
Loading…
Reference in a new issue