From fff4ecc82f2bcfa7427596e7ad9c3769fcab040b Mon Sep 17 00:00:00 2001 From: Perberos Date: Fri, 4 Nov 2011 22:16:15 -0300 Subject: first commit --- src/copy-theme-dialog.h | 56 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 src/copy-theme-dialog.h (limited to 'src/copy-theme-dialog.h') diff --git a/src/copy-theme-dialog.h b/src/copy-theme-dialog.h new file mode 100644 index 0000000..6e72017 --- /dev/null +++ b/src/copy-theme-dialog.h @@ -0,0 +1,56 @@ +/* copy-theme-dialog.h + * Copyright (C) 2008 John Millikin + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2, or (at your option) + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA + * 02111-1307, USA. +**/ + +#ifndef __COPY_THEME_DIALOG_H__ +#define __COPY_THEME_DIALOG_H__ + +#include + +G_BEGIN_DECLS + +#define COPY_THEME_DIALOG_TYPE copy_theme_dialog_get_type () +#define COPY_THEME_DIALOG(obj) G_TYPE_CHECK_INSTANCE_CAST (obj, COPY_THEME_DIALOG_TYPE, CopyThemeDialog) +#define COPY_THEME_DIALOG_CLASS(klass) G_TYPE_CHECK_CLASS_CAST (klass, COPY_THEME_DIALOG_TYPE, CopyThemeDialogClass) +#define IS_COPY_THEME_DIALOG(obj) G_TYPE_CHECK_INSTANCE_TYPE (obj, COPY_THEME_DIALOG_TYPE) + +typedef struct _CopyThemeDialog CopyThemeDialog; +typedef struct _CopyThemeDialogClass CopyThemeDialogClass; +typedef struct _CopyThemeDialogPrivate CopyThemeDialogPrivate; + +struct _CopyThemeDialog +{ + GtkDialog dialog; + CopyThemeDialogPrivate *priv; +}; + +struct _CopyThemeDialogClass +{ + GtkDialogClass parent_class; + + void (*cancelled) (CopyThemeDialog *dialog); + void (*complete) (CopyThemeDialog *dialog); +}; + +GType copy_theme_dialog_get_type (void); +GtkWidget *copy_theme_dialog_new (GList *files); +void copy_theme_dialog_begin (CopyThemeDialog *dialog); + +G_END_DECLS + +#endif /* __COPY_THEME_DIALOG_H__ */ -- cgit v1.2.1