source: proiecte/PPPP/gdm/gui/simple-greeter/gdm-clock-widget.h @ 134

Last change on this file since 134 was 134, checked in by (none), 14 years ago

gdm sources with the modifications for webcam

File size: 2.1 KB
Line 
1/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*-
2 *
3 * Copyright (C) 2008 Red Hat, Inc.
4 * Copyright (C) 2007 Jon McCann <mccann@jhu.edu>
5 *
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.
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
14 * GNU General Public License for more details.
15 *
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.
19 *
20 *  Written by: Ray Strode <rstrode@redhat.com>
21 *              Jon McCann <mccann@jhu.edu>
22 */
23
24#ifndef __GDM_CLOCK_WIDGET_H
25#define __GDM_CLOCK_WIDGET_H
26
27#include <glib-object.h>
28
29#include <gtk/gtk.h>
30
31G_BEGIN_DECLS
32
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))
39
40typedef struct GdmClockWidgetPrivate GdmClockWidgetPrivate;
41
42typedef struct
43{
44        GtkAlignment           parent;
45        GdmClockWidgetPrivate *priv;
46} GdmClockWidget;
47
48typedef struct
49{
50        GtkAlignmentClass              parent_class;
51} GdmClockWidgetClass;
52
53GType                  gdm_clock_widget_get_type               (void);
54GtkWidget *            gdm_clock_widget_new                    (void);
55
56#endif /* __GDM_CLOCK_WIDGET_H */
Note: See TracBrowser for help on using the repository browser.