/usr/include/fcitx/fcitx.h is in fcitx-libs-dev 1:4.2.9.6-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 | /***************************************************************************
* Copyright (C) 2002~2005 by Yuking *
* yuking_net@sohu.com *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
#ifndef _FCITX_H_
#define _FCITX_H_
/**
* @mainpage Fcitx
* fcitx is a lightweight Input Method Framework, written by C.
* It can be used under X11 to support international input.
*
*/
/**
* @defgroup Fcitx Fcitx
*
* All fcitx core related function, including addon process, mainloop,
* user interface, and all misc stuff needed by fcitx.
*/
/**
* @addtogroup Fcitx
* @{
*/
/**
* @file fcitx.h
* @author CS Slayer <wengxt@gmail.com>
* some misc definition for Fcitx
*/
#ifdef __cplusplus
extern "C" {
#endif
#if defined(FCITX_HAVE_CONFIG_H)
#define _(msgid) gettext(msgid)
#define N_(msgid) (msgid)
#endif
/** export the symbol */
#define FCITX_EXPORT_API __attribute__ ((visibility("default")))
/** suppress the unused warning */
#define FCITX_UNUSED(x) (void)(x)
/** fcitx addon ABI version, need to be used with addon */
#define FCITX_ABI_VERSION 5
#define FCITX_DEFINE_PLUGIN(name, category, type) \
FCITX_EXPORT_API int name##_ABI_VERSION = FCITX_ABI_VERSION; \
FCITX_EXPORT_API type name##_##category
#if defined(__GNUC__) && ((__GNUC__ * 100 + __GNUC_MINOR__) >= 301)
# define FCITX_DEPRECATED __attribute__((deprecated))
#else /* not gcc >= 3.1 */
# define FCITX_DEPRECATED
#endif
#ifdef __cplusplus
}
#endif
#endif/*_FCITX_H_*/
/**
* @}
*/
// kate: indent-mode cstyle; space-indent on; indent-width 0;
|