1
/* bg-colors-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, write to the Free Software
17
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19
* Author: Thomas Wood <thomas.wood@intel.com>
23
#ifndef _BG_COLORS_SOURCE_H
24
#define _BG_COLORS_SOURCE_H
27
#include "bg-source.h"
31
#define BG_TYPE_COLORS_SOURCE bg_colors_source_get_type()
33
#define BG_COLORS_SOURCE(obj) \
34
(G_TYPE_CHECK_INSTANCE_CAST ((obj), \
35
BG_TYPE_COLORS_SOURCE, BgColorsSource))
37
#define BG_COLORS_SOURCE_CLASS(klass) \
38
(G_TYPE_CHECK_CLASS_CAST ((klass), \
39
BG_TYPE_COLORS_SOURCE, BgColorsSourceClass))
41
#define BG_IS_COLORS_SOURCE(obj) \
42
(G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
43
BG_TYPE_COLORS_SOURCE))
45
#define BG_IS_COLORS_SOURCE_CLASS(klass) \
46
(G_TYPE_CHECK_CLASS_TYPE ((klass), \
47
BG_TYPE_COLORS_SOURCE))
49
#define BG_COLORS_SOURCE_GET_CLASS(obj) \
50
(G_TYPE_INSTANCE_GET_CLASS ((obj), \
51
BG_TYPE_COLORS_SOURCE, BgColorsSourceClass))
53
typedef struct _BgColorsSource BgColorsSource;
54
typedef struct _BgColorsSourceClass BgColorsSourceClass;
56
struct _BgColorsSource
61
struct _BgColorsSourceClass
63
BgSourceClass parent_class;
66
GType bg_colors_source_get_type (void) G_GNUC_CONST;
68
BgColorsSource *bg_colors_source_new (void);
72
#endif /* _BG_COLORS_SOURCE_H */