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