4 * @file gmyth/gmyth_recprofile.h
6 * @brief <p> This file contains the recprofile class.
8 * Copyright (C) 2007 INdT - Instituto Nokia de Tecnologia.
9 * @author Artur Duque de Souza <artur.souza@indt.org.br>
14 * This program is free software; you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License as published by
16 * the Free Software Foundation; either version 2 of the License, or
17 * (at your option) any later version.
19 * This program is distributed in the hope that it will be useful,
20 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 * GNU General Public License for more details.
24 * You should have received a copy of the GNU Lesser General Public License
25 * along with this program; if not, write to the Free Software
26 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
29 #ifndef _GMYTH_RECPROFILE_H
30 #define _GMYTH_RECPROFILE_H
33 #include <glib-object.h>
35 #include "gmyth_stringlist.h"
36 #include "gmyth_backendinfo.h"
37 #include "gmyth_socket.h"
41 #define GMYTH_RECPROFILE_TYPE (gmyth_recprofile_get_type ())
42 #define GMYTH_RECPROFILE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GMYTH_RECPROFILE_TYPE, GMythRecProfile))
43 #define GMYTH_RECPROFILE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GMYTH_RECPROFILE_TYPE, GMythRecProfileClass))
44 #define IS_GMYTH_RECPROFILE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GMYTH_RECPROFILE_TYPE))
45 #define IS_GMYTH_RECPROFILE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GMYTH_RECPROFILE_TYPE))
46 #define GMYTH_RECPROFILE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GMYTH_RECPROFILE_TYPE, GMythRecProfileClass))
48 typedef struct _GMythRecProfile GMythRecProfile;
49 typedef struct _GMythRecProfileClass GMythRecProfileClass;
51 struct _GMythRecProfileClass
53 GObjectClass parent_class;
58 struct _GMythRecProfile
69 GType gmyth_recprofile_type (void);
71 GMythRecProfile* gmyth_recprofile_new (void);
73 GSList* gmyth_recprofile_get_profile_list (GMythBackendInfo *backend_info);
75 gint gmyth_recprofile_create_profile (GMythBackendInfo *backend_info,\
76 GMythRecProfile* profile);
78 gint gmyth_recprofile_del_profile_list (GMythBackendInfo *backend_info,\
81 gint gmyth_recprofile_set_acodec (GMythRecProfile* rec, gchar* acodec);
82 gint gmyth_recprofile_set_vcodec (GMythRecProfile* rec, gchar* vcodec);
83 gint gmyth_recprofile_set_group (GMythRecProfile* rec, gchar* group);
84 gint gmyth_recprofile_set_name (GMythRecProfile* rec, gchar* name);
85 gint gmyth_recprofile_set_id (GMythRecProfile* rec, gint id);
89 #endif /*_GMYTH_RECPROFILE_H*/