From 50dc71323bff9fdc66cb10bdd9287aa7b34a3e84 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Wed, 19 Jan 2022 18:14:48 +0100 Subject: [PATCH] CONTRIBUTING: document style guide about naming in header files --- CONTRIBUTING.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index ddd53d181a..246bcdbbce 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -100,6 +100,10 @@ guidelines. Following there are a few noteworthy points. * 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). * C-style comments