2 * irreco - Ir Remote Control
3 * Copyright (C) 2008 Joni Kokko (t5kojo01@students.oamk.fi)
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License
7 * as published by the Free Software Foundation; either version 2
8 * of the License, or (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21 * @addtogroup IrrecoRemoteDownloadDlg
27 * Header file of @ref IrrecoRemoteDownloadDlg.
32 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
34 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
36 * Make sure that typedefs are available before we include anything elese.
38 * This makes sure that whatever other structures that depend on structures
39 * defined in this file will compile OK recardles of header inclusion order.
41 #ifndef __IRRECO_REMOTE_DOWNLOAD_DLG_H_TYPEDEF__
42 #define __IRRECO_REMOTE_DOWNLOAD_DLG_H_TYPEDEF__
44 #define IRRECO_TYPE_REMOTE_DOWNLOAD_DLG irreco_remote_download_dlg_get_type()
46 #define IRRECO_REMOTE_DOWNLOAD_DLG(obj) \
47 (G_TYPE_CHECK_INSTANCE_CAST ((obj), \
48 IRRECO_TYPE_REMOTE_DOWNLOAD_DLG, IrrecoRemoteDownloadDlg))
50 #define IRRECO_REMOTE_DOWNLOAD_DLG_CLASS(klass) \
51 (G_TYPE_CHECK_CLASS_CAST ((klass), \
52 IRRECO_TYPE_REMOTE_DOWNLOAD_DLG, IrrecoRemoteDownloadDlgClass))
54 #define IRRECO_IS_REMOTE_DOWNLOAD_DLG(obj) \
55 (G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
56 IRRECO_TYPE_REMOTE_DOWNLOAD_DLG))
58 #define IRRECO_IS_REMOTE_DOWNLOAD_DLG_CLASS(klass) \
59 (G_TYPE_CHECK_CLASS_TYPE ((klass), IRRECO_TYPE_REMOTE_DOWNLOAD_DLG))
61 #define IRRECO_REMOTE_DOWNLOAD_DLG_GET_CLASS(obj) \
62 (G_TYPE_INSTANCE_GET_CLASS ((obj), \
63 IRRECO_TYPE_REMOTE_DOWNLOAD_DLG, IrrecoRemoteDownloadDlgClass))
65 typedef struct _IrrecoRemoteDownloadDlgClass IrrecoRemoteDownloadDlgClass
;
66 typedef struct _IrrecoRemoteDownloadDlg IrrecoRemoteDownloadDlg
;
67 #endif /* __IRRECO_REMOTE_DOWNLOAD_DLG_H_TYPEDEF__ */
71 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
73 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
74 #ifndef __IRRECO_REMOTE_DOWNLOAD_DLG_H__
75 #define __IRRECO_REMOTE_DOWNLOAD_DLG_H__
77 #include "irreco_data.h"
78 #include "irreco_dlg.h"
79 #include "irreco_webdb_remote.h"
80 #include <glib-object.h>
84 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
86 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
88 struct _IrrecoRemoteDownloadDlg
{
90 IrrecoData
*irreco_data
;
95 GtkTreeIter
*loader_parent_iter
;
96 IrrecoWebdbRemote
*remote
;
99 GtkTreeStore
*tree_store
;
100 GtkTreeView
*tree_view
;
104 GtkWidget
*help_text
;
105 GtkWidget
*details_model
;
106 GtkWidget
*details_creator
;
107 GtkWidget
*details_backends
;
108 GtkWidget
*details_themes
;
109 GtkWidget
*details_downloaded
;
110 GtkWidget
*details_comment
;
113 struct _IrrecoRemoteDownloadDlgClass
{
114 IrrecoDlgClass parent_class
;
119 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
121 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
123 GType
irreco_remote_download_dlg_get_type (void);
125 IrrecoRemoteDownloadDlg
* irreco_remote_download_dlg_new(IrrecoData
*irreco_data
,
128 gboolean
irreco_show_remote_download_dlg(IrrecoData
*irreco_data
,
132 #endif /* __IRRECO_REMOTE_DOWNLOAD_DLG_H__ */