Add a test case for the various options to get_args_list.
[dbus-python-phuang.git] / _dbus_bindings / dbus_bindings.py
blobcd4139ab06f0d633ed0828c1911003e7c4d0249e
1 # Backwards-compatibility with the old dbus_bindings.
3 # Exceptions
4 from _dbus_bindings import DBusException
5 class ConnectionError(Exception): pass
7 # Types
8 from _dbus_bindings import Int16, UInt16, Int32, UInt32, Int64, UInt64,\
9 Variant, ObjectPath, Signature, Byte, ByteArray
10 # Don't bother importing SignatureIter, it can't be instantiated
11 # These used to be specialized subclasses, but these are unambiguous
12 String = unicode
13 Boolean = bool
14 Array = list # FIXME: c'tor params
15 Double = float
16 Struct = tuple
17 Dictionary = dict # FIXME: c'tor params
19 # Messages
20 from _dbus_bindings import Message, SignalMessage as Signal,\
21 MethodCallMessage as MethodCall,\
22 MethodReturnMessage as MethodReturn,\
23 ErrorMessage as Error
24 # MessageIter has gone away, thankfully
26 # Connection
27 from _dbus_bindings import Connection