1
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
6
* Copyright (C) 2011 Free Software Foundation, Inc.
8
* This program is free software; you can redistribute it and/or modify
9
* it under the terms of the GNU General Public License as published by
10
* the Free Software Foundation; either version 2 of the License, or
11
* (at your option) any later version.
13
* This program is distributed in the hope that it will be useful,
14
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
* GNU General Public License for more details.
18
* You should have received a copy of the GNU General Public License
19
* along with this program. If not, see <http://www.gnu.org/licenses/>.
22
#ifndef GTH_FOLDER_CHOOSER_DIALOG_H
23
#define GTH_FOLDER_CHOOSER_DIALOG_H
30
#define GTH_TYPE_FOLDER_CHOOSER_DIALOG (gth_folder_chooser_dialog_get_type ())
31
#define GTH_FOLDER_CHOOSER_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTH_TYPE_FOLDER_CHOOSER_DIALOG, GthFolderChooserDialog))
32
#define GTH_FOLDER_CHOOSER_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTH_TYPE_FOLDER_CHOOSER_DIALOG, GthFolderChooserDialogClass))
33
#define GTH_IS_FOLDER_CHOOSER_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTH_TYPE_FOLDER_CHOOSER_DIALOG))
34
#define GTH_IS_FOLDER_CHOOSER_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTH_TYPE_FOLDER_CHOOSER_DIALOG))
35
#define GTH_FOLDER_CHOOSER_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTH_TYPE_FOLDER_CHOOSER_DIALOG, GthFolderChooserDialogClass))
37
typedef struct _GthFolderChooserDialog GthFolderChooserDialog;
38
typedef struct _GthFolderChooserDialogClass GthFolderChooserDialogClass;
39
typedef struct _GthFolderChooserDialogPrivate GthFolderChooserDialogPrivate;
41
struct _GthFolderChooserDialog {
42
GtkDialog parent_instance;
43
GthFolderChooserDialogPrivate *priv;
46
struct _GthFolderChooserDialogClass {
47
GtkDialogClass parent_class;
50
GType gth_folder_chooser_dialog_get_type (void);
51
GtkWidget * gth_folder_chooser_dialog_new (GList *folders);
52
GHashTable * gth_folder_chooser_dialog_get_selected (GthFolderChooserDialog *self);
56
#endif /* GTH_FOLDER_CHOOSER_DIALOG_H */