1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/gmyth-dbus/src/main.c Thu Oct 25 15:40:47 2007 +0100
1.3 @@ -0,0 +1,19 @@
1.4 +#include "gmyth-dbus-server.h"
1.5 +
1.6 +int main (int argc, char* argv[])
1.7 +{
1.8 + GMainLoop *loop;
1.9 + GMythDbusServer *srv;
1.10 +
1.11 + g_type_init ();
1.12 + g_thread_init (NULL);
1.13 +
1.14 +
1.15 + loop = g_main_loop_new (NULL, FALSE);
1.16 + srv = gmyth_dbus_server_start_dbus_service ();
1.17 +
1.18 + if (srv)
1.19 + g_main_loop_run (loop);
1.20 +
1.21 + return 0;
1.22 +}