]> git.0d.be Git - empathy.git/blob - libempathy-gtk/empathy-calendar-button.h
debug-window: fix typo
[empathy.git] / libempathy-gtk / empathy-calendar-button.h
1 /*
2  * empathy-calendar-button.h - Header for EmpathyCalendarButton
3  * Copyright (C) 2012 Collabora Ltd.
4  *
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Lesser General Public
7  * License as published by the Free Software Foundation; either
8  * version 2.1 of the License, or (at your option) any later version.
9  *
10  * This library is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13  * Lesser General Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public
16  * License along with this library; if not, write to the Free Software
17  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
18  */
19
20 #ifndef __EMPATHY_CALENDAR_BUTTON_H__
21 #define __EMPATHY_CALENDAR_BUTTON_H__
22
23 #include <glib-object.h>
24 #include <gtk/gtk.h>
25
26 G_BEGIN_DECLS
27
28 typedef struct _EmpathyCalendarButton EmpathyCalendarButton;
29 typedef struct _EmpathyCalendarButtonClass EmpathyCalendarButtonClass;
30 typedef struct _EmpathyCalendarButtonPriv EmpathyCalendarButtonPriv;
31
32 struct _EmpathyCalendarButtonClass {
33     GtkBoxClass parent_class;
34 };
35
36 struct _EmpathyCalendarButton {
37     GtkBox parent;
38     EmpathyCalendarButtonPriv *priv;
39 };
40
41 GType empathy_calendar_button_get_type (void);
42
43 #define EMPATHY_TYPE_CALENDAR_BUTTON \
44   (empathy_calendar_button_get_type ())
45 #define EMPATHY_CALENDAR_BUTTON(obj) \
46   (G_TYPE_CHECK_INSTANCE_CAST((obj), EMPATHY_TYPE_CALENDAR_BUTTON, \
47     EmpathyCalendarButton))
48 #define EMPATHY_CALENDAR_BUTTON_CLASS(klass) \
49   (G_TYPE_CHECK_CLASS_CAST((klass), EMPATHY_TYPE_CALENDAR_BUTTON, \
50   EmpathyCalendarButtonClass))
51 #define EMPATHY_IS_CALENDAR_BUTTON(obj) \
52   (G_TYPE_CHECK_INSTANCE_TYPE((obj), EMPATHY_TYPE_CALENDAR_BUTTON))
53 #define EMPATHY_IS_CALENDAR_BUTTON_CLASS(klass) \
54   (G_TYPE_CHECK_CLASS_TYPE((klass), EMPATHY_TYPE_CALENDAR_BUTTON))
55 #define EMPATHY_CALENDAR_BUTTON_GET_CLASS(obj) \
56   (G_TYPE_INSTANCE_GET_CLASS ((obj), EMPATHY_TYPE_CALENDAR_BUTTON, \
57   EmpathyCalendarButtonClass))
58
59 GtkWidget * empathy_calendar_button_new (void);
60
61 GDate * empathy_calendar_button_get_date (EmpathyCalendarButton *self);
62
63 void empathy_calendar_button_set_date (EmpathyCalendarButton *self,
64     GDate *date);
65
66 G_END_DECLS
67
68 #endif /* #ifndef __EMPATHY_CALENDAR_BUTTON_H__*/