|
Packit |
15f964 |
/*
|
|
Packit |
15f964 |
* e-image-chooser-dialog.h
|
|
Packit |
15f964 |
*
|
|
Packit |
15f964 |
* Copyright (C) 2012 Dan Vrátil <dvratil@redhat.com>
|
|
Packit |
15f964 |
*
|
|
Packit |
15f964 |
* This program is free software; you can redistribute it and/or
|
|
Packit |
15f964 |
* modify it under the terms of version 2 of the GNU Lesser General Public
|
|
Packit |
15f964 |
* License as published by the Free Software Foundation.
|
|
Packit |
15f964 |
*
|
|
Packit |
15f964 |
* This program is distributed in the hope that it will be useful,
|
|
Packit |
15f964 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit |
15f964 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Packit |
15f964 |
* General Public License for more details.
|
|
Packit |
15f964 |
*
|
|
Packit |
15f964 |
* You should have received a copy of the GNU Lesser General Public
|
|
Packit |
15f964 |
* License along with this program; if not, write to the
|
|
Packit |
15f964 |
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
Packit |
15f964 |
* Boston, MA 02111-1307, USA.
|
|
Packit |
15f964 |
*/
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
#if !defined (__E_UTIL_H_INSIDE__) && !defined (LIBEUTIL_COMPILATION)
|
|
Packit |
15f964 |
#error "Only <e-util/e-util.h> should be included directly."
|
|
Packit |
15f964 |
#endif
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
#ifndef E_IMAGE_CHOOSER_DIALOG_H
|
|
Packit |
15f964 |
#define E_IMAGE_CHOOSER_DIALOG_H
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
#include <gtk/gtk.h>
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
/* Standard GObject macros */
|
|
Packit |
15f964 |
#define E_TYPE_IMAGE_CHOOSER_DIALOG \
|
|
Packit |
15f964 |
(e_image_chooser_dialog_get_type ())
|
|
Packit |
15f964 |
#define E_IMAGE_CHOOSER_DIALOG(obj) \
|
|
Packit |
15f964 |
(G_TYPE_CHECK_INSTANCE_CAST \
|
|
Packit |
15f964 |
((obj), E_TYPE_IMAGE_CHOOSER_DIALOG, EImageChooserDialog))
|
|
Packit |
15f964 |
#define E_IMAGE_CHOOSER_DIALOG_CLASS(cls) \
|
|
Packit |
15f964 |
(G_TYPE_CHECK_CLASS_CAST \
|
|
Packit |
15f964 |
((cls), E_TYPE_IMAGE_CHOOSER_DIALOG, EImageChooserDialogClass))
|
|
Packit |
15f964 |
#define E_IS_IMAGE_CHOOSER_DIALOG(obj) \
|
|
Packit |
15f964 |
(G_TYPE_CHECK_INSTANCE_TYPE \
|
|
Packit |
15f964 |
((obj), E_TYPE_IMAGE_CHOOSER_DIALOG))
|
|
Packit |
15f964 |
#define E_IS_IMAGE_CHOOSER_DIALOG_CLASS(cls) \
|
|
Packit |
15f964 |
(G_TYPE_CHECK_CLASS_TYPE \
|
|
Packit |
15f964 |
((cls), E_TYPE_IMAGE_CHOOSER_DIALOG))
|
|
Packit |
15f964 |
#define E_IMAGE_CHOOSER_DIALOG_GET_CLASS(obj) \
|
|
Packit |
15f964 |
(G_TYPE_INSTANCE_GET_CLASS \
|
|
Packit |
15f964 |
((obj), E_TYPE_IMAGE_CHOOSER_DIALOG, EImageChooserDialogClass))
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
G_BEGIN_DECLS
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
typedef struct _EImageChooserDialog EImageChooserDialog;
|
|
Packit |
15f964 |
typedef struct _EImageChooserDialogClass EImageChooserDialogClass;
|
|
Packit |
15f964 |
typedef struct _EImageChooserDialogPrivate EImageChooserDialogPrivate;
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
struct _EImageChooserDialog {
|
|
Packit |
15f964 |
GtkFileChooserDialog parent;
|
|
Packit |
15f964 |
EImageChooserDialogPrivate *priv;
|
|
Packit |
15f964 |
};
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
struct _EImageChooserDialogClass {
|
|
Packit |
15f964 |
GtkFileChooserDialogClass parent_class;
|
|
Packit |
15f964 |
};
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
GType e_image_chooser_dialog_get_type
|
|
Packit |
15f964 |
(void) G_GNUC_CONST;
|
|
Packit |
15f964 |
GtkWidget * e_image_chooser_dialog_new
|
|
Packit |
15f964 |
(const gchar *title,
|
|
Packit |
15f964 |
GtkWindow *parent);
|
|
Packit |
15f964 |
GFile * e_image_chooser_dialog_run
|
|
Packit |
15f964 |
(EImageChooserDialog *dialog);
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
G_END_DECLS
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
#endif /* E_IMAGE_CHOOSER_DIALOG_H */
|