[glibmm] Gio::DBus examples: Renamed one and removed one.



commit fd45538caa7b11e6d3e8a96b032aa5fe16b73248
Author: Murray Cumming <murrayc murrayc com>
Date:   Sat Apr 2 15:59:27 2011 +0200

    Gio::DBus examples: Renamed one and removed one.
    
    * examples/dbus/server.cc: Rename this to server_without_bus.cc to make its
    purpose clearer. This is not the common case. It is for private peer-to-peer
    connections not involving the usual session or system buses, or any bus
    for that matter. Meaning, for instance, that it does not assign names or
    provide introspection, I think.
    * examples/dbus/peer.cc: Removed this because it seems like just a
    complicated version of the server_without_bus example, and this is not in sync
    with the C versoin. Well, we should probably add a client for the server
    example.

 ChangeLog                                          |   14 +
 examples/Makefile.am                               |    9 +-
 examples/dbus/peer.cc                              |  337 --------------------
 examples/dbus/{server.cc => server_without_bus.cc} |    0
 4 files changed, 17 insertions(+), 343 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index f9afb20..2832cf5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,19 @@
 2011-04-02  Murray Cumming  <murrayc murrayc com>
 
+	Gio::DBus examples: Renamed one and removed one.
+
+	* examples/dbus/server.cc: Rename this to server_without_bus.cc to make its 
+	purpose clearer. This is not the common case. It is for private peer-to-peer 
+	connections not involving the usual session or system buses, or any bus 
+	for that matter. Meaning, for instance, that it does not assign names or 
+	provide introspection, I think.
+	* examples/dbus/peer.cc: Removed this because it seems like just a 
+	complicated version of the server_without_bus example, and this is not in sync 
+	with the C versoin. Well, we should probably add a client for the server 
+	example.
+
+2011-04-02  Murray Cumming  <murrayc murrayc com>
+
 	Slight cleanup to D-Bus example code.
 
 	* examples/dbus/server.cc:
diff --git a/examples/Makefile.am b/examples/Makefile.am
index 81cede2..d5225e6 100644
--- a/examples/Makefile.am
+++ b/examples/Makefile.am
@@ -21,8 +21,7 @@ check_PROGRAMS =			\
 	child_watch/child_watch		\
 	compose/example			\
 	dbus/session_bus_service \
-	dbus/server			\
-	dbus/peer			\
+	dbus/server_without_bus			\
 	dbus/client_bus_listnames \
 	iochannel_stream/example	\
 	keyfile/example			\
@@ -79,10 +78,8 @@ thread_threadpool_LDADD    = $(thread_ldadd)
 # giomm examples
 dbus_session_bus_service_SOURCES = dbus/session_bus_service.cc
 dbus_session_bus_service_LDADD   = $(giomm_ldadd)
-dbus_server_SOURCES = dbus/server.cc
-dbus_server_LDADD   = $(giomm_ldadd)
-dbus_peer_SOURCES = dbus/peer.cc
-dbus_peer_LDADD = $(giomm_ldadd)
+dbus_server_without_bus_SOURCES = dbus/server_without_bus.cc
+dbus_server_without_bus_LDADD   = $(giomm_ldadd)
 dbus_client_bus_listnames_SOURCES = dbus/client_bus_listnames.cc
 dbus_client_bus_listnames_LDADD   = $(giomm_ldadd)
 
diff --git a/examples/dbus/server.cc b/examples/dbus/server_without_bus.cc
similarity index 100%
rename from examples/dbus/server.cc
rename to examples/dbus/server_without_bus.cc



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]