~ubuntu-branches/debian/sid/cheese/sid

« back to all changes in this revision

Viewing changes to libcheese/cheese-effect.h

  • Committer: Bazaar Package Importer
  • Author(s): Laurent Bigonville
  • Date: 2011-07-17 21:04:16 UTC
  • mfrom: (15.1.1 experimental)
  • Revision ID: james.westby@ubuntu.com-20110717210416-nt5qi659qei7a2yy
Tags: 3.0.1-2
* debian/control.in:
  - Change gir1.2-cheese-3.0 Section to libs
  - Make library packages depend against cheese-common package
  - Make cheese package recommends against hicolor-icon-theme
  - Move gst Dependency to libcheese package
* debian/patches/0002-fix-linking.patch: Add missing library to fix linking
* debian/watch:
  - Switch to .bz2 tarballs.
  - Bump version to 3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright © 2010 Yuvaraj Pandian T <yuvipanda@yuvi.in>
 
3
 *
 
4
 * Licensed under the GNU General Public License Version 2
 
5
 *
 
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.
 
10
 *
 
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.
 
15
 *
 
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/>.
 
18
 */
 
19
 
 
20
#ifndef _CHEESE_EFFECT_H_
 
21
#define _CHEESE_EFFECT_H_
 
22
 
 
23
#include <glib-object.h>
 
24
 
 
25
G_BEGIN_DECLS
 
26
 
 
27
#define CHEESE_TYPE_EFFECT cheese_effect_get_type ()
 
28
 
 
29
#define CHEESE_EFFECT(obj) \
 
30
  (G_TYPE_CHECK_INSTANCE_CAST ((obj), CHEESE_TYPE_EFFECT, CheeseEffect))
 
31
 
 
32
#define CHEESE_EFFECT_CLASS(klass) \
 
33
  (G_TYPE_CHECK_CLASS_CAST ((klass), CHEESE_TYPE_EFFECT, CheeseEffectClass))
 
34
 
 
35
#define CHEESE_IS_EFFECT(obj) \
 
36
  (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CHEESE_TYPE_EFFECT))
 
37
 
 
38
#define CHEESE_IS_EFFECT_CLASS(klass) \
 
39
  (G_TYPE_CHECK_CLASS_TYPE ((klass), CHEESE_TYPE_EFFECT))
 
40
 
 
41
#define CHEESE_EFFECT_GET_CLASS(obj) \
 
42
  (G_TYPE_INSTANCE_GET_CLASS ((obj), CHEESE_TYPE_EFFECT, CheeseEffectClass))
 
43
 
 
44
typedef struct
 
45
{
 
46
  GObject parent;
 
47
} CheeseEffect;
 
48
 
 
49
typedef struct
 
50
{
 
51
  GObjectClass parent_class;
 
52
} CheeseEffectClass;
 
53
 
 
54
GType cheese_effect_get_type (void);
 
55
 
 
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);
 
60
 
 
61
G_END_DECLS
 
62
 
 
63
#endif /* _CHEESE_EFFECT_H_ */