2
* Copyright © 2010 Yuvaraj Pandian T <yuvipanda@yuvi.in>
4
* Licensed under the GNU General Public License Version 2
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 of the License, or
9
* (at your option) any later version.
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.
16
* You should have received a copy of the GNU General Public License
17
* along with this program. If not, see <http://www.gnu.org/licenses/>.
20
#ifndef _CHEESE_EFFECT_H_
21
#define _CHEESE_EFFECT_H_
23
#include <glib-object.h>
27
#define CHEESE_TYPE_EFFECT cheese_effect_get_type ()
29
#define CHEESE_EFFECT(obj) \
30
(G_TYPE_CHECK_INSTANCE_CAST ((obj), CHEESE_TYPE_EFFECT, CheeseEffect))
32
#define CHEESE_EFFECT_CLASS(klass) \
33
(G_TYPE_CHECK_CLASS_CAST ((klass), CHEESE_TYPE_EFFECT, CheeseEffectClass))
35
#define CHEESE_IS_EFFECT(obj) \
36
(G_TYPE_CHECK_INSTANCE_TYPE ((obj), CHEESE_TYPE_EFFECT))
38
#define CHEESE_IS_EFFECT_CLASS(klass) \
39
(G_TYPE_CHECK_CLASS_TYPE ((klass), CHEESE_TYPE_EFFECT))
41
#define CHEESE_EFFECT_GET_CLASS(obj) \
42
(G_TYPE_INSTANCE_GET_CLASS ((obj), CHEESE_TYPE_EFFECT, CheeseEffectClass))
51
GObjectClass parent_class;
54
GType cheese_effect_get_type (void);
56
CheeseEffect *cheese_effect_new (void);
57
gboolean cheese_effect_is_preview_connected (CheeseEffect *self);
58
void cheese_effect_enable_preview (CheeseEffect *self);
59
void cheese_effect_disable_preview (CheeseEffect *self);
63
#endif /* _CHEESE_EFFECT_H_ */