favorites.h 2.03 KB
Newer Older
1 2 3
/*
 * Copyright (C) 2013 Collabora Ltd.
 *
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License as
 * published by the Free Software Foundation; either version 2 of the
 * License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * General Public License for more details.
 *
 * You should have received a copy of the GNU General Public
 * License along with this program; if not, write to the
 * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
 * Boston, MA  02110-1301  USA
 *
19 20 21
 * Author: Emilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>
 */

22 23
#ifndef __MAYNARD_FAVORITES_H__
#define __MAYNARD_FAVORITES_H__
24 25 26

#include <gtk/gtk.h>

27 28 29 30 31 32
#define MAYNARD_TYPE_FAVORITES                 (maynard_favorites_get_type ())
#define MAYNARD_FAVORITES(obj)                 (G_TYPE_CHECK_INSTANCE_CAST ((obj), MAYNARD_TYPE_FAVORITES, MaynardFavorites))
#define MAYNARD_FAVORITES_CLASS(klass)         (G_TYPE_CHECK_CLASS_CAST ((klass), MAYNARD_TYPE_FAVORITES, MaynardFavoritesClass))
#define MAYNARD_IS_FAVORITES(obj)              (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MAYNARD_TYPE_FAVORITES))
#define MAYNARD_IS_FAVORITES_CLASS(klass)      (G_TYPE_CHECK_CLASS_TYPE ((klass), MAYNARD_TYPE_FAVORITES))
#define MAYNARD_FAVORITES_GET_CLASS(obj)       (G_TYPE_INSTANCE_GET_CLASS ((obj), MAYNARD_TYPE_FAVORITES, MaynardFavoritesClass))
33

34 35 36
typedef struct MaynardFavorites MaynardFavorites;
typedef struct MaynardFavoritesClass MaynardFavoritesClass;
typedef struct MaynardFavoritesPrivate MaynardFavoritesPrivate;
37

38
struct MaynardFavorites
39 40 41
{
  GtkBox parent;

42
  MaynardFavoritesPrivate *priv;
43 44
};

45
struct MaynardFavoritesClass
46 47 48 49
{
  GtkBoxClass parent_class;
};

50 51
GType      maynard_favorites_get_type         (void) G_GNUC_CONST;
GtkWidget *maynard_favorites_new              (void);
52

53
#endif /* __MAYNARD_FAVORITES_H__ */