1
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8; -*-
3
* Copyright (C) 2010 Carlos Garcia Campos <carlosgc@gnome.org>
4
* Copyright (C) 2013 Red Hat, Inc.
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, or (at your option)
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.
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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21
#ifndef __GD_PLACES_BOOKMARKS_H__
22
#define __GD_PLACES_BOOKMARKS_H__
25
#include <glib-object.h>
27
#include "gd-bookmarks.h"
31
typedef struct _GdPlacesBookmarks GdPlacesBookmarks;
32
typedef struct _GdPlacesBookmarksClass GdPlacesBookmarksClass;
33
typedef struct _GdPlacesBookmarksPrivate GdPlacesBookmarksPrivate;
35
#define GD_TYPE_PLACES_BOOKMARKS (gd_places_bookmarks_get_type())
36
#define GD_PLACES_BOOKMARKS(object) (G_TYPE_CHECK_INSTANCE_CAST((object), GD_TYPE_PLACES_BOOKMARKS, GdPlacesBookmarks))
37
#define GD_PLACES_BOOKMARKS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GD_TYPE_PLACES_BOOKMARKS, GdPlacesBookmarksClass))
38
#define GD_IS_PLACES_BOOKMARKS(object) (G_TYPE_CHECK_INSTANCE_TYPE((object), GD_TYPE_PLACES_BOOKMARKS))
39
#define GD_IS_PLACES_BOOKMARKS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GD_TYPE_PLACES_BOOKMARKS))
40
#define GD_PLACES_BOOKMARKS_GET_CLASS(object) (G_TYPE_INSTANCE_GET_CLASS((object), GD_TYPE_PLACES_BOOKMARKS, GdPlacesBookmarksClass))
42
struct _GdPlacesBookmarks {
45
GdPlacesBookmarksPrivate *priv;
48
struct _GdPlacesBookmarksClass {
49
GtkBoxClass base_class;
52
GType gd_places_bookmarks_get_type (void) G_GNUC_CONST;
53
GtkWidget *gd_places_bookmarks_new (void);
54
void gd_places_bookmarks_set_bookmarks (GdPlacesBookmarks *places_bookmarks,
55
GdBookmarks *bookmarks);
58
#endif /* __GD_PLACES_BOOKMARKS_H__ */