~noskcaj/ubuntu/trusty/gnome-documents/3.10.2

« back to all changes in this revision

Viewing changes to src/lib/gd-places-bookmarks.h

  • Committer: Package Import Robot
  • Author(s): Andreas Henriksson, Thomas Bechtold
  • Date: 2013-04-04 13:32:08 UTC
  • mfrom: (3.1.4 experimental)
  • Revision ID: package-import@ubuntu.com-20130404133208-n19gqczi05z31ogb
Tags: 3.8.0-1
[ Thomas Bechtold ]
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8;  -*-
 
2
 *
 
3
 *  Copyright (C) 2010 Carlos Garcia Campos  <carlosgc@gnome.org>
 
4
 *  Copyright (C) 2013 Red Hat, Inc.
 
5
 *
 
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)
 
9
 *  any later version.
 
10
 *
 
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.
 
15
 *
 
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.
 
19
 */
 
20
 
 
21
#ifndef __GD_PLACES_BOOKMARKS_H__
 
22
#define __GD_PLACES_BOOKMARKS_H__
 
23
 
 
24
#include <gtk/gtk.h>
 
25
#include <glib-object.h>
 
26
 
 
27
#include "gd-bookmarks.h"
 
28
 
 
29
G_BEGIN_DECLS
 
30
 
 
31
typedef struct _GdPlacesBookmarks        GdPlacesBookmarks;
 
32
typedef struct _GdPlacesBookmarksClass   GdPlacesBookmarksClass;
 
33
typedef struct _GdPlacesBookmarksPrivate GdPlacesBookmarksPrivate;
 
34
 
 
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))
 
41
 
 
42
struct _GdPlacesBookmarks {
 
43
        GtkBox base_instance;
 
44
 
 
45
        GdPlacesBookmarksPrivate *priv;
 
46
};
 
47
 
 
48
struct _GdPlacesBookmarksClass {
 
49
        GtkBoxClass base_class;
 
50
};
 
51
 
 
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);
 
56
G_END_DECLS
 
57
 
 
58
#endif /* __GD_PLACES_BOOKMARKS_H__ */