2
* Copyright (c) 2011 Red Hat, Inc.
4
* This program is free software; you can redistribute it and/or modify
5
* it under the terms of the GNU Lesser General Public License as published by
6
* the Free Software Foundation; either version 2 of the License, or (at your
7
* option) any later version.
9
* This program is distributed in the hope that it will be useful, but
10
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
11
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
12
* License for more details.
14
* You should have received a copy of the GNU Lesser General Public License
15
* along with this program; if not, write to the Free Software Foundation,
16
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18
* Author: Cosimo Cecchi <cosimoc@redhat.com>
22
#ifndef __GD_FULLSCREEN_FILTER_H__
23
#define __GD_FULLSCREEN_FILTER_H__
25
#include <glib-object.h>
29
#define GD_TYPE_FULLSCREEN_FILTER gd_fullscreen_filter_get_type()
31
#define GD_FULLSCREEN_FILTER(obj) \
32
(G_TYPE_CHECK_INSTANCE_CAST ((obj), \
33
GD_TYPE_FULLSCREEN_FILTER, GdFullscreenFilter))
35
#define GD_FULLSCREEN_FILTER_CLASS(klass) \
36
(G_TYPE_CHECK_CLASS_CAST ((klass), \
37
GD_TYPE_FULLSCREEN_FILTER, GdFullscreenFilterClass))
39
#define GD_IS_FULLSCREEN_FILTER(obj) \
40
(G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
41
GD_TYPE_FULLSCREEN_FILTER))
43
#define GD_IS_FULLSCREEN_FILTER_CLASS(klass) \
44
(G_TYPE_CHECK_CLASS_TYPE ((klass), \
45
GD_TYPE_FULLSCREEN_FILTER))
47
#define GD_FULLSCREEN_FILTER_GET_CLASS(obj) \
48
(G_TYPE_INSTANCE_GET_CLASS ((obj), \
49
GD_TYPE_FULLSCREEN_FILTER, GdFullscreenFilterClass))
51
typedef struct _GdFullscreenFilter GdFullscreenFilter;
52
typedef struct _GdFullscreenFilterClass GdFullscreenFilterClass;
53
typedef struct _GdFullscreenFilterPrivate GdFullscreenFilterPrivate;
55
struct _GdFullscreenFilter
59
GdFullscreenFilterPrivate *priv;
62
struct _GdFullscreenFilterClass
64
GObjectClass parent_class;
67
GType gd_fullscreen_filter_get_type (void) G_GNUC_CONST;
69
GdFullscreenFilter *gd_fullscreen_filter_new (void);
70
void gd_fullscreen_filter_start (GdFullscreenFilter *self);
71
void gd_fullscreen_filter_stop (GdFullscreenFilter *self);
75
#endif /* __GD_FULLSCREEN_FILTER_H__ */