libepc r157 - in trunk: . docs/reference/libepc examples libepc tests



Author: hasselmm
Date: 2007-12-02 21:13:55 +0000 (Sun, 02 Dec 2007)
New Revision: 157
ViewCVS link: http://svn.gnome.org/viewcvs/libepc?rev=157&view=rev

Added:
   trunk/libepc/service-info.c
   trunk/libepc/service-info.h
   trunk/tests/test-consumer-by-info.c
Modified:
   trunk/ChangeLog
   trunk/Makefile.am
   trunk/docs/reference/libepc/libepc-1.0-docs.xml
   trunk/docs/reference/libepc/libepc-1.0-sections.txt
   trunk/examples/consumer-ui.c
   trunk/examples/service-browser.c
   trunk/libepc/consumer.c
   trunk/libepc/consumer.h
   trunk/libepc/dispatcher.h
   trunk/libepc/marshal.list
   trunk/libepc/publisher.c
   trunk/libepc/publisher.h
   trunk/libepc/service-monitor.c
   trunk/libepc/service-monitor.h
   trunk/tests/.gitignore
Log:
Allow custom service path for publishing contents and change the
service monitor to use extensible EpcServiceInfo objects.

* libepc/consumer.c, libepc/consumer.h: Change epc_consumer_new to use
a single EpcServiceInfo. Update signal handlers. Add "path" property.
Call epc_consumer_resolve_publisher before constructing URIs.
* libepc/dispatcher.h: Remove EpcAddressFamily.
* libepc/marshal.list: Update service monitor signals.
* libepc/publisher.c, libepc/publisher.h: Add "contents-path"
property. Add publisher argument to epc_publisher_get_path.
* libepc/service-info.c, libepc/service-info.h:
Add EpcServiceInfo and take EpcAddressFamily.
* libepc/service-monitor.c, libepc/service-monitor.h: Change signals
to use EpcServiceInfo, instead of a myriad of arguments.
* docs/reference/libepc/libepc-1.0-docs.xml,
docs/reference/libepc/libepc-1.0-sections.txt: Add EpcServiceInfo.
* examples/consumer-ui.c: Update usage of epc_consumer_new.
* examples/service-browser.c: Update service monitor signal handlers.
* Makefile.am, tests/.gitignore: Add tests/test-consumer-by-info.c.
* tests/test-consumer-by-info.c: Test epc_consumer_new function and
custom contents paths.





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