Blame libgweather/gweather-timezone-menu.h

rpm-build ca2b01
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 4 -*- */
rpm-build ca2b01
/* timezone-menu.h - Timezone-selecting menu
rpm-build ca2b01
 *
rpm-build ca2b01
 * Copyright 2008, Red Hat, Inc.
rpm-build ca2b01
 *
rpm-build ca2b01
 * This library is free software; you can redistribute it and/or
rpm-build ca2b01
 * modify it under the terms of the GNU Lesser General Public License
rpm-build ca2b01
 * as published by the Free Software Foundation; either version 2.1 of
rpm-build ca2b01
 * the License, or (at your option) any later version.
rpm-build ca2b01
 *
rpm-build ca2b01
 * This library is distributed in the hope that it will be useful, but
rpm-build ca2b01
 * WITHOUT ANY WARRANTY; without even the implied warranty of
rpm-build ca2b01
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
rpm-build ca2b01
 * Lesser General Public License for more details.
rpm-build ca2b01
 *
rpm-build ca2b01
 * You should have received a copy of the GNU Lesser General Public
rpm-build ca2b01
 * License along with this library; if not, see
rpm-build ca2b01
 * <http://www.gnu.org/licenses/>.
rpm-build ca2b01
 */
rpm-build ca2b01
rpm-build ca2b01
#ifndef GWEATHER_TIMEZONE_MENU_H
rpm-build ca2b01
#define GWEATHER_TIMEZONE_MENU_H 1
rpm-build ca2b01
rpm-build ca2b01
#if !(defined(IN_GWEATHER_H) || defined(GWEATHER_COMPILATION))
rpm-build ca2b01
#error "gweather-timezone-menu.h must not be included individually, include gweather.h instead"
rpm-build ca2b01
#endif
rpm-build ca2b01
rpm-build ca2b01
#include <gtk/gtk.h>
rpm-build ca2b01
#include <libgweather/gweather-location.h>
rpm-build ca2b01
rpm-build ca2b01
typedef struct _GWeatherTimezoneMenu GWeatherTimezoneMenu;
rpm-build ca2b01
typedef struct _GWeatherTimezoneMenuClass GWeatherTimezoneMenuClass;
rpm-build ca2b01
rpm-build ca2b01
#define GWEATHER_TYPE_TIMEZONE_MENU            (gweather_timezone_menu_get_type ())
rpm-build ca2b01
#define GWEATHER_TIMEZONE_MENU(object)         (G_TYPE_CHECK_INSTANCE_CAST ((object), GWEATHER_TYPE_TIMEZONE_MENU, GWeatherTimezoneMenu))
rpm-build ca2b01
#define GWEATHER_TIMEZONE_MENU_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), GWEATHER_TYPE_TIMEZONE_MENU, GWeatherTimezoneMenuClass))
rpm-build ca2b01
#define GWEATHER_IS_TIMEZONE_MENU(object)      (G_TYPE_CHECK_INSTANCE_TYPE ((object), GWEATHER_TYPE_TIMEZONE_MENU))
rpm-build ca2b01
#define GWEATHER_IS_TIMEZONE_MENU_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GWEATHER_TYPE_TIMEZONE_MENU))
rpm-build ca2b01
#define GWEATHER_TIMEZONE_MENU_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS ((obj), GWEATHER_TYPE_TIMEZONE_MENU, GWeatherTimezoneMenuClass))
rpm-build ca2b01
rpm-build ca2b01
struct _GWeatherTimezoneMenu {
rpm-build ca2b01
    GtkComboBox parent;
rpm-build ca2b01
rpm-build ca2b01
    /*< private >*/
rpm-build ca2b01
    GWeatherTimezone *zone;
rpm-build ca2b01
};
rpm-build ca2b01
rpm-build ca2b01
struct _GWeatherTimezoneMenuClass {
rpm-build ca2b01
    GtkComboBoxClass parent_class;
rpm-build ca2b01
rpm-build ca2b01
};
rpm-build ca2b01
rpm-build ca2b01
GWEATHER_EXTERN
rpm-build ca2b01
GType       gweather_timezone_menu_get_type         (void);
rpm-build ca2b01
rpm-build ca2b01
GWEATHER_EXTERN
rpm-build ca2b01
GtkWidget  *gweather_timezone_menu_new              (GWeatherLocation     *top);
rpm-build ca2b01
rpm-build ca2b01
GWEATHER_EXTERN
rpm-build ca2b01
void        gweather_timezone_menu_set_tzid         (GWeatherTimezoneMenu *menu,
rpm-build ca2b01
						     const char           *tzid);
rpm-build ca2b01
GWEATHER_EXTERN
rpm-build ca2b01
const char *gweather_timezone_menu_get_tzid         (GWeatherTimezoneMenu *menu);
rpm-build ca2b01
rpm-build ca2b01
#endif