diff options
author | Xavier Claessens <xclaesse@src.gnome.org> | 2008-02-11 01:12:07 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2008-02-11 01:12:07 +0800 |
commit | a84d2ff1a684995ce75ff78c57c0e1ac2a4bf7d5 (patch) | |
tree | ece047db6008d25e2c5effa0b85a4584f90a6eec /libempathy-gtk/empathy-account-widget.h | |
parent | 88efb8a4070d91d833186906a4099b445c60975d (diff) | |
download | gsoc2013-empathy-a84d2ff1a684995ce75ff78c57c0e1ac2a4bf7d5.tar gsoc2013-empathy-a84d2ff1a684995ce75ff78c57c0e1ac2a4bf7d5.tar.gz gsoc2013-empathy-a84d2ff1a684995ce75ff78c57c0e1ac2a4bf7d5.tar.bz2 gsoc2013-empathy-a84d2ff1a684995ce75ff78c57c0e1ac2a4bf7d5.tar.lz gsoc2013-empathy-a84d2ff1a684995ce75ff78c57c0e1ac2a4bf7d5.tar.xz gsoc2013-empathy-a84d2ff1a684995ce75ff78c57c0e1ac2a4bf7d5.tar.zst gsoc2013-empathy-a84d2ff1a684995ce75ff78c57c0e1ac2a4bf7d5.zip |
Add a generic UI to make easy building UI for protocol specific settings. Port empathy-account-widget-*.[ch] to use that API.
svn path=/trunk/; revision=621
Diffstat (limited to 'libempathy-gtk/empathy-account-widget.h')
-rw-r--r-- | libempathy-gtk/empathy-account-widget.h | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-account-widget.h b/libempathy-gtk/empathy-account-widget.h new file mode 100644 index 000000000..191997ece --- /dev/null +++ b/libempathy-gtk/empathy-account-widget.h @@ -0,0 +1,51 @@ +/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ +/* + * Copyright (C) 2006-2007 Imendio AB + * Copyright (C) 2007 Collabora Ltd. + * + * 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 of the + * License, 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. + * + * Authors: Xavier Claessens <xclaesse@gmail.com> + * Martyn Russell <martyn@imendio.com> + */ + +#ifndef __EMPATHY_ACCOUNT_WIDGET_GENERIC_H__ +#define __EMPATHY_ACCOUNT_WIDGET_GENERIC_H__ + +#include <gtk/gtk.h> +#include <glade/glade.h> + +#include <libmissioncontrol/mc-account.h> + +G_BEGIN_DECLS + +GtkWidget *empathy_account_widget_new_with_glade (McAccount *account, + GladeXML *glade, + const gchar *root, + const gchar *first_widget_name, + ...); +void emapthy_account_widget_add_forget_button (McAccount *account, + GladeXML *glade, + const gchar *button, + const gchar *entry); +GtkWidget *empathy_account_widget_generic_new (McAccount *account); +GtkWidget *empathy_account_widget_salut_new (McAccount *account); +GtkWidget *empathy_account_widget_msn_new (McAccount *account); +GtkWidget *empathy_account_widget_jabber_new (McAccount *account); + +G_END_DECLS + +#endif /* __EMPATHY_ACCOUNT_WIDGET_GENERIC_H__ */ |