spiegel-keyman/linux/ibus-keyman/tests/testfixture.h
2025-02-19 10:59:44 +01:00

19 lines
463 B
C

#ifndef __TESTFIXTURE_H__
#define __TESTFIXTURE_H__
#include <glib-object.h>
#include <glib.h>
#include <ibus.h>
#include "ibusimcontext.h"
// TODO: Move to a common header file. Also defined in engine.c and
// keyman-system-service/src/OrderedOutputDevice.cpp
#define KEYMAN_F24_KEYCODE_OUTPUT_SENTINEL 194 // 0xC2
typedef struct {
IBusBus* bus;
GtkIMContext* context;
IBusIMContext* ibuscontext;
} IBusKeymanTestsFixture;
#endif // __TESTFIXTURE_H__