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

« back to all changes in this revision

Viewing changes to extras/immodules/client-clutter/scim-bridge-client-imcontext-clutter.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
 * Copyright (C) 2009, Intel Corporation.
 
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 Raymond liu <raymond.liu@intel.com>
 
23
 * @brief This is the header for clutter imcontext of scim-bridge.
 
24
 */
 
25
 
 
26
 
 
27
#ifndef SCIMBRIDGECLIENTIMCONTEXTCLUTTER_H_
 
28
#define SCIMBRIDGECLIENTIMCONTEXTCLUTTER_H_
 
29
 
 
30
#include <clutter/clutter.h>
 
31
#include <clutter-imcontext/clutter-imcontext.h>
 
32
#include <clutter-imcontext/clutter-immodule.h>
 
33
 
 
34
#include "scim-bridge.h"
 
35
#include "scim-bridge-client-imcontext.h"
 
36
 
 
37
#define CLUTTER_TYPE_SCIM_CLIENT_IMCONTEXT (scim_bridge_client_imcontext_get_type ())
 
38
#define SCIM_BRIDGE_CLIENT_IMCONTEXT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CLUTTER_TYPE_SCIM_CLIENT_IMCONTEXT, ScimBridgeClientIMContext))
 
39
#define SCIM_BRIDGE_CLIENT_IMCONTEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CLUTTER_TYPE_SCIM_CLIENT_IMCONTEXT, ScimBridgeClientIMContextClass))
 
40
#define IS_SCIM_BRIDGE_CLIENT_IMCONTEXT(class) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CLUTTER_TYPE_SCIM_CLIENT_IMCONTEXT))
 
41
#define IS_SCIM_BRIDGE_CLIENT_IMCONTEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CLUTTER_TYPE_SCIM_CLIENT_IMCONTEXT))
 
42
#define SCIM_BRIDGE_CLIENT_IMCONTEXT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CLUTTER_TYPE_SCIM_CLIENT_IMCONTEXT, ScimBridgeClientIMContextClass))
 
43
 
 
44
struct _ScimBridgeClientIMContextClass
 
45
{
 
46
    ClutterIMContextClass parent_class;
 
47
};
 
48
 
 
49
/**
 
50
 * IMContext class for clutter client.
 
51
 */
 
52
typedef struct _ScimBridgeClientIMContextClass ScimBridgeClientIMContextClass;
 
53
 
 
54
/**
 
55
 * Initialize IMContext class itself.
 
56
 */
 
57
void scim_bridge_client_imcontext_static_initialize ();
 
58
 
 
59
/**
 
60
 * Finalize IMContext class itself.
 
61
 */
 
62
void scim_bridge_client_imcontext_static_finalize ();
 
63
 
 
64
/**
 
65
 * The connection with the agent is opened.
 
66
 */
 
67
void scim_bridge_client_imcontext_connection_opened ();
 
68
 
 
69
/**
 
70
 * The connection with the agent is closed.
 
71
 */
 
72
void scim_bridge_client_imcontext_connection_closed ();
 
73
 
 
74
/**
 
75
 * Allocate an IMContext.
 
76
 *
 
77
 * @return new IMContext.
 
78
 */
 
79
ClutterIMContext *scim_bridge_client_imcontext_new ();
 
80
 
 
81
/**
 
82
 * Get the type value of IMContexts.
 
83
 *
 
84
 * @return The type value of IMContexts.
 
85
 */
 
86
GType scim_bridge_client_imcontext_get_type ();
 
87
 
 
88
/**
 
89
 * Register the type value for IMContexts.
 
90
 *
 
91
 * @param type_module The type module.
 
92
 */
 
93
void scim_bridge_client_imcontext_register_type (GTypeModule *type_module);
 
94
 
 
95
#endif                                            /*SCIMBRIDGECLIENTIMCONTEXTCLUTTER_H_*/