~ubuntu-branches/ubuntu/trusty/unity-control-center/trusty

« back to all changes in this revision

Viewing changes to panels/appearance/bg-colors-source.h

  • Committer: Package Import Robot
  • Author(s): Robert Ancell
  • Date: 2014-01-08 16:29:18 UTC
  • Revision ID: package-import@ubuntu.com-20140108162918-g29dd08tr913y2qh
Tags: upstream-14.04.0
ImportĀ upstreamĀ versionĀ 14.04.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* bg-colors-source.h */
 
2
/*
 
3
 * Copyright (C) 2010 Intel, Inc
 
4
 *
 
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.
 
9
 *
 
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.
 
14
 *
 
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/>.
 
17
 *
 
18
 * Author: Thomas Wood <thomas.wood@intel.com>
 
19
 *
 
20
 */
 
21
 
 
22
#ifndef _BG_COLORS_SOURCE_H
 
23
#define _BG_COLORS_SOURCE_H
 
24
 
 
25
#include <gtk/gtk.h>
 
26
#include "bg-source.h"
 
27
 
 
28
G_BEGIN_DECLS
 
29
 
 
30
#define BG_TYPE_COLORS_SOURCE bg_colors_source_get_type()
 
31
 
 
32
#define BG_COLORS_SOURCE(obj) \
 
33
  (G_TYPE_CHECK_INSTANCE_CAST ((obj), \
 
34
  BG_TYPE_COLORS_SOURCE, BgColorsSource))
 
35
 
 
36
#define BG_COLORS_SOURCE_CLASS(klass) \
 
37
  (G_TYPE_CHECK_CLASS_CAST ((klass), \
 
38
  BG_TYPE_COLORS_SOURCE, BgColorsSourceClass))
 
39
 
 
40
#define BG_IS_COLORS_SOURCE(obj) \
 
41
  (G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
 
42
  BG_TYPE_COLORS_SOURCE))
 
43
 
 
44
#define BG_IS_COLORS_SOURCE_CLASS(klass) \
 
45
  (G_TYPE_CHECK_CLASS_TYPE ((klass), \
 
46
  BG_TYPE_COLORS_SOURCE))
 
47
 
 
48
#define BG_COLORS_SOURCE_GET_CLASS(obj) \
 
49
  (G_TYPE_INSTANCE_GET_CLASS ((obj), \
 
50
  BG_TYPE_COLORS_SOURCE, BgColorsSourceClass))
 
51
 
 
52
typedef struct _BgColorsSource BgColorsSource;
 
53
typedef struct _BgColorsSourceClass BgColorsSourceClass;
 
54
 
 
55
struct _BgColorsSource
 
56
{
 
57
  BgSource parent;
 
58
};
 
59
 
 
60
struct _BgColorsSourceClass
 
61
{
 
62
  BgSourceClass parent_class;
 
63
};
 
64
 
 
65
GType bg_colors_source_get_type (void) G_GNUC_CONST;
 
66
 
 
67
BgColorsSource *bg_colors_source_new (void);
 
68
 
 
69
G_END_DECLS
 
70
 
 
71
#endif /* _BG_COLORS_SOURCE_H */