From 0fb08f3ff81575a4749d851404233f34252dd2f2 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Tue, 21 Oct 2003 18:28:34 +0000 Subject: Merge new-ui-branch to the trunk. svn path=/trunk/; revision=22964 --- mail/subscribe-dialog.h | 62 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 mail/subscribe-dialog.h (limited to 'mail/subscribe-dialog.h') diff --git a/mail/subscribe-dialog.h b/mail/subscribe-dialog.h new file mode 100644 index 0000000000..c2e6b3d46f --- /dev/null +++ b/mail/subscribe-dialog.h @@ -0,0 +1,62 @@ +/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ +/* + * Authors: Chris Toshok + * Peter Williams + * + * Copyright 2000 Ximian, Inc. (www.ximian.com) + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of version 2 of the GNU General Public + * License as published by the Free Software Foundation. + * + * 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 _SUBSCRIBE_DIALOG_H_ +#define _SUBSCRIBE_DIALOG_H_ + +#include +#include +#include +#include +#include +#include "shell/evolution-storage.h" +#include "mail-types.h" +#include "camel/camel-store.h" + +#define SUBSCRIBE_DIALOG_TYPE (subscribe_dialog_get_type ()) +#define SUBSCRIBE_DIALOG(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), SUBSCRIBE_DIALOG_TYPE, SubscribeDialog)) +#define SUBSCRIBE_DIALOG_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), SUBSCRIBE_DIALOG_TYPE, SubscribeDialogClass)) +#define IS_SUBSCRIBE_DIALOG(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), SUBSCRIBE_DIALOG_TYPE)) +#define IS_SUBSCRIBE_DIALOG_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), SUBSCRIBE_DIALOG_TYPE)) + +typedef struct _SubscribeDialogPrivate SubscribeDialogPrivate; + +struct _SubscribeDialog { + GtkObject parent; + + GtkWidget *app; + SubscribeDialogPrivate *priv; +}; + +typedef struct { + GtkObjectClass parent_class; +} SubscribeDialogClass; + +GtkType subscribe_dialog_get_type (void); +GtkObject *subscribe_dialog_new (void); + +/* helper macro */ +#define subscribe_dialog_show(dialog) gtk_widget_show (SUBSCRIBE_DIALOG (dialog)->app) + +#endif /* _SUBSCRIBE_DIALOG_H_ */ -- cgit