Update Chinese (Taiwan) translation
[cheese.git] / libcheese / cheese-effect.h
bloba09ac7a19abd892d820281cbb67b817ee1cc69ef
1 /*
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>
25 G_BEGIN_DECLS
27 /**
28 * CheeseEffect:
30 * Use the accessor functions below.
32 struct _CheeseEffect
34 /*< private >*/
35 GObject parent;
36 void *unused;
39 #define CHEESE_TYPE_EFFECT cheese_effect_get_type ()
40 G_DECLARE_FINAL_TYPE (CheeseEffect, cheese_effect, CHEESE, EFFECT, GObject)
42 CheeseEffect *cheese_effect_new (const gchar *name,
43 const gchar *pipeline_desc);
44 const gchar * cheese_effect_get_name (CheeseEffect *effect);
45 const gchar * cheese_effect_get_pipeline_desc (CheeseEffect *effect);
46 gboolean cheese_effect_is_preview_connected (CheeseEffect *effect);
47 void cheese_effect_enable_preview (CheeseEffect *effect);
48 void cheese_effect_disable_preview (CheeseEffect *effect);
50 CheeseEffect *cheese_effect_load_from_file (const gchar *filename);
51 GList *cheese_effect_load_effects (void);
53 G_END_DECLS
55 #endif /* CHEESE_EFFECT_H_ */