1 /* gnome-rr.h
2  *
3  * Copyright 2011, Red Hat, Inc.
4  *
5  * This file is part of the Gnome Library.
6  *
7  * The Gnome Library is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU Library General Public License as
9  * published by the Free Software Foundation; either version 2 of the
10  * License, or (at your option) any later version.
11  *
12  * The Gnome Library is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15  * Library General Public License for more details.
16  *
17  * You should have received a copy of the GNU Library General Public
18  * License along with the Gnome Library; see the file COPYING.LIB.  If not,
19  * write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
20  * Boston, MA 02110-1301, USA.
21  *
22  * Author: Colin Walters <walters@verbum.org>
23  */
24 
25 #ifndef GNOME_DATETIME_SOURCE_H
26 #define GNOME_DATETIME_SOURCE_H
27 
28 #ifndef GNOME_DESKTOP_USE_UNSTABLE_API
29 #error    This is unstable API. You must define GNOME_DESKTOP_USE_UNSTABLE_API
30 #endif
31 
32 #include <glib.h>
33 
34 GSource *_gnome_datetime_source_new (GDateTime *now,
35 				     GDateTime *expiry,
36 				     gboolean   cancel_on_set);
37 
38 #endif /* GNOME_DATETIME_SOURCE_H */
39