diff options
author | Huang Peng <shawn.p.huang@gmail.com> | 2009-02-15 14:27:03 +0800 |
---|---|---|
committer | Huang Peng <shawn.p.huang@gmail.com> | 2009-02-15 14:27:03 +0800 |
commit | fc855ccfe89d59d2d5a1dc401ef6b1074a6a74c6 (patch) | |
tree | a662d8bd83f2e887c188b7f1ab2a9a387ab9daff /ibus/engine.py | |
parent | 3693f5e4e4066ca76cb3412ad5ddfb58b3e0994d (diff) | |
download | ibus-fc855ccfe89d59d2d5a1dc401ef6b1074a6a74c6.tar.gz ibus-fc855ccfe89d59d2d5a1dc401ef6b1074a6a74c6.tar.xz ibus-fc855ccfe89d59d2d5a1dc401ef6b1074a6a74c6.zip |
Add SetCapabilities on org.freedesktop.IBus.Engine interface.
Diffstat (limited to 'ibus/engine.py')
-rw-r--r-- | ibus/engine.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ibus/engine.py b/ibus/engine.py index d52c97e..f8c0447 100644 --- a/ibus/engine.py +++ b/ibus/engine.py @@ -44,6 +44,9 @@ class EngineBase(object.Object): def set_cursor_location(self, x, y, w, h): pass + def set_capabilities(self, cap): + pass + def reset(self): pass @@ -158,6 +161,9 @@ class EngineProxy(interface.IEngine): def SetCursorLocation(self, x, y, w, h): return self.__engine.set_cursor_location(x, y, w, h) + def SetCapabilities(self, caps): + return self.__engine.set_capabilities(caps) + def Reset(self): return self.__engine.reset() |