mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-05 00:15:32 +00:00
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:
parent
179a73a65a
commit
bfc3aa3456
3 changed files with 6 additions and 6 deletions
|
|
@ -5,11 +5,9 @@
|
||||||
#else
|
#else
|
||||||
#include <basu/sd-bus.h>
|
#include <basu/sd-bus.h>
|
||||||
#endif
|
#endif
|
||||||
|
#include <km_linux_common.h>
|
||||||
#include "KeymanSystemServiceClient.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;
|
extern gboolean testing;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,4 +4,8 @@
|
||||||
|
|
||||||
#define KEYMAN_F24_KEYCODE_OUTPUT_SENTINEL 194 // 0xC2
|
#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__
|
#endif // __KM_LINUX_COMMON_H__
|
||||||
|
|
|
||||||
|
|
@ -17,12 +17,10 @@
|
||||||
#else
|
#else
|
||||||
#include <basu/sd-bus.h>
|
#include <basu/sd-bus.h>
|
||||||
#endif
|
#endif
|
||||||
|
#include <km_linux_common.h>
|
||||||
#include "KeymanSystemService.h"
|
#include "KeymanSystemService.h"
|
||||||
#include "KeyboardDevice.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;
|
using namespace std;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue