| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
#ifndef GTH_IMPORT_PREFERENCES_DIALOG_H |
| 23 |
#define GTH_IMPORT_PREFERENCES_DIALOG_H |
| 24 |
|
| 25 |
#include <gtk/gtk.h> |
| 26 |
#include <gthumb.h> |
| 27 |
#include "gth-import-task.h" |
| 28 |
|
| 29 |
G_BEGIN_DECLS |
| 30 |
|
| 31 |
#define GTH_TYPE_IMPORT_PREFERENCES_DIALOG (gth_import_preferences_dialog_get_type ()) |
| 32 |
#define GTH_IMPORT_PREFERENCES_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTH_TYPE_IMPORT_PREFERENCES_DIALOG, GthImportPreferencesDialog)) |
| 33 |
#define GTH_IMPORT_PREFERENCES_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTH_TYPE_IMPORT_PREFERENCES_DIALOG, GthImportPreferencesDialogClass)) |
| 34 |
#define GTH_IS_IMPORT_PREFERENCES_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTH_TYPE_IMPORT_PREFERENCES_DIALOG)) |
| 35 |
#define GTH_IS_IMPORT_PREFERENCES_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTH_TYPE_IMPORT_PREFERENCES_DIALOG)) |
| 36 |
#define GTH_IMPORT_PREFERENCES_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTH_TYPE_IMPORT_PREFERENCES_DIALOG, GthImportPreferencesDialogClass)) |
| 37 |
|
| 38 |
typedef struct _GthImportPreferencesDialog GthImportPreferencesDialog; |
| 39 |
typedef struct _GthImportPreferencesDialogClass GthImportPreferencesDialogClass; |
| 40 |
typedef struct _GthImportPreferencesDialogPrivate GthImportPreferencesDialogPrivate; |
| 41 |
|
| 42 |
struct _GthImportPreferencesDialog { |
| 43 |
GtkDialog parent_instance; |
| 44 |
GthImportPreferencesDialogPrivate *priv; |
| 45 |
}; |
| 46 |
|
| 47 |
struct _GthImportPreferencesDialogClass { |
| 48 |
GtkDialogClass parent_class; |
| 49 |
|
| 50 |
|
| 51 |
|
| 52 |
void (*destination_changed) (GthImportPreferencesDialog *self); |
| 53 |
}; |
| 54 |
|
| 55 |
GType gth_import_preferences_dialog_get_type (void); |
| 56 |
GtkWidget * gth_import_preferences_dialog_new (void); |
| 57 |
void gth_import_preferences_dialog_set_event (GthImportPreferencesDialog *self, |
| 58 |
const char *event); |
| 59 |
GFile * gth_import_preferences_dialog_get_destination |
| 60 |
(GthImportPreferencesDialog *self); |
| 61 |
GFile * gth_import_preferences_dialog_get_subfolder_example |
| 62 |
(GthImportPreferencesDialog *self); |
| 63 |
|
| 64 |
G_END_DECLS |
| 65 |
|
| 66 |
#endif |