File: common.h

package info (click to toggle)
libskk 1.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,560 kB
  • sloc: ansic: 1,212; makefile: 415; sh: 62
file content (21 lines) | stat: -rw-r--r-- 625 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef __COMMON_H__
#define __COMMON_H__ 1

#include <libskk/libskk.h>

struct _SkkTransition {
  SkkInputMode input_mode;
  const gchar *keys;
  const gchar *preedit;
  const gchar *output;
  SkkInputMode next_input_mode;
};
typedef struct _SkkTransition SkkTransition;

SkkContext *create_context    (gboolean             use_user_dict,
                               gboolean             use_file_dict);
void        destroy_context   (SkkContext          *context);
void        check_transitions (SkkContext          *context,
                               const SkkTransition *transitions);

#endif  /* __COMMON_H__ */