1
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*-
3
* Copyright (C) 2008 Red Hat, Inc.
4
* Copyright (C) 2007 Jon McCann <mccann@jhu.edu>
6
* This program is free software; you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License as published by
8
* the Free Software Foundation; either version 2 of the License, or
9
* (at your option) any later version.
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
14
* GNU General Public License for more details.
16
* You should have received a copy of the GNU General Public License
17
* along with this program; if not, write to the Free Software
18
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
20
* Written by: Ray Strode <rstrode@redhat.com>
21
* Jon McCann <mccann@jhu.edu>
24
#ifndef __GDM_CLOCK_WIDGET_H
25
#define __GDM_CLOCK_WIDGET_H
27
#include <glib-object.h>
33
#define GDM_TYPE_CLOCK_WIDGET (gdm_clock_widget_get_type ())
34
#define GDM_CLOCK_WIDGET(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GDM_TYPE_CLOCK_WIDGET, GdmClockWidget))
35
#define GDM_CLOCK_WIDGET_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), GDM_TYPE_CLOCK_WIDGET, GdmClockWidgetClass))
36
#define GDM_IS_CLOCK_WIDGET(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GDM_TYPE_CLOCK_WIDGET))
37
#define GDM_IS_CLOCK_WIDGET_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GDM_TYPE_CLOCK_WIDGET))
38
#define GDM_CLOCK_WIDGET_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GDM_TYPE_CLOCK_WIDGET, GdmClockWidgetClass))
40
typedef struct GdmClockWidgetPrivate GdmClockWidgetPrivate;
45
GdmClockWidgetPrivate *priv;
50
GtkAlignmentClass parent_class;
51
} GdmClockWidgetClass;
53
GType gdm_clock_widget_get_type (void);
54
GtkWidget * gdm_clock_widget_new (void);
56
#endif /* __GDM_CLOCK_WIDGET_H */