2
* Photos - access, organize and share your photos on GNOME
3
* Copyright © 2012, 2013 Red Hat, Inc.
5
* This program is free software; you can redistribute it and/or
6
* modify it under the terms of the GNU General Public License
7
* as published by the Free Software Foundation; either version 2
8
* of the License, or (at your option) any later version.
10
* This program is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
15
* You should have received a copy of the GNU General Public License
16
* along with this program; if not, write to the Free Software
17
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
21
/* Based on code from:
25
#ifndef PHOTOS_OFFSET_FAVORITES_CONTROLLER_H
26
#define PHOTOS_OFFSET_FAVORITES_CONTROLLER_H
28
#include "photos-offset-controller.h"
32
#define PHOTOS_TYPE_OFFSET_FAVORITES_CONTROLLER (photos_offset_favorites_controller_get_type ())
34
#define PHOTOS_OFFSET_FAVORITES_CONTROLLER(obj) \
35
(G_TYPE_CHECK_INSTANCE_CAST ((obj), \
36
PHOTOS_TYPE_OFFSET_FAVORITES_CONTROLLER, PhotosOffsetFavoritesController))
38
#define PHOTOS_OFFSET_FAVORITES_CONTROLLER_CLASS(klass) \
39
(G_TYPE_CHECK_CLASS_CAST ((klass), \
40
PHOTOS_TYPE_OFFSET_FAVORITES_CONTROLLER, PhotosOffsetFavoritesControllerClass))
42
#define PHOTOS_IS_OFFSET_FAVORITES_CONTROLLER(obj) \
43
(G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
44
PHOTOS_TYPE_OFFSET_FAVORITES_CONTROLLER))
46
#define PHOTOS_IS_OFFSET_FAVORITES_CONTROLLER_CLASS(klass) \
47
(G_TYPE_CHECK_CLASS_TYPE ((klass), \
48
PHOTOS_TYPE_OFFSET_FAVORITES_CONTROLLER))
50
#define PHOTOS_OFFSET_FAVORITES_CONTROLLER_GET_CLASS(obj) \
51
(G_TYPE_INSTANCE_GET_CLASS ((obj), \
52
PHOTOS_TYPE_OFFSET_FAVORITES_CONTROLLER, PhotosOffsetFavoritesControllerClass))
54
typedef struct _PhotosOffsetFavoritesController PhotosOffsetFavoritesController;
55
typedef struct _PhotosOffsetFavoritesControllerClass PhotosOffsetFavoritesControllerClass;
56
typedef struct _PhotosOffsetFavoritesControllerPrivate PhotosOffsetFavoritesControllerPrivate;
58
struct _PhotosOffsetFavoritesController
60
PhotosOffsetController parent_instance;
61
PhotosOffsetFavoritesControllerPrivate *priv;
64
struct _PhotosOffsetFavoritesControllerClass
66
PhotosOffsetControllerClass parent_class;
69
GType photos_offset_favorites_controller_get_type (void) G_GNUC_CONST;
71
PhotosOffsetController *photos_offset_favorites_controller_dup_singleton (void);
75
#endif /* PHOTOS_OFFSET_FAVORITES_CONTROLLER_H */