1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/gmyth-dbus/src/gmyth-dbus-server.h Mon Mar 03 13:12:42 2008 +0000
1.3 @@ -0,0 +1,64 @@
1.4 +/**
1.5 + * GMyth Library
1.6 + *
1.7 + * @file gmyth/gmyth_backend_info.c
1.8 + *
1.9 + * @brief <p> This component represents all the MythTV backend server
1.10 + * configuration information.
1.11 + *
1.12 + * Copyright (C) 2006 INdT - Instituto Nokia de Tecnologia.
1.13 + * @author Renato Filho <renato.filho@indt.org.br>
1.14 + *
1.15 + *
1.16 + * This program is free software; you can redistribute it and/or modify
1.17 + * it under the terms of the GNU Lesser General Public License as published by
1.18 + * the Free Software Foundation; either version 2 of the License, or
1.19 + * (at your option) any later version.
1.20 + *
1.21 + * This program is distributed in the hope that it will be useful,
1.22 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
1.23 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1.24 + * GNU General Public License for more details.
1.25 + *
1.26 + * You should have received a copy of the GNU Lesser General Public License
1.27 + * along with this program; if not, write to the Free Software
1.28 + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
1.29 + */
1.30 +
1.31 +
1.32 +#ifndef __GMYTH_DBUS_SERVER_H__
1.33 +#define __GMYTH_DBUS_SERVER_H__
1.34 +
1.35 +#include <glib.h>
1.36 +#include <glib-object.h>
1.37 +
1.38 +G_BEGIN_DECLS
1.39 +
1.40 +#define GMYTH_DBUS_SERVER_TYPE (gmyth_dbus_server_get_type ())
1.41 +#define GMYTH_DBUS_SERVER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GMYTH_DBUS_SERVER_TYPE, GMythDbusServer))
1.42 +#define GMYTH_DBUS_SERVER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GMYTH_DBUS_SERVER_TYPE, GMythDbusServerClass))
1.43 +#define IS_GMYTH_DBUS_SERVER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GMYTH_DBUS_SERVER_TYPE))
1.44 +#define IS_GMYTH_DBUS_SERVER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GMYTH_DBUS_SERVER_TYPE))
1.45 +#define GMYTH_DBUS_SERVER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GMYTH_DBUS_SERVER_TYPE, GMythDbusServerClass))
1.46 +
1.47 +
1.48 +typedef struct _GMythDbusServer GMythDbusServer;
1.49 +typedef struct _GMythDbusServerClass GMythDbusServerClass;
1.50 +
1.51 +struct _GMythDbusServerClass
1.52 +{
1.53 + GObjectClass parent_class;
1.54 +};
1.55 +
1.56 +struct _GMythDbusServer
1.57 +{
1.58 + GObject parent;
1.59 +};
1.60 +
1.61 +GType gmyth_dbus_server_get_type (void);
1.62 +GMythDbusServer * gmyth_dbus_server_start_dbus_service (void);
1.63 +
1.64 +
1.65 +G_END_DECLS
1.66 +
1.67 +#endif