aboutsummaryrefslogblamecommitdiffstats
path: root/plugins/exchange-operations/exchange-send-options.h
blob: 8d4e2de55ff2174c5d5c2dfa0a7080940e24f37b (plain) (tree)











































































                                                                                                                                                   
 /* 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