From 26376a5fa1f40427ca2359335f83200566d4da67 Mon Sep 17 00:00:00 2001 From: Mat Sutcliffe Date: Tue, 18 Dec 2018 16:07:58 +0000 Subject: [PATCH] Macro definitions should be after includes, not before. --- src/blackcore/context/contextsimulator.h | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/blackcore/context/contextsimulator.h b/src/blackcore/context/contextsimulator.h index e0fbdd25f..2ee5da9af 100644 --- a/src/blackcore/context/contextsimulator.h +++ b/src/blackcore/context/contextsimulator.h @@ -12,17 +12,6 @@ #ifndef BLACKCORE_CONTEXTSIMULATOR_H #define BLACKCORE_CONTEXTSIMULATOR_H -//! \addtogroup dbus -//! @{ - -//! DBus interface for context -#define BLACKCORE_CONTEXTSIMULATOR_INTERFACENAME "org.swift_project.blackcore.contextsimulator" - -//! DBus object path for context -#define BLACKCORE_CONTEXTSIMULATOR_OBJECTPATH "/simulator" - -//! @} - #include "blackconfig/buildconfig.h" #include "blackcore/blackcoreexport.h" #include "blackcore/context/context.h" @@ -49,6 +38,17 @@ // clazy:excludeall=const-signal-or-slot +//! \addtogroup dbus +//! @{ + +//! DBus interface for context +#define BLACKCORE_CONTEXTSIMULATOR_INTERFACENAME "org.swift_project.blackcore.contextsimulator" + +//! DBus object path for context +#define BLACKCORE_CONTEXTSIMULATOR_OBJECTPATH "/simulator" + +//! @} + class QDBusConnection; namespace BlackMisc