File: testfixture.h

package info (click to toggle)
keyman 18.0.246-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 21,316 kB
  • sloc: python: 52,784; cpp: 21,289; sh: 7,633; ansic: 4,823; xml: 3,617; perl: 959; makefile: 139; javascript: 138
file content (19 lines) | stat: -rw-r--r-- 463 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#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__