1
/* Ekiga -- A VoIP and Video-Conferencing application
2
* Copyright (C) 2000-2007 Damien Sandras
4
* This program is free software; you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License as published by
6
* the Free Software Foundation; either version 2 of the License, or
7
* (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
12
* GNU General Public License for more details.
14
* You should have received a copy of the GNU General Public License
15
* along with this program; if not, write to the Free Software Foundation,
16
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
19
* Ekiga is licensed under the GPL license and as a special exception,
20
* you have permission to link or otherwise combine this program with the
21
* programs OPAL, OpenH323 and PWLIB, and distribute the combination,
22
* without applying the requirements of the GNU GPL to the OPAL, OpenH323
23
* and PWLIB programs, as long as you do follow the requirements of the
24
* GNU GPL for all the rest of the software thus combined.
28
* dialpad.h - description
29
* ---------------------------
30
* begin : Thu Jan 3 2008
31
* copyright : (C) 2008 by Steve Frécinaux
32
* description : Dial pad widget.
35
#ifndef __EKIGA_DIALPAD_H__
36
#define __EKIGA_DIALPAD_H__
42
#define EKIGA_TYPE_DIALPAD (ekiga_dialpad_get_type())
43
#define EKIGA_DIALPAD(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), EKIGA_TYPE_DIALPAD, EkigaDialpad))
44
#define EKIGA_DIALPAD_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), EKIGA_TYOE_DIALPAD, EkigaDialpadClass))
45
#define EKIGA_IS_DIALPAD(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), EKIGA_TYPE_DIALPAD))
46
#define EKIGA_IS_DIALPAD_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), EKIGA_TYPE_DIALPAD))
47
#define EKIGA_DIALPAD_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), EKIGA_TYPE_DIALPAD, EkigaDialpadClass))
49
typedef struct _EkigaDialpad EkigaDialpad;
50
typedef struct _EkigaDialpadPrivate EkigaDialpadPrivate;
51
typedef struct _EkigaDialpadClass EkigaDialpadClass;
56
EkigaDialpadPrivate *priv;
59
struct _EkigaDialpadClass
61
GtkTableClass parent_class;
63
void (* button_clicked) (EkigaDialpad *dialpad, const gchar *button);
66
GType ekiga_dialpad_get_type (void) G_GNUC_CONST;
67
GtkWidget *ekiga_dialpad_new (GtkAccelGroup *accel_group);
69
guint ekiga_dialpad_get_button_code (EkigaDialpad *dialpad,
74
#endif /* __EKIGA_DIALPAD_H__ */
76
/* ex:set ts=2 sw=2 et: */