]> git.0d.be Git - empathy.git/blob - libempathy-gtk/empathy-presence-chooser.h
Updated Spanish Translation
[empathy.git] / libempathy-gtk / empathy-presence-chooser.h
1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2 /*
3  * Copyright (C) 2005-2007 Imendio AB
4  * Copyright (C) 2009 Collabora Ltd.
5  *
6  * This program is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU General Public License as
8  * published by the Free Software Foundation; either version 2 of the
9  * License, or (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14  * General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public
17  * License along with this program; if not, write to the
18  * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
19  * Boston, MA  02110-1301  USA
20  *
21  * Authors: Richard Hult <richard@imendio.com>
22  *          Martyn Russell <martyn@imendio.com>
23  *          Xavier Claessens <xclaesse@gmail.com>
24  *          Danielle Madeley <danielle.madeley@collabora.co.uk>
25  */
26
27 #ifndef __EMPATHY_PRESENCE_CHOOSER_H__
28 #define __EMPATHY_PRESENCE_CHOOSER_H__
29
30 #include <gtk/gtk.h>
31
32 G_BEGIN_DECLS
33
34 #define EMPATHY_TYPE_PRESENCE_CHOOSER         (empathy_presence_chooser_get_type ())
35 #define EMPATHY_PRESENCE_CHOOSER(o)           (G_TYPE_CHECK_INSTANCE_CAST ((o), EMPATHY_TYPE_PRESENCE_CHOOSER, EmpathyPresenceChooser))
36 #define EMPATHY_PRESENCE_CHOOSER_CLASS(k)     (G_TYPE_CHECK_CLASS_CAST ((k), EMPATHY_TYPE_PRESENCE_CHOOSER, EmpathyPresenceChooserClass))
37 #define EMPATHY_IS_PRESENCE_CHOOSER(o)        (G_TYPE_CHECK_INSTANCE_TYPE ((o), EMPATHY_TYPE_PRESENCE_CHOOSER))
38 #define EMPATHY_IS_PRESENCE_CHOOSER_CLASS(k)  (G_TYPE_CHECK_CLASS_TYPE ((k), EMPATHY_TYPE_PRESENCE_CHOOSER))
39 #define EMPATHY_PRESENCE_CHOOSER_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), EMPATHY_TYPE_PRESENCE_CHOOSER, EmpathyPresenceChooserClass))
40
41 typedef struct _EmpathyPresenceChooser      EmpathyPresenceChooser;
42 typedef struct _EmpathyPresenceChooserClass EmpathyPresenceChooserClass;
43
44 struct _EmpathyPresenceChooser {
45         GtkComboBox parent;
46
47         /*<private>*/
48         gpointer priv;
49 };
50
51 struct _EmpathyPresenceChooserClass {
52         GtkComboBoxClass parent_class;
53 };
54
55 GType      empathy_presence_chooser_get_type           (void) G_GNUC_CONST;
56 GtkWidget *empathy_presence_chooser_new                (void);
57 GtkWidget *empathy_presence_chooser_create_menu        (void);
58
59 G_END_DECLS
60
61 #endif /* __EMPATHY_PRESENCE_CHOOSER_H__ */
62