This commit is contained in:
Huang Peng 2008-07-05 09:18:11 +08:00
Родитель 2266e16f4f
Коммит f4348f4d6f
5 изменённых файлов: 42 добавлений и 10 удалений

Просмотреть файл

@ -21,6 +21,7 @@
SUBDIRS = \
daemon \
gconf \
ibus \
panel \
engine \

Просмотреть файл

@ -145,6 +145,8 @@ daemon/Makefile
daemon/ibus-daemon
panel/Makefile
panel/ibus-panel
gconf/Makefile
gconf/ibus-gconf
engine/Makefile
gtk2/Makefile
qt4/Makefile

Просмотреть файл

@ -19,7 +19,8 @@
# Free Software Foundation, Inc., 59 Temple Place, Suite 330,
# Boston, MA 02111-1307 USA
from iibus import IIBus
from iengine import IEngine
from ienginefactory import IEngineFactory
from ipanel import IPanel
from iibus import *
from iengine import *
from ienginefactory import *
from ipanel import *
from iconfig import *

Просмотреть файл

@ -43,26 +43,30 @@ class IConfig (dbus.service.Object):
**args)
@method (in_signature = "ss", out_signature = "s")
def ReadString (self, key, default_value):
def GetString (self, key, default_value):
pass
@method (in_signature = "si", out_signature = "i")
def ReadInt (self, key, default_value):
def GetInt (self, key, default_value):
pass
@method (in_signature = "sb", out_signature = "b")
def ReadBool (self, key, default_value):
def GetBool (self, key, default_value):
pass
@method (in_signature = "ss")
def WriteString (self, key, value):
def SetString (self, key, value):
pass
@method (in_signature = "si")
def WriteInt (self, key, value):
def SetInt (self, key, value):
pass
@method (in_signature = "sb")
def WriteBool (self, key, value):
def SetBool (self, key, value):
pass
@signal (signature = "sv")
def ValueChanged (self, key, value):
pass

Просмотреть файл

@ -78,6 +78,10 @@ class IIBus (dbus.service.Object):
@method (in_signature = "ob")
def RegisterPanel (self, object_path, replace, dbusconn): pass
# methods for ibus config
@method (in_signature = "ob")
def RegisterConfig (self, object_path, replace, dbusconn): pass
# general methods
@method (out_signature = "av")
def GetFactories (self, dbusconn): pass
@ -91,6 +95,24 @@ class IIBus (dbus.service.Object):
@method (in_signature = "s", out_signature = "sb")
def GetInputContextStates (self, ic, dbusconn): pass
@async_method (in_signature = "ss")
def ConfigSetString (self, key, value, dbusconn, reply_cb, error_cb): pass
@async_method (in_signature = "si")
def ConfigSetInt (self, key, value, dbusconn, reply_cb, error_cb): pass
@async_method (in_signature = "sb")
def ConfigSetBool (self, key, value, dbusconn, reply_cb, error_cb): pass
@async_method (in_signature = "s", out_signature = "s")
def ConfigGetString (self, key, dbusconn, reply_cb, error_cb): pass
@async_method (in_signature = "s", out_signature = "i")
def ConfigGetInt (self, key, dbusconn, reply_cb, error_cb): pass
@async_method (in_signature = "s", out_signature = "b")
def ConfigGetBool (self, key, dbusconn, reply_cb, error_cb): pass
#sigals
def CommitString (self, ic, text): pass
@ -99,3 +121,5 @@ class IIBus (dbus.service.Object):
def Enabled (self, ic): pass
def Disabled (self, ic): pass
def ConfigValueChanged (self, key, value): pass