File: chewing.h

package info (click to toggle)
libchewing 0.3.2-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 7,588 kB
  • ctags: 878
  • sloc: sh: 9,738; ansic: 7,644; makefile: 234; python: 49
file content (61 lines) | stat: -rw-r--r-- 1,945 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
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
/*
 * chewing.h
 *
 * Copyright (c) 2004, 2005, 2006, 2008
 *	libchewing Core Team. See ChangeLog for details.
 *
 * See the file "COPYING" for information on usage and redistribution
 * of this file.
 */

#ifndef _CHEWING_CORE_
#define _CHEWING_CORE_

#ifdef __cplusplus
extern "C" {
#endif

/*! \file chewing.h
 *  \brief Chewing Headers
 *  \author libchewing Core Team
 *  \mainpage Chewing API
 *
 * <center>API Collection of Chewing intelligent Chinese
 *         phonetic IM (Input Method).</center>
 *
 * <h1>Overview</h1>
 * 
 * As far as we expect, input method (in fact, the way for text input and
 * output, especially in multi-lingual environments) implementations are
 * becoming more and more complex in system integrations.  The emerging
 * standard for practical and flexible development cycles is required, so that
 * we are facing the impacts from various Chinese input method implementations
 * and the integration into existing framework or system designs.  At the
 * result, Chewing Input Method (abbreviated as "Chewing") attempts to be one
 * of the approachesto solve and ease the problems with the inclusion of base
 * classes, on the basis of cross-platform, and cross-operating-environment
 * derivative classes, which are built as the abstract backbone of intelligent
 * Chinese phonetic input method implementations.  From the perspectives,
 * Chewing defines the abstract behavior how an intelligent phonetic IM should
 * works via the common interface, and Chewing permits the extra parameters
 * and properties for the input method implementations to extend their
 * specific functionality.
 */

#include "chewingio.h"
#include "global.h"
#include "mod_aux.h"

/** @brief indicate the internal encoding of data processing.
 *  @since 0.3.0
 */
#define LIBCHEWING_ENCODING "UTF-8"

/* statistics symbol reported by chewing */
extern int chewing_lifetime;

#ifdef __cplusplus
}
#endif

#endif /* _CHEWING_CORE_ */