refactor(linux): move dbus defines to common include

This got missed in #14372.

Fixes: #13281
Follow-up-of: #14372
Test-bot: skip
This commit is contained in:
Eberhard Beilharz 2025-07-25 19:37:30 +02:00
parent 179a73a65a
commit bfc3aa3456
No known key found for this signature in database
GPG key ID: E9140597606020D3
3 changed files with 6 additions and 6 deletions

View file

@ -5,11 +5,9 @@
#else
#include <basu/sd-bus.h>
#endif
#include <km_linux_common.h>
#include "KeymanSystemServiceClient.h"
#define KEYMAN_BUS_NAME "com.keyman.SystemService1"
#define KEYMAN_INTERFACE_NAME "com.keyman.SystemService1.System"
#define KEYMAN_OBJECT_PATH "/com/keyman/SystemService1/System"
extern gboolean testing;

View file

@ -4,4 +4,8 @@
#define KEYMAN_F24_KEYCODE_OUTPUT_SENTINEL 194 // 0xC2
#define KEYMAN_BUS_NAME "com.keyman.SystemService1"
#define KEYMAN_INTERFACE_NAME "com.keyman.SystemService1.System"
#define KEYMAN_OBJECT_PATH "/com/keyman/SystemService1/System"
#endif // __KM_LINUX_COMMON_H__

View file

@ -17,12 +17,10 @@
#else
#include <basu/sd-bus.h>
#endif
#include <km_linux_common.h>
#include "KeymanSystemService.h"
#include "KeyboardDevice.h"
#define KEYMAN_BUS_NAME "com.keyman.SystemService1"
#define KEYMAN_INTERFACE_NAME "com.keyman.SystemService1.System"
#define KEYMAN_OBJECT_PATH "/com/keyman/SystemService1/System"
using namespace std;