dbus/python .cvsignore,1.3,1.4 service.py,1.1,1.2
John Palmieri
johnp at freedesktop.org
Thu Jul 14 04:22:37 EST 2005
Update of /cvs/dbus/dbus/python
In directory gabe:/tmp/cvs-serv8717/python
Modified Files:
.cvsignore service.py
Log Message:
* python/.cvsignore: remove dbus_bindings.pyx, add dbus_bindings.pxd
* python/service.py (class Name): renamed BusName to make it clearer
what the object is for (a name on the bus)
* python/examples/example-service.py,
python/examples/example-signal-emitter.py: change the Name object to
BusName
Index: .cvsignore
===================================================================
RCS file: /cvs/dbus/dbus/python/.cvsignore,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- .cvsignore 1 Jun 2004 06:16:13 -0000 1.3
+++ .cvsignore 13 Jul 2005 18:22:34 -0000 1.4
@@ -1,7 +1,7 @@
.deps
Makefile.in
Makefile
-dbus_bindings.pyx
+dbus_bindings.pxd
*.lo
*.la
dbus_bindings.c
Index: service.py
===================================================================
RCS file: /cvs/dbus/dbus/python/service.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- service.py 12 Jul 2005 18:16:06 -0000 1.1
+++ service.py 13 Jul 2005 18:22:35 -0000 1.2
@@ -2,11 +2,8 @@
import dbus_bindings
-class Name:
+class BusName:
"""A base class for exporting your own Named Services across the Bus
-
- Just inherit from Name, providing the name of your service
- (e.g. org.designfu.SampleService).
"""
def __init__(self, named_service, bus=None):
self._named_service = named_service
@@ -150,8 +147,7 @@
"""A base class for exporting your own Objects across the Bus.
Just inherit from Object and provide a list of methods to share
- across the Bus. These will appear as member functions of your
- ServiceObject.
+ across the Bus
"""
__metaclass__ = ObjectType
More information about the dbus-commit
mailing list