mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-07 09:25:33 +00:00
This change contains various changes and refactorings which together allows the integration tests to pass again. One of the important changs is `DbusTestHelper` which listens to a DBus signal for a sentinel message and then simulates the sentinel key press. Getting this to work also requires processing sd-bus messages which hooks into the glib event loop and is implemented in `EventSource`. Fixes: #13204
20 lines
420 B
C
20 lines
420 B
C
#ifndef __KEYMANSYSTEMSERVICECLIENT_H__
|
|
#define __KEYMANSYSTEMSERVICECLIENT_H__
|
|
|
|
#include <gio/gio.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
void initialize_keyman_system_service_client();
|
|
void set_capslock_indicator(guint32 capsLockState);
|
|
gint32 get_capslock_indicator();
|
|
void call_ordered_output_sentinel();
|
|
void ping_keyman_system_service();
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif // __KEYMANSYSTEMSERVICECLIENT_H__
|