Blame libgnome-desktop/gnome-wall-clock.h

rpm-build 18b009
/* gnome-tz-monitor.h - fade window background between two surfaces
rpm-build 18b009
rpm-build 18b009
   Copyright 2008, Red Hat, Inc.
rpm-build 18b009
   Copyright 2011, Red Hat, Inc.
rpm-build 18b009
rpm-build 18b009
   This file is part of the Gnome Library.
rpm-build 18b009
rpm-build 18b009
   The Gnome Library is free software; you can redistribute it and/or
rpm-build 18b009
   modify it under the terms of the GNU Library General Public License as
rpm-build 18b009
   published by the Free Software Foundation; either version 2 of the
rpm-build 18b009
   License, or (at your option) any later version.
rpm-build 18b009
rpm-build 18b009
   The Gnome Library is distributed in the hope that it will be useful,
rpm-build 18b009
   but WITHOUT ANY WARRANTY; without even the implied warranty of
rpm-build 18b009
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
rpm-build 18b009
   Library General Public License for more details.
rpm-build 18b009
rpm-build 18b009
   You should have received a copy of the GNU Library General Public
rpm-build 18b009
   License along with the Gnome Library; see the file COPYING.LIB.  If not,
rpm-build 18b009
   write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
rpm-build 18b009
   Boston, MA 02110-1301, USA.
rpm-build 18b009
rpm-build 18b009
   Author: Colin Walters <walters@verbum.org>
rpm-build 18b009
*/
rpm-build 18b009
rpm-build 18b009
#ifndef __GNOME_WALL_CLOCK_H__
rpm-build 18b009
#define __GNOME_WALL_CLOCK_H__
rpm-build 18b009
rpm-build 18b009
#ifndef GNOME_DESKTOP_USE_UNSTABLE_API
rpm-build 18b009
#error    This is unstable API. You must define GNOME_DESKTOP_USE_UNSTABLE_API before including gnome-wall-clock.h
rpm-build 18b009
#endif
rpm-build 18b009
rpm-build 18b009
#include <gio/gio.h>
rpm-build 18b009
#include <gdesktop-enums.h>
rpm-build 18b009
rpm-build 18b009
G_BEGIN_DECLS
rpm-build 18b009
rpm-build 18b009
#define GNOME_TYPE_WALL_CLOCK            (gnome_wall_clock_get_type ())
rpm-build 18b009
#define GNOME_WALL_CLOCK(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), GNOME_TYPE_WALL_CLOCK, GnomeWallClock))
rpm-build 18b009
#define GNOME_WALL_CLOCK_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST ((klass),  GNOME_TYPE_WALL_CLOCK, GnomeWallClockClass))
rpm-build 18b009
#define GNOME_IS_WALL_CLOCK(obj)         (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GNOME_TYPE_WALL_CLOCK))
rpm-build 18b009
#define GNOME_IS_WALL_CLOCK_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass),  GNOME_TYPE_WALL_CLOCK))
rpm-build 18b009
#define GNOME_WALL_CLOCK_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS ((obj),  GNOME_TYPE_WALL_CLOCK, GnomeWallClockClass))
rpm-build 18b009
rpm-build 18b009
typedef struct _GnomeWallClockPrivate GnomeWallClockPrivate;
rpm-build 18b009
typedef struct _GnomeWallClock GnomeWallClock;
rpm-build 18b009
typedef struct _GnomeWallClockClass GnomeWallClockClass;
rpm-build 18b009
rpm-build 18b009
struct _GnomeWallClock
rpm-build 18b009
{
rpm-build 18b009
	GObject parent_object;
rpm-build 18b009
rpm-build 18b009
	GnomeWallClockPrivate *priv;
rpm-build 18b009
};
rpm-build 18b009
rpm-build 18b009
struct _GnomeWallClockClass
rpm-build 18b009
{
rpm-build 18b009
	GObjectClass parent_class;
rpm-build 18b009
};
rpm-build 18b009
rpm-build 18b009
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GnomeWallClock, g_object_unref)
rpm-build 18b009
rpm-build 18b009
GType             gnome_wall_clock_get_type      (void);
rpm-build 18b009
rpm-build 18b009
GnomeWallClock *  gnome_wall_clock_new           (void);
rpm-build 18b009
rpm-build 18b009
const char *      gnome_wall_clock_get_clock     (GnomeWallClock *clock);
rpm-build 18b009
rpm-build 18b009
GTimeZone *       gnome_wall_clock_get_timezone  (GnomeWallClock *clock);
rpm-build 18b009
rpm-build 18b009
char *            gnome_wall_clock_string_for_datetime (GnomeWallClock      *self,
rpm-build 18b009
							GDateTime           *now,
rpm-build 18b009
							GDesktopClockFormat  clock_format,
rpm-build 18b009
							gboolean             show_weekday,
rpm-build 18b009
							gboolean             show_full_date,
rpm-build 18b009
							gboolean             show_seconds);
rpm-build 18b009
rpm-build 18b009
G_END_DECLS
rpm-build 18b009
rpm-build 18b009
#endif