gmyth-upnp/src/gmyth_upnp.h
author melunko
Mon Mar 03 17:38:32 2008 +0000 (2008-03-03)
branchtrunk
changeset 939 1418e08cee7a
parent 922 04cd5e61dca3
permissions -rw-r--r--
[svn r948] Added new function to retrieve old schedules in order to reactivate them
melunko@250
     1
/**
melunko@250
     2
 * GMyth Library
melunko@250
     3
 *
melunko@250
     4
 * @file gmyth/gmyth_upnp.h
melunko@250
     5
 * 
melunko@250
     6
 * @brief <p> GMythUPnP allows that a MythTV frontend discovers a 
melunko@250
     7
 * MythTV backend, using the UPnP architecture.
melunko@250
     8
 *
melunko@250
     9
 * Copyright (C) 2006 INdT - Instituto Nokia de Tecnologia.
melunko@250
    10
 * @author Rosfran Lins Borges <rosfran.borges@indt.org.br>
renatofilho@922
    11
 * @authon Renato Araujo Oliveira Filho <renato.filho@indt.org.br>
melunko@250
    12
 *
renatofilho@922
    13
 * This library is free software; you can redistribute it and/or
renatofilho@922
    14
 * modify it under the terms of the GNU Library General Public
renatofilho@922
    15
 * License as published by the Free Software Foundation; either
renatofilho@922
    16
 * version 2 of the License, or (at your option) any later version.
melunko@250
    17
 *
renatofilho@922
    18
 * This library is distributed in the hope that it will be useful,
melunko@250
    19
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
renatofilho@922
    20
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
renatofilho@922
    21
 * Library General Public License for more details.
melunko@250
    22
 *
renatofilho@922
    23
 * You should have received a copy of the GNU Library General Public
renatofilho@922
    24
 * License along with this library; if not, write to the
renatofilho@922
    25
 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
renatofilho@922
    26
 * Boston, MA 02111-1307, USA.
melunko@250
    27
 */
melunko@250
    28
melunko@250
    29
#ifndef _GMYTH_UPNP_H_
melunko@250
    30
#define _GMYTH_UPNP_H_
melunko@250
    31
melunko@250
    32
#include <glib.h>
melunko@250
    33
#include <glib-object.h>
melunko@250
    34
renatofilho@938
    35
G_BEGIN_DECLS
renatofilho@938
    36
#define GMYTH_UPNP_TYPE                 (gmyth_upnp_get_type ())
renatofilho@938
    37
#define GMYTH_UPNP(obj)                 (G_TYPE_CHECK_INSTANCE_CAST ((obj), GMYTH_UPNP_TYPE, GMythUPnP))
renatofilho@938
    38
#define GMYTH_UPNP_CLASS(klass)         (G_TYPE_CHECK_CLASS_CAST ((klass), GMYTH_UPNP_TYPE, GMythUPnPClass))
renatofilho@938
    39
#define IS_GMYTH_UPNP(obj)              (G_TYPE_CHECK_INSTANCE_CAST ((obj), GMYTH_UPNP_TYPE))
renatofilho@938
    40
#define IS_GMYTH_UPNP_CLASS(klass)      (G_TYPE_CHECK_CLASS_CAST ((klass), GMYTH_UPNP_TYPE))
renatofilho@938
    41
#define GMYTH_UPNP_GET_CLASS(obj)       (G_TYPE_INSTANCE_GET_CLASS ((obj), GMYTH_UPNP_TYPE, GMythUPnPClass))
melunko@250
    42
renatofilho@754
    43
typedef struct _GMythUPnP GMythUPnP;
renatofilho@754
    44
typedef struct _GMythUPnPClass GMythUPnPClass;
rosfran@696
    45
renatofilho@754
    46
struct _GMythUPnPClass {
renatofilho@754
    47
    GObjectClass    parent_class;
melunko@250
    48
};
melunko@250
    49
renatofilho@909
    50
struct _GMythUPnP {
renatofilho@909
    51
    GObject         parent;
rosfran@696
    52
};
rosfran@696
    53
renatofilho@909
    54
GType               gmyth_upnp_get_type         (void);
renatofilho@909
    55
GMythUPnP*          gmyth_upnp_get_instance     (void);
renatofilho@909
    56
void                gmyth_upnp_search           (GMythUPnP * gmyth_upnp);
renatofilho@915
    57
GList*              gmyth_upnp_get_devices      (GMythUPnP * gmyth_upnp);
rosfran@706
    58
melunko@250
    59
G_END_DECLS
renatofilho@754
    60
#endif                          /* _GMYTH_UPNP_H_ */