~ubuntu-branches/ubuntu/trusty/fcitx/trusty-proposed

« back to all changes in this revision

Viewing changes to src/module/x11/fcitx-x11.fxaddon.in

  • Committer: Package Import Robot
  • Author(s): Aron Xu
  • Date: 2013-02-10 17:03:56 UTC
  • mfrom: (1.3.18) (33.1.3 experimental)
  • Revision ID: package-import@ubuntu.com-20130210170356-2yuv6xy3ed378kn0
Tags: 1:4.2.7-1
* New upstream release.
* New binary packages:
  - fcitx-libs-gclient: D-Bus client library for Glib
  - fcitx-libs-qt: D-Bus client library for Qt
  - fcitx-module-quickphrase-editor: Quick Phrase editor module

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
[FcitxAddon]
 
2
Name=fcitx-x11
 
3
Prefix=X11
 
4
Include0="x11stuff.h"
 
5
Macro0=FCITX_DISABLE_X11
 
6
Function0=GetDisplay
 
7
Function1=AddXEventHandler
 
8
Function2=RemoveXEventHandler
 
9
Function3=FindARGBVisual
 
10
Function4=InitWindowAttribute
 
11
Function5=SetWindowProp
 
12
Function6=GetScreenSize
 
13
Function7=MouseClick
 
14
Function8=AddCompositeHandler
 
15
Function9=GetScreenGeometry
 
16
Function10=ProcessRemainEvent
 
17
Function11=GetDPI
 
18
Function12=RegSelectNotify
 
19
Function13=RemoveSelectNotify
 
20
Function14=DefaultEventWindow
 
21
Function15=RequestConvertSelect
 
22
Function16=
 
23
Function17=
 
24
Function18=
 
25
Function19=
 
26
Self.Type=FcitxX11*
 
27
 
 
28
[GetDisplay]
 
29
Name=get-display
 
30
Return=Display*
 
31
CacheResult=True
 
32
EnableWrapper=@ENABLE_X11@
 
33
Res.Exp=$<->dpy
 
34
 
 
35
[AddXEventHandler]
 
36
Name=add-xevent-handler
 
37
Arg0=FcitxX11XEventHandler
 
38
Arg1=void*
 
39
EnableWrapper=@ENABLE_X11@
 
40
Res.WrapFunc=X11AddEventHandler
 
41
 
 
42
[RemoveXEventHandler]
 
43
Name=remove-xevent-handler
 
44
Arg0=void*
 
45
Res.WrapFunc=X11RemoveEventHandler
 
46
 
 
47
[FindARGBVisual]
 
48
Name=find-argb-visual
 
49
Return=Visual*
 
50
EnableWrapper=@ENABLE_X11@
 
51
Res.WrapFunc=X11FindARGBVisual
 
52
 
 
53
[InitWindowAttribute]
 
54
Name=init-window-attribute
 
55
Arg0=Visual**
 
56
Arg1=Colormap*
 
57
Arg2=XSetWindowAttributes*
 
58
Arg3=unsigned long*
 
59
Arg4=int*
 
60
EnableWrapper=@ENABLE_X11@
 
61
Res.WrapFunc=X11InitWindowAttribute
 
62
 
 
63
[SetWindowProp]
 
64
Name=set-window-prop
 
65
Arg0=const Window*
 
66
Arg0.Deref=1
 
67
Arg0.DerefType=Window
 
68
Arg1=const FcitxXWindowType*
 
69
Arg1.Deref=1
 
70
Arg1.DerefType=FcitxXWindowType
 
71
Arg2=char*
 
72
EnableWrapper=@ENABLE_X11@
 
73
Res.WrapFunc=X11SetWindowProperty
 
74
 
 
75
[GetScreenSize]
 
76
Name=get-screen-size
 
77
Arg0=int*
 
78
Arg1=int*
 
79
Res.WrapFunc=X11GetScreenSize
 
80
 
 
81
[MouseClick]
 
82
Name=mouse-click
 
83
Arg0=const Window*
 
84
Arg0.Deref=1
 
85
Arg0.DerefType=Window
 
86
Arg1=int*
 
87
Arg2=int*
 
88
Arg3=boolean*
 
89
EnableWrapper=@ENABLE_X11@
 
90
Res.WrapFunc=X11MouseClick
 
91
 
 
92
[AddCompositeHandler]
 
93
Name=add-composite-handler
 
94
Arg0=FcitxX11CompositeHandler
 
95
Arg1=void*
 
96
Res.WrapFunc=X11AddCompositeHandler
 
97
 
 
98
[GetScreenGeometry]
 
99
Name=get-screen-geometry
 
100
Arg0=const int*
 
101
Arg0.Deref=1
 
102
Arg0.DerefType=int
 
103
Arg1=const int*
 
104
Arg1.Deref=1
 
105
Arg1.DerefType=int
 
106
Arg2=FcitxRect*
 
107
Res.WrapFunc=X11ScreenGeometry
 
108
 
 
109
[ProcessRemainEvent]
 
110
Name=process-remain-event
 
111
Res.WrapFunc=X11ProcessEventRealInternal
 
112
 
 
113
[GetDPI]
 
114
Name=get-dpi
 
115
Arg0=int*
 
116
Arg1=double*
 
117
Res.WrapFunc=X11GetDPI
 
118
 
 
119
[RegSelectNotify]
 
120
Name=reg-select-notify
 
121
Return=int
 
122
Arg0=const char*
 
123
Arg1=void*
 
124
Arg2=X11SelectionNotifyCallback
 
125
Arg3=void*
 
126
Arg4=FcitxDestroyNotify
 
127
Res.WrapFunc=X11SelectionNotifyRegister
 
128
Res.Deref=$@ + 1
 
129
Res.DerefType=int
 
130
 
 
131
[RemoveSelectNotify]
 
132
Name=remove-select-notify
 
133
Arg0=int
 
134
Arg0.Deref=$0 - 1
 
135
Arg0.DerefType=int
 
136
Res.WrapFunc=X11SelectionNotifyRemove
 
137
 
 
138
[DefaultEventWindow]
 
139
Name=default-event-window
 
140
Return=Window
 
141
CacheResult=True
 
142
EnableWrapper=@ENABLE_X11@
 
143
Res.Exp=$<->eventWindow
 
144
 
 
145
[RequestConvertSelect]
 
146
Name=request-convert-select
 
147
Return=int
 
148
Arg0=const char*
 
149
Arg1=const char*
 
150
Arg2=void*
 
151
Arg3=X11ConvertSelectionCallback
 
152
Arg4=void*
 
153
Arg5=FcitxDestroyNotify
 
154
Res.WrapFunc=X11RequestConvertSelection
 
155
Res.Deref=$@ + 1
 
156
Res.DerefType=int
 
157
 
 
158
[FCITX_DISABLE_X11]
 
159
Undefine=@ENABLE_X11@