Updated Hungarian translation
[empathy-mirror.git] / libempathy-gtk / empathy-dialpad-button.h
blobcd312bda1821194802279ad770e4b5b0ed1e348b
1 /*
2 * Copyright (C) 2011-2012 Collabora Ltd.
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License as
6 * published by the Free Software Foundation; either version 2 of the
7 * License, or (at your option) any later version.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * General Public License for more details.
14 * You should have received a copy of the GNU General Public
15 * License along with this program; if not, write to the
16 * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
17 * Boston, MA 02110-1301 USA
19 * Authors: Danielle Madeley <danielle.madeley@collabora.co.uk>
20 * Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
24 #ifndef __EMPATHY_DIALPAD_BUTTON_H__
25 #define __EMPATHY_DIALPAD_BUTTON_H__
27 #include <gtk/gtk.h>
28 #include <telepathy-glib/telepathy-glib.h>
30 G_BEGIN_DECLS
32 typedef struct _EmpathyDialpadButton EmpathyDialpadButton;
33 typedef struct _EmpathyDialpadButtonClass EmpathyDialpadButtonClass;
34 typedef struct _EmpathyDialpadButtonPriv EmpathyDialpadButtonPriv;
36 struct _EmpathyDialpadButtonClass
38 /*<private>*/
39 GtkButtonClass parent_class;
42 struct _EmpathyDialpadButton
44 /*<private>*/
45 GtkButton parent;
46 EmpathyDialpadButtonPriv *priv;
49 GType empathy_dialpad_button_get_type (void);
51 /* TYPE MACROS */
52 #define EMPATHY_TYPE_DIALPAD_BUTTON \
53 (empathy_dialpad_button_get_type ())
54 #define EMPATHY_DIALPAD_BUTTON(obj) \
55 (G_TYPE_CHECK_INSTANCE_CAST((obj), \
56 EMPATHY_TYPE_DIALPAD_BUTTON, \
57 EmpathyDialpadButton))
58 #define EMPATHY_DIALPAD_BUTTON_CLASS(klass) \
59 (G_TYPE_CHECK_CLASS_CAST((klass), \
60 EMPATHY_TYPE_DIALPAD_BUTTON, \
61 EmpathyDialpadButtonClass))
62 #define EMPATHY_IS_DIALPAD_BUTTON(obj) \
63 (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
64 EMPATHY_TYPE_DIALPAD_BUTTON))
65 #define EMPATHY_IS_DIALPAD_BUTTON_CLASS(klass) \
66 (G_TYPE_CHECK_CLASS_TYPE((klass), \
67 EMPATHY_TYPE_DIALPAD_BUTTON))
68 #define EMPATHY_DIALPAD_BUTTON_GET_CLASS(obj) \
69 (G_TYPE_INSTANCE_GET_CLASS ((obj), \
70 EMPATHY_TYPE_DIALPAD_BUTTON, \
71 EmpathyDialpadButtonClass))
73 GtkWidget * empathy_dialpad_button_new (
74 const gchar *label,
75 const gchar *sub_label,
76 TpDTMFEvent event);
78 const gchar * empathy_dialpad_button_get_label (EmpathyDialpadButton *self);
79 const gchar * empathy_dialpad_button_get_sub_label (EmpathyDialpadButton *self);
80 TpDTMFEvent empathy_dialpad_button_get_event (EmpathyDialpadButton *self);
82 G_END_DECLS
84 #endif /* #ifndef __EMPATHY_DIALPAD_BUTTON_H__*/