1
/* bg-flickr-source.h */
3
* Copyright (C) 2010 Intel, Inc
5
* This program is free software; you can redistribute it and/or modify
6
* it under the terms of the GNU General Public License as published by
7
* the Free Software Foundation; either version 2 of the License, or
8
* (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, see <http://www.gnu.org/licenses/>.
18
* Author: Thomas Wood <thomas.wood@intel.com>
22
#ifndef _BG_FLICKR_SOURCE_H
23
#define _BG_FLICKR_SOURCE_H
26
#include "bg-source.h"
30
#define BG_TYPE_FLICKR_SOURCE bg_flickr_source_get_type()
32
#define BG_FLICKR_SOURCE(obj) \
33
(G_TYPE_CHECK_INSTANCE_CAST ((obj), \
34
BG_TYPE_FLICKR_SOURCE, BgFlickrSource))
36
#define BG_FLICKR_SOURCE_CLASS(klass) \
37
(G_TYPE_CHECK_CLASS_CAST ((klass), \
38
BG_TYPE_FLICKR_SOURCE, BgFlickrSourceClass))
40
#define BG_IS_FLICKR_SOURCE(obj) \
41
(G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
42
BG_TYPE_FLICKR_SOURCE))
44
#define BG_IS_FLICKR_SOURCE_CLASS(klass) \
45
(G_TYPE_CHECK_CLASS_TYPE ((klass), \
46
BG_TYPE_FLICKR_SOURCE))
48
#define BG_FLICKR_SOURCE_GET_CLASS(obj) \
49
(G_TYPE_INSTANCE_GET_CLASS ((obj), \
50
BG_TYPE_FLICKR_SOURCE, BgFlickrSourceClass))
52
typedef struct _BgFlickrSource BgFlickrSource;
53
typedef struct _BgFlickrSourceClass BgFlickrSourceClass;
54
typedef struct _BgFlickrSourcePrivate BgFlickrSourcePrivate;
56
struct _BgFlickrSource
60
BgFlickrSourcePrivate *priv;
63
struct _BgFlickrSourceClass
65
BgSourceClass parent_class;
68
GType bg_flickr_source_get_type (void) G_GNUC_CONST;
70
BgFlickrSource *bg_flickr_source_new (void);
74
#endif /* _BG_FLICKR_SOURCE_H */