diff options
author | Perberos <[email protected]> | 2011-11-04 22:16:15 -0300 |
---|---|---|
committer | Perberos <[email protected]> | 2011-11-04 22:16:15 -0300 |
commit | fff4ecc82f2bcfa7427596e7ad9c3769fcab040b (patch) | |
tree | ac4f1812a7991609c9c32c776daede2d8492f7b5 /src/copy-theme-dialog.h | |
download | mate-screensaver-fff4ecc82f2bcfa7427596e7ad9c3769fcab040b.tar.bz2 mate-screensaver-fff4ecc82f2bcfa7427596e7ad9c3769fcab040b.tar.xz |
first commit
Diffstat (limited to 'src/copy-theme-dialog.h')
-rw-r--r-- | src/copy-theme-dialog.h | 56 |
1 files changed, 56 insertions, 0 deletions
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 <[email protected]> + * + * 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 <gtk/gtk.h> + +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__ */ |