diff options
author | Shreyas Srinivasan <sshreyas@novell.com> | 2005-07-10 17:47:05 +0800 |
---|---|---|
committer | Shreyas Srinivasan <shres@src.gnome.org> | 2005-07-10 17:47:05 +0800 |
commit | 9d1e7081e297f5b582c3c3257fb2635696701e42 (patch) | |
tree | a7faae859234cccd527df9b3616743757c39ffae /plugins/proxy-login/proxy-login.h | |
parent | a5c812f96334d17b3f781204495c24573cdc6240 (diff) | |
download | gsoc2013-evolution-9d1e7081e297f5b582c3c3257fb2635696701e42.tar.gz gsoc2013-evolution-9d1e7081e297f5b582c3c3257fb2635696701e42.tar.zst gsoc2013-evolution-9d1e7081e297f5b582c3c3257fb2635696701e42.zip |
Plugin to implement Proxy Login on a groupwise account.
2005-07-10 Shreyas Srinivasan <sshreyas@novell.com>
* plugins/proxy-login/*: Plugin to implement Proxy Login on a
groupwise account.
svn path=/trunk/; revision=29694
Diffstat (limited to 'plugins/proxy-login/proxy-login.h')
-rw-r--r-- | plugins/proxy-login/proxy-login.h | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/plugins/proxy-login/proxy-login.h b/plugins/proxy-login/proxy-login.h new file mode 100644 index 0000000000..87e516d9c1 --- /dev/null +++ b/plugins/proxy-login/proxy-login.h @@ -0,0 +1,67 @@ + /* Evolution calendar - Timezone selector dialog + * + * Copyright (C) 2005 Novell, Inc. + * + * Authors: Shreyas Srinivasan <sshreyas@novell.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. + */ + +#include <gtk/gtkwidget.h> +#include <gtk/gtk.h> + +#define TYPE_PROXY_LOGIN (proxy_login_get_type ()) +#define PROXY_LOGIN(obj) (GTK_CHECK_CAST ((obj), TYPE_PROXY_LOGIN, proxyLogin)) +#define PROXY_LOGIN_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), TYPE_PROXY_LOGIN, proxyLoginClass)) +#define IS_PROXY_LOGIN(obj) (GTK_CHECK_TYPE ((obj), TYPE_PROXY_LOGIN)) +#define IS_PROXY_LOGIN_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), TYPE_PROXY_LOGIN)) + +typedef struct _proxyLogin proxyLogin; +typedef struct _proxyLoginClass proxyLoginClass; +typedef struct _proxyLoginPrivate proxyLoginPrivate; + +struct _proxyLogin{ + GObject object; + + /*Account*/ + EAccount *account; + + /*List of proxies*/ + GList *proxy_list; + + /* Private Dialog Information*/ + proxyLoginPrivate *priv; + + /*Permissions on the login*/ + int permissions; +}; + +struct _proxyLoginClass { + GObjectClass parent_class; +}; + +GType proxy_login_get_type (void); +proxyLogin * proxy_login_new (void); +static void proxy_login_cb (GtkDialog *dialog, gint state); +static void proxy_login_add_new_store (char *uri, CamelStore *store, void *user_data); +static void proxy_login_setup_tree_view (void); +void org_gnome_proxy_account_login (EPopup *ep, EPopupItem *p, char *uri); +proxyLogin* proxy_dialog_new (void); +static void proxy_soap_login (char *email); +char *parse_email_for_name (char *email); +static void proxy_login_update_tree (void); +static void proxy_login_tree_view_changed_cb(GtkDialog *dialog); +void org_gnome_create_proxy_login_option(EPlugin *ep, EMPopupTargetFolder *t); +static int proxy_get_password (EAccount *account, char **user_name, char **password); |