~ubuntu-branches/ubuntu/trusty/scim-bridge/trusty

« back to all changes in this revision

Viewing changes to client-common/scim-bridge-client-kernel-protected.h

  • Committer: Bazaar Package Importer
  • Author(s): Hou ZhengPeng
  • Date: 2006-04-02 18:07:30 UTC
  • Revision ID: james.westby@ubuntu.com-20060402180730-x4zlfe8odh4yzcld
Tags: upstream-0.1.3
ImportĀ upstreamĀ versionĀ 0.1.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef SCIMBRIDGECLIENTKERNELPROTECTED_H_
 
2
#define SCIMBRIDGECLIENTKERNELPROTECTED_H_
 
3
 
 
4
#include "scim-bridge-attribute.h"
 
5
#include "scim-bridge-exception.h"
 
6
#include "scim-bridge-imcontext-common.h"
 
7
#include "scim-bridge-keyevent.h"
 
8
#include "scim-bridge-string.h"
 
9
 
 
10
#ifdef __cplusplus
 
11
#include <cstddef>
 
12
extern "C"
 
13
{
 
14
#else
 
15
#include <stddef.h>
 
16
#endif
 
17
 
 
18
    /* Called from the mesenger */
 
19
    void scim_bridge_client_kernel_commit (ScimBridgeIMContextID id);
 
20
 
 
21
    void scim_bridge_client_kernel_set_preedit_string (ScimBridgeIMContextID id, ucs4_t *wstr, size_t wstr_len);
 
22
    void scim_bridge_client_kernel_set_preedit_attributes (ScimBridgeIMContextID id, ScimBridgeAttribute *attrs, size_t attr_length);
 
23
    void scim_bridge_client_kernel_set_preedit_cursor_position (ScimBridgeIMContextID id, int cursor_position);
 
24
    void scim_bridge_client_kernel_set_preedit_shown (ScimBridgeIMContextID id, int shown);
 
25
    void scim_bridge_client_kernel_update_preedit (ScimBridgeIMContextID id);
 
26
 
 
27
    void scim_bridge_client_kernel_forward_keyevent (ScimBridgeIMContextID id, const ScimBridgeKeyEvent *keyevent);
 
28
    void scim_bridge_client_kernel_beep (ScimBridgeIMContextID id);
 
29
 
 
30
    void scim_bridge_client_kernel_get_surrounding_string (ScimBridgeIMContextID id, ucs4_t *wstr, size_t max_length, size_t *fetch_length, int *cursor_position);
 
31
    void scim_bridge_client_kernel_delete_surrounding_string (ScimBridgeIMContextID id, size_t offset, size_t length, int *retval);
 
32
 
 
33
    void scim_bridge_client_kernel_exception_occured (ScimBridgeException *except);
 
34
 
 
35
#ifdef __cplusplus
 
36
}
 
37
#endif
 
38
#endif                                            /*SCIMBRIDGECLIENTKERNELPROTECTED_H_*/