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