summaryrefslogtreecommitdiff
path: root/examples/light-client.c
Commit message (Collapse)AuthorAgeFilesLines
* Context: Add new convenience constructorsJens Georg2022-08-071-1/+4
| | | | | Add new constructors that allow to set the new parameters directly, instead of forcing the use of g_object_new
* service-proxy: Add new API for calling actionsJens Georg2019-02-041-11/+25
|
* Remove deprecated functionsJens Georg2016-10-151-1/+1
| | | | Signed-off-by: Jens Georg <mail@jensge.org>
* examples: Use newTargetValueJens Georg2016-04-201-1/+1
| | | | | | | | Adapt to 2011 spec update Signed-off-by: Jens Georg <mail@jensge.org> https://bugzilla.gnome.org/show_bug.cgi?id=764050
* Remove GLIB_CHECK_VERSION <= 2.40Jens Georg2015-12-051-4/+0
| | | | | | We require 2.40 by the build, so the macros are not needed anymore. Signed-off-by: Jens Georg <mail@jensge.org>
* examples/light-client: add --quiet, --help and repeat optionsAndrzej Bieniek2013-10-161-8/+57
| | | | | | | | | | | | | | | | | | | | | Options added to help with library performance measurements. To send 1000 toggle commands with 50ms delay run: gupnp/examples$ ./light-client -q -c 1000 -d 50 toggle For more options run: gupnp/examples$ ./light-client --help Usage: lt-light-client [OPTION...] [on|off|toggle] Help Options: -h, --help Show help options Application Options: -q, --quiet Turn off output -c, --repeat-counter=value Repeat counter -d, --repeat-delay=value Delay in [ms] between each iteration https://bugzilla.gnome.org/show_bug.cgi?id=708575
* Fix compilation with -Wall -WextraJens Georg2013-05-291-1/+2
|
* g_type_init() is deprecated for glib >= 2.35.0Juan A. Suarez Romero2012-11-301-0/+3
| | | | | | Call it for old versions. https://bugzilla.gnome.org/show_bug.cgi?id=688411
* Removed the deprecated calls to g_thread_init()Riko Yamada2012-04-011-1/+0
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=673100
* 2008-11-18 Ross Burton <ross@linux.intel.com>Ross Burton2008-11-181-4/+10
| | | | | | | | | | | | | * tests/test-proxy.c: * tests/test-server.c: * tests/test-browsing.c: * tests/test-introspection.c: * examples/light-client.c: * examples/light-server.c: Don't user g_error but g_printerr (Sven Neumann). git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp@1364 d8cb91d7-bff9-0310-92b9-80b65e4482b2
* 2008-11-14 Ross Burton <ross@linux.intel.com>Ross Burton2008-11-141-1/+1
| | | | | | | | | | | | | | | * libgupnp/gupnp-service.c: * libgupnp/gupnp-service-proxy.c: * tests/test-proxy.c: * tests/test-server.c: * tests/test-browsing.c: * tests/test-introspection.c: * examples/light-client.c: * examples/light-server.c: Don't pass arbitrary strings to printf() for security (thanks Sven Neumann) git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp@1360 d8cb91d7-bff9-0310-92b9-80b65e4482b2
* 2008-06-09 Ross Burton <ross@openedhand.com>Ross Burton2008-06-091-0/+127
* examples/: * Makefile.am: * configure.ac: Add some basic but non-trivial examples. git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp@1042 d8cb91d7-bff9-0310-92b9-80b65e4482b2