renatofilho@865: /**
renatofilho@865: * GMyth Library
renatofilho@865: *
renatofilho@865: * @file gmyth/gmyth_backend_info.c
renatofilho@865: *
renatofilho@865: * @brief
This component represents all the MythTV backend server
renatofilho@865: * configuration information.
renatofilho@865: *
renatofilho@865: * Copyright (C) 2006 INdT - Instituto Nokia de Tecnologia.
renatofilho@865: * @author Renato Filho
renatofilho@865: *
renatofilho@865: *
renatofilho@865: * This program is free software; you can redistribute it and/or modify
renatofilho@865: * it under the terms of the GNU Lesser General Public License as published by
renatofilho@865: * the Free Software Foundation; either version 2 of the License, or
renatofilho@865: * (at your option) any later version.
renatofilho@865: *
renatofilho@865: * This program is distributed in the hope that it will be useful,
renatofilho@865: * but WITHOUT ANY WARRANTY; without even the implied warranty of
renatofilho@865: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
renatofilho@865: * GNU General Public License for more details.
renatofilho@865: *
renatofilho@865: * You should have received a copy of the GNU Lesser General Public License
renatofilho@865: * along with this program; if not, write to the Free Software
renatofilho@865: * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
renatofilho@865: */
renatofilho@865:
renatofilho@865:
renatofilho@865: #ifndef __GMYTH_DBUS_SERVER_H__
renatofilho@865: #define __GMYTH_DBUS_SERVER_H__
renatofilho@865:
renatofilho@865: #include
renatofilho@865: #include
renatofilho@865:
renatofilho@865: G_BEGIN_DECLS
renatofilho@865:
renatofilho@865: #define GMYTH_DBUS_SERVER_TYPE (gmyth_dbus_server_get_type ())
renatofilho@865: #define GMYTH_DBUS_SERVER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GMYTH_DBUS_SERVER_TYPE, GMythDbusServer))
renatofilho@865: #define GMYTH_DBUS_SERVER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GMYTH_DBUS_SERVER_TYPE, GMythDbusServerClass))
renatofilho@865: #define IS_GMYTH_DBUS_SERVER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GMYTH_DBUS_SERVER_TYPE))
renatofilho@865: #define IS_GMYTH_DBUS_SERVER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GMYTH_DBUS_SERVER_TYPE))
renatofilho@865: #define GMYTH_DBUS_SERVER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GMYTH_DBUS_SERVER_TYPE, GMythDbusServerClass))
renatofilho@865:
renatofilho@865:
renatofilho@865: typedef struct _GMythDbusServer GMythDbusServer;
renatofilho@865: typedef struct _GMythDbusServerClass GMythDbusServerClass;
renatofilho@865:
renatofilho@865: struct _GMythDbusServerClass
renatofilho@865: {
renatofilho@865: GObjectClass parent_class;
renatofilho@865: };
renatofilho@865:
renatofilho@865: struct _GMythDbusServer
renatofilho@865: {
renatofilho@865: GObject parent;
renatofilho@865: };
renatofilho@865:
renatofilho@865: GType gmyth_dbus_server_get_type (void);
renatofilho@865: GMythDbusServer * gmyth_dbus_server_start_dbus_service (void);
renatofilho@865:
renatofilho@865:
renatofilho@865: G_END_DECLS
renatofilho@865:
renatofilho@865: #endif