gmyth-dbus/src/gmyth-dbus-server.h
author melunko
Thu Mar 13 16:29:38 2008 +0000 (2008-03-13)
branchtrunk
changeset 942 c93bfa74c71f
permissions -rw-r--r--
[svn r951] gmyth now is 0.8.1. Added methods epg_is_connected() and scheduler_is_connected()
     1 /**
     2  * GMyth Library
     3  *
     4  * @file gmyth/gmyth_backend_info.c
     5  * 
     6  * @brief <p> This component represents all the MythTV backend server
     7  * 						configuration information.
     8  *
     9  * Copyright (C) 2006 INdT - Instituto Nokia de Tecnologia.
    10  * @author Renato Filho  <renato.filho@indt.org.br>
    11  *
    12  * 
    13  * This program is free software; you can redistribute it and/or modify
    14  * it under the terms of the GNU Lesser General Public License as published by
    15  * the Free Software Foundation; either version 2 of the License, or
    16  * (at your option) any later version.
    17  *
    18  * This program is distributed in the hope that it will be useful,
    19  * but WITHOUT ANY WARRANTY; without even the implied warranty of
    20  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    21  * GNU General Public License for more details.
    22  *
    23  * You should have received a copy of the GNU Lesser General Public License
    24  * along with this program; if not, write to the Free Software
    25  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    26  */
    27 
    28 
    29 #ifndef __GMYTH_DBUS_SERVER_H__
    30 #define __GMYTH_DBUS_SERVER_H__
    31 
    32 #include <glib.h>
    33 #include <glib-object.h>
    34 
    35 G_BEGIN_DECLS
    36 
    37 #define GMYTH_DBUS_SERVER_TYPE            (gmyth_dbus_server_get_type ())
    38 #define GMYTH_DBUS_SERVER(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), GMYTH_DBUS_SERVER_TYPE, GMythDbusServer))
    39 #define GMYTH_DBUS_SERVER_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), GMYTH_DBUS_SERVER_TYPE, GMythDbusServerClass))
    40 #define IS_GMYTH_DBUS_SERVER(obj)         (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GMYTH_DBUS_SERVER_TYPE))
    41 #define IS_GMYTH_DBUS_SERVER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GMYTH_DBUS_SERVER_TYPE))
    42 #define GMYTH_DBUS_SERVER_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS ((obj), GMYTH_DBUS_SERVER_TYPE, GMythDbusServerClass))
    43 
    44 
    45 typedef struct _GMythDbusServer      GMythDbusServer;
    46 typedef struct _GMythDbusServerClass GMythDbusServerClass;
    47 
    48 struct _GMythDbusServerClass
    49 {
    50     GObjectClass parent_class;
    51 };
    52 
    53 struct _GMythDbusServer
    54 {
    55     GObject parent;
    56 };
    57 
    58 GType gmyth_dbus_server_get_type (void);
    59 GMythDbusServer * gmyth_dbus_server_start_dbus_service (void);
    60 
    61 
    62 G_END_DECLS
    63 
    64 #endif