1 /* GIMP - The GNU Image Manipulation Program 2 * Copyright (C) 1995 Spencer Kimball and Peter Mattis 3 * 4 * GimpColorProfileChooserDialog 5 * Copyright (C) 2006-2014 Sven Neumann <sven@gimp.org> 6 * Michael Natterer <mitch@gimp.org> 7 * 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 3 of the License, or 11 * (at your option) any later version. 12 * 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. 17 * 18 * You should have received a copy of the GNU General Public License 19 * along with this program. If not, see <https://www.gnu.org/licenses/>. 20 */ 21 22 #ifndef __GIMP_COLOR_PROFILE_CHOOSER_DIALOG_H__ 23 #define __GIMP_COLOR_PROFILE_CHOOSER_DIALOG_H__ 24 25 G_BEGIN_DECLS 26 27 28 #define GIMP_TYPE_COLOR_PROFILE_CHOOSER_DIALOG (gimp_color_profile_chooser_dialog_get_type ()) 29 #define GIMP_COLOR_PROFILE_CHOOSER_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GIMP_TYPE_COLOR_PROFILE_CHOOSER_DIALOG, GimpColorProfileChooserDialog)) 30 #define GIMP_COLOR_PROFILE_CHOOSER_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GIMP_TYPE_COLOR_PROFILE_CHOOSER_DIALOG, GimpColorProfileChooserDialogClass)) 31 #define GIMP_IS_COLOR_PROFILE_CHOOSER_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GIMP_TYPE_COLOR_PROFILE_CHOOSER_DIALOG)) 32 #define GIMP_IS_COLOR_PROFILE_CHOOSER_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GIMP_TYPE_COLOR_PROFILE_CHOOSER_DIALOG)) 33 #define GIMP_COLOR_PROFILE_CHOOSER_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GIMP_TYPE_COLOR_PROFILE_CHOOSER_DIALOG, GimpColorProfileChooserDialogClass)) 34 35 36 typedef struct _GimpColorProfileChooserDialogClass GimpColorProfileChooserDialogClass; 37 typedef struct _GimpColorProfileChooserDialogPrivate GimpColorProfileChooserDialogPrivate; 38 39 struct _GimpColorProfileChooserDialog 40 { 41 GtkFileChooserDialog parent_instance; 42 43 GimpColorProfileChooserDialogPrivate *priv; 44 }; 45 46 struct _GimpColorProfileChooserDialogClass 47 { 48 GtkFileChooserDialogClass parent_class; 49 50 /* Padding for future expansion */ 51 void (* _gimp_reserved1) (void); 52 void (* _gimp_reserved2) (void); 53 void (* _gimp_reserved3) (void); 54 void (* _gimp_reserved4) (void); 55 }; 56 57 58 GType gimp_color_profile_chooser_dialog_get_type (void) G_GNUC_CONST; 59 60 GtkWidget * gimp_color_profile_chooser_dialog_new (const gchar *title, 61 GtkWindow *parent, 62 GtkFileChooserAction action); 63 64 65 G_END_DECLS 66 67 #endif /* __GIMP_COLOR_PROFILE_CHOOSER_DIALOG_H__ */ 68