diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2012-07-13 18:21:00 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2012-07-24 22:20:03 +0800 |
commit | e0edcddf9c31b788844b294aa94b7cd181c6662f (patch) | |
tree | deadec0966528adb4ff5ef4cc2168b9106a79271 /ubuntu-online-accounts/cc-plugins/empathy-accounts-plugin-widget.h | |
parent | 03e6158d3cfb683e4c837de9c2d54cfe8cb4515a (diff) | |
download | gsoc2013-empathy-e0edcddf9c31b788844b294aa94b7cd181c6662f.tar gsoc2013-empathy-e0edcddf9c31b788844b294aa94b7cd181c6662f.tar.gz gsoc2013-empathy-e0edcddf9c31b788844b294aa94b7cd181c6662f.tar.bz2 gsoc2013-empathy-e0edcddf9c31b788844b294aa94b7cd181c6662f.tar.lz gsoc2013-empathy-e0edcddf9c31b788844b294aa94b7cd181c6662f.tar.xz gsoc2013-empathy-e0edcddf9c31b788844b294aa94b7cd181c6662f.tar.zst gsoc2013-empathy-e0edcddf9c31b788844b294aa94b7cd181c6662f.zip |
add account-plugin-widget
https://bugzilla.gnome.org/show_bug.cgi?id=680448
Diffstat (limited to 'ubuntu-online-accounts/cc-plugins/empathy-accounts-plugin-widget.h')
-rw-r--r-- | ubuntu-online-accounts/cc-plugins/empathy-accounts-plugin-widget.h | 76 |
1 files changed, 76 insertions, 0 deletions
diff --git a/ubuntu-online-accounts/cc-plugins/empathy-accounts-plugin-widget.h b/ubuntu-online-accounts/cc-plugins/empathy-accounts-plugin-widget.h new file mode 100644 index 000000000..17963e656 --- /dev/null +++ b/ubuntu-online-accounts/cc-plugins/empathy-accounts-plugin-widget.h @@ -0,0 +1,76 @@ +/* + * empathy-accounts-plugin-widget.h + * + * Copyright (C) 2012 Collabora Ltd. <http://www.collabora.co.uk/> + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library 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 + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + */ + + +#ifndef __EMPATHY_ACCOUNTS_PLUGIN_WIDGET_H__ +#define __EMPATHY_ACCOUNTS_PLUGIN_WIDGET_H__ + +#include <gtk/gtk.h> + +#include <libaccounts-glib/ag-account.h> + +G_BEGIN_DECLS + +typedef struct _EmpathyAccountsPluginWidget EmpathyAccountsPluginWidget; +typedef struct _EmpathyAccountsPluginWidgetClass EmpathyAccountsPluginWidgetClass; +typedef struct _EmpathyAccountsPluginWidgetPriv EmpathyAccountsPluginWidgetPriv; + +struct _EmpathyAccountsPluginWidgetClass +{ + /*<private>*/ + GtkBoxClass parent_class; +}; + +struct _EmpathyAccountsPluginWidget +{ + /*<private>*/ + GtkBox parent; + EmpathyAccountsPluginWidgetPriv *priv; +}; + +GType empathy_accounts_plugin_widget_get_type (void); + +/* TYPE MACROS */ +#define EMPATHY_TYPE_ACCOUNTS_PLUGIN_WIDGET \ + (empathy_accounts_plugin_widget_get_type ()) +#define EMPATHY_ACCOUNTS_PLUGIN_WIDGET(obj) \ + (G_TYPE_CHECK_INSTANCE_CAST((obj), \ + EMPATHY_TYPE_ACCOUNTS_PLUGIN_WIDGET, \ + EmpathyAccountsPluginWidget)) +#define EMPATHY_ACCOUNTS_PLUGIN_WIDGET_CLASS(klass) \ + (G_TYPE_CHECK_CLASS_CAST((klass), \ + EMPATHY_TYPE_ACCOUNTS_PLUGIN_WIDGET, \ + EmpathyAccountsPluginWidgetClass)) +#define EMPATHY_IS_ACCOUNTS_PLUGIN_WIDGET(obj) \ + (G_TYPE_CHECK_INSTANCE_TYPE((obj), \ + EMPATHY_TYPE_ACCOUNTS_PLUGIN_WIDGET)) +#define EMPATHY_IS_ACCOUNTS_PLUGIN_WIDGET_CLASS(klass) \ + (G_TYPE_CHECK_CLASS_TYPE((klass), \ + EMPATHY_TYPE_ACCOUNTS_PLUGIN_WIDGET)) +#define EMPATHY_ACCOUNTS_PLUGIN_WIDGET_GET_CLASS(obj) \ + (G_TYPE_INSTANCE_GET_CLASS ((obj), \ + EMPATHY_TYPE_ACCOUNTS_PLUGIN_WIDGET, \ + EmpathyAccountsPluginWidgetClass)) + +GtkWidget * empathy_accounts_plugin_widget_new (AgAccount *account); + +G_END_DECLS + +#endif /* #ifndef __EMPATHY_ACCOUNTS_PLUGIN_WIDGET_H__*/ |