~ubuntu-branches/ubuntu/wily/scim/wily-proposed

« back to all changes in this revision

Viewing changes to extras/immodules/common/scim-bridge.h

  • Committer: Package Import Robot
  • Author(s): Rolf Leggewie, Rolf Leggewie, Tz-Huan Huang
  • Date: 2012-06-30 11:21:42 UTC
  • mfrom: (1.1.7)
  • Revision ID: package-import@ubuntu.com-20120630112142-a4cwzsr16dty8dk7
Tags: 1.4.14-1
[ Rolf Leggewie ]
* new upstream release 1.4.14
  - drop 32_scim-1.4.8-fix-dlopen.patch which has landed upstream
* bump compat level to 9
* debian/control: add Toni Mueller as co-maintainer
  Welcome aboard!

[ Tz-Huan Huang ]
* start shipping a couple of newly introduced im-module packages
* debian/rules:
  - simplify dh_auto_install override where upstream changes allow this
  - drop -fpermissive from CXXFLAGS, fixed upstream
* debian/README.*: update the documentation

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * SCIM Bridge
 
3
 *
 
4
 * Copyright (c) 2006 Ryo Dairiki <ryo-dairiki@users.sourceforge.net>
 
5
 *
 
6
 *
 
7
 * This library is free software; you can redistribute it and/or
 
8
 * modify it under the terms of the GNU Lesser General Public
 
9
 * License as published by the Free Software Foundation and 
 
10
 * appearing in the file LICENSE.LGPL included in the package of this file.
 
11
 * You can also redistribute it and/or modify it under the terms of 
 
12
 * the GNU General Public License as published by the Free Software Foundation and 
 
13
 * appearing in the file LICENSE.GPL included in the package of this file.
 
14
 *
 
15
 * This library is distributed in the hope that it will be useful,
 
16
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
17
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 
18
 */
 
19
 
 
20
/**
 
21
 * @file
 
22
 * @author Ryo Dairiki <ryo-dairiki@users.sourceforge.net>
 
23
 * @brief This header describes about fundamental definitions of scim-bridge.
 
24
 */
 
25
 
 
26
#ifndef SCIMBRIDE_H_
 
27
#define SCIMBRIDE_H_
 
28
 
 
29
#ifdef HAVE_CONFIG_H
 
30
#include "config.h"
 
31
#endif
 
32
 
 
33
#include <sys/types.h>
 
34
 
 
35
#ifndef SCIM_VERSION
 
36
#define SCIM_VERSION "<unknown>"
 
37
#endif
 
38
 
 
39
/**
 
40
 * The type of boolean.
 
41
 */
 
42
typedef int boolean;
 
43
 
 
44
#ifndef TRUE
 
45
#define TRUE 1
 
46
#endif
 
47
 
 
48
#ifndef FALSE
 
49
#define FALSE 0
 
50
#endif
 
51
 
 
52
#ifndef NULL
 
53
#define NULL 0
 
54
#endif
 
55
 
 
56
/**
 
57
 * The type of retvals.
 
58
 */
 
59
typedef int retval_t;
 
60
 
 
61
/**
 
62
 * The return value of failture.
 
63
 */
 
64
#define RETVAL_FAILED -1
 
65
 
 
66
/**
 
67
 * The return value of successness.
 
68
 */
 
69
#define RETVAL_SUCCEEDED 0
 
70
 
 
71
/**
 
72
 * The return value of ignoreness.
 
73
 */
 
74
#define RETVAL_IGNORED 1
 
75
#endif                                            /*SCIMBRIDE_H_*/