]> git.0d.be Git - empathy.git/blob - libempathy-gtk/empathy-local-xmpp-assistant-widget.h
Be more compatible with Facebook emoticon codes
[empathy.git] / libempathy-gtk / empathy-local-xmpp-assistant-widget.h
1 /*
2  * empathy-local-xmpp-assistant-widget.h - Source for
3  * EmpathyLocalXmppAssistantWidget
4  *
5  * Copyright (C) 2012 - Collabora Ltd.
6  *
7  * This library is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU Lesser General Public
9  * License as published by the Free Software Foundation; either
10  * version 2.1 of the License, or (at your option) any later version.
11  *
12  * This library is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15  * Lesser General Public License for more details.
16  *
17  * You should have received a copy of the GNU Lesser General Public License
18  * along with This library. If not, see <http://www.gnu.org/licenses/>.
19  */
20
21 #ifndef __EMPATHY_LOCAL_XMPP_ASSISTANT_WIDGET_H__
22 #define __EMPATHY_LOCAL_XMPP_ASSISTANT_WIDGET_H__
23
24 #include <gtk/gtk.h>
25 #include <telepathy-glib/telepathy-glib.h>
26
27 G_BEGIN_DECLS
28
29 #define EMPATHY_TYPE_LOCAL_XMPP_ASSISTANT_WIDGET (empathy_local_xmpp_assistant_widget_get_type ())
30 #define EMPATHY_LOCAL_XMPP_ASSISTANT_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), EMPATHY_TYPE_LOCAL_XMPP_ASSISTANT_WIDGET, EmpathyLocalXmppAssistantWidget))
31 #define EMPATHY_LOCAL_XMPP_ASSISTANT_WIDGET_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), EMPATHY_TYPE_LOCAL_XMPP_ASSISTANT_WIDGET, EmpathyLocalXmppAssistantWidgetClass))
32 #define EMPATHY_IS_LOCAL_XMPP_ASSISTANT_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EMPATHY_TYPE_LOCAL_XMPP_ASSISTANT_WIDGET))
33 #define EMPATHY_IS_LOCAL_XMPP_ASSISTANT_WIDGET_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), EMPATHY_TYPE_LOCAL_XMPP_ASSISTANT_WIDGET))
34 #define EMPATHY_LOCAL_XMPP_ASSISTANT_WIDGET_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), EMPATHY_TYPE_LOCAL_XMPP_ASSISTANT_WIDGET, EmpathyLocalXmppAssistantWidgetClass))
35
36 typedef struct _EmpathyLocalXmppAssistantWidget EmpathyLocalXmppAssistantWidget;
37 typedef struct _EmpathyLocalXmppAssistantWidgetClass EmpathyLocalXmppAssistantWidgetClass;
38 typedef struct _EmpathyLocalXmppAssistantWidgetPrivate EmpathyLocalXmppAssistantWidgetPrivate;
39
40 struct _EmpathyLocalXmppAssistantWidget {
41   GtkGrid parent;
42
43   EmpathyLocalXmppAssistantWidgetPrivate *priv;
44 };
45
46 struct _EmpathyLocalXmppAssistantWidgetClass {
47   GtkGridClass parent_class;
48 };
49
50 GType empathy_local_xmpp_assistant_widget_get_type (void) G_GNUC_CONST;
51
52 GtkWidget * empathy_local_xmpp_assistant_widget_new (void);
53
54 void empathy_local_xmpp_assistant_widget_create_account (
55     EmpathyLocalXmppAssistantWidget *self);
56
57 gboolean empathy_local_xmpp_assistant_widget_should_create_account (
58     TpAccountManager *manager);
59
60 gboolean empathy_local_xmpp_assistant_widget_is_valid (
61         EmpathyLocalXmppAssistantWidget *self);
62
63 G_END_DECLS
64
65 #endif /* __EMPATHY_LOCAL_XMPP_ASSISTANT_WIDGET_H__ */