diff options
Diffstat (limited to 'plugins/exchange-operations/exchange-send-options.h')
-rw-r--r-- | plugins/exchange-operations/exchange-send-options.h | 76 |
1 files changed, 76 insertions, 0 deletions
diff --git a/plugins/exchange-operations/exchange-send-options.h b/plugins/exchange-operations/exchange-send-options.h new file mode 100644 index 0000000000..8d4e2de55f --- /dev/null +++ b/plugins/exchange-operations/exchange-send-options.h @@ -0,0 +1,76 @@ + /* Evolution exchange send options + * Copyright (C) 2004 Novell, Inc. + * + * Authors: Raghavendran R<raghavguru7@gmail.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, Bangalore, MA 02111-1307, India. + */ + +#ifndef __EXCHANGE_SENDOPTIONS_DIALOG_H__ +#define __EXCHANGE_SENDOPTIONS_DIALOG_H__ + +#include <gtk/gtkwidget.h> +#include <gtk/gtk.h> + + + +#define EXCHANGE_TYPE_SENDOPTIONS_DIALOG (exchange_sendoptions_dialog_get_type ()) +#define EXCHANGE_SENDOPTIONS_DIALOG(obj) (GTK_CHECK_CAST ((obj), EXCHANGE_TYPE_SENDOPTIONS_DIALOG, ExchangeSendOptionsDialog)) +#define EXCHANGE_SENDOPTIONS_DIALOG_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), EXCHANGE_TYPE_SENDOPTIONS_DIALOG, ExchangeSendOptionsDialogClass)) +#define EXCHANGE_IS_SENDOPTIONS_DIALOG(obj) (GTK_CHECK_TYPE ((obj), EXCHANGE_TYPE_SENDOPTIONS_DIALOG)) +#define EXCHANGE_IS_SENDOPTIONS_DIALOG_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), EXCHANGE_TYPE_SENDOPTIONS_DIALOG)) + +typedef struct _ExchangeSendOptionsDialog ExchangeSendOptionsDialog; +typedef struct _ExchangeSendOptionsDialogClass ExchangeSendOptionsDialogClass; +typedef struct _ExchangeSendOptionsDialogPrivate ExchangeSendOptionsDialogPrivate; + +typedef enum { + E_IMP_NORMAL, + E_IMP_HIGH, + E_IMP_LOW +} ExchangeSendOptionsImp; + +typedef enum { + E_SENSITIVITY_NORMAL, + E_SENSITIVITY_PERSONAL, + E_SENSITIVITY_PRIVATE, + E_SENSITIVITY_CONFIDENTIAL +} ExchangeSendOptionsSensitivity; + +typedef struct { + ExchangeSendOptionsImp importance; + ExchangeSendOptionsSensitivity sensitivity; + gboolean delivery_enabled; + gboolean read_enabled; +} ExchangeSendOptions ; + +struct _ExchangeSendOptionsDialog { + GObject object; + + ExchangeSendOptions *options; + /* Private data */ + ExchangeSendOptionsDialogPrivate *priv; +}; + + +struct _ExchangeSendOptionsDialogClass { + GObjectClass parent_class; + void (* esod_response) (ExchangeSendOptionsDialog *esd, gint status); +}; + +GType exchange_sendoptions_dialog_get_type (void); +ExchangeSendOptionsDialog *exchange_sendoptions_dialog_new (void); +gboolean exchange_sendoptions_dialog_run (ExchangeSendOptionsDialog *sod, GtkWidget *parent); +#endif + |