myth-dbus/src/main.c
author renatofilho
Wed Oct 24 20:01:02 2007 +0100 (2007-10-24)
branchtrunk
changeset 865 3eeb6b565018
child 866 640fc18c9f37
permissions -rw-r--r--
[svn r871] created myth dbus service
     1 #include "gmyth-dbus-server.h"
     2 
     3 int main (int argc, char* argv[])
     4 {
     5     GMainLoop *loop;
     6     GMythDbusServer *srv;
     7 
     8     g_type_init ();
     9 
    10     loop = g_main_loop_new (NULL, FALSE);
    11     srv = gmyth_dbus_server_start_dbus_service ();
    12 
    13     if (srv)
    14         g_main_loop_run (loop);
    15 
    16     return 0;
    17 }