mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-24 01:07:41 +00:00
When running tests we use the `OrderedOutputDeviceMock` class which sends a dbus message for a sentinel key press instead of creating/using a real "virtual" keyboard.
13 lines
343 B
C++
13 lines
343 B
C++
#include <syslog.h>
|
|
#include "KeymanSystemService.h"
|
|
|
|
int main(int argc, char *argv[]) {
|
|
KeymanSystemService keymanSystemService;
|
|
keymanSystemService.Initialize();
|
|
if (keymanSystemService.Failed()) {
|
|
syslog(LOG_USER | LOG_NOTICE, "Failed to initialize KeymanSystemService");
|
|
return 1;
|
|
}
|
|
|
|
return keymanSystemService.Loop();
|
|
}
|