]> www.fi.muni.cz Git - evince.git/blob - shell/ev-presentation-timer.h
[dualscreen] timer continue, maybe I should remove that text... [dualscreen] cleanup
[evince.git] / shell / ev-presentation-timer.h
1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8; c-indent-level: 8 -*- */
2 /* this file is part of evince, a gnome document viewer
3  *
4  *
5  *  Author:
6  *    Lukas Bezdicka <255993@mail.muni.cz>
7  *
8  * Evince is free software; you can redistribute it and/or modify it
9  * under the terms of the GNU General Public License as published by
10  * the Free Software Foundation; either version 2 of the License, or
11  * (at your option) any later version.
12  *
13  * Evince is distributed in the hope that it will be useful, but
14  * WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16  * General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with this program; if not, write to the Free Software
20  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21  */
22
23 #ifndef _EV_PRESENTATION_TIMER_H_
24 #define _EV_PRESENTATION_TIMER_H_
25
26 G_BEGIN_DECLS
27
28 typedef struct _EvPresentationTimerClass        EvPresentationTimerClass;
29 typedef struct _EvPresentationTimer             EvPresentationTimer;
30 typedef struct _EvPresentationTimerPrivate      EvPresentationTimerPrivate;
31
32 #define EV_TYPE_PRESENTATION_TIMER              (ev_presentation_timer_get_type ())
33 #define EV_PRESENTATION_TIMER(object)           (G_TYPE_CHECK_INSTANCE_CAST ((object), EV_TYPE_PRESENTATION_TIMER, EvPresentationTimer))
34 #define EV_PRESENTATION_TIMER_CLASS(klass)      (G_TYPE_CHECK_CLASS_CAST ((klass), EV_TYPE_PRESENTATION_TIMER, EvPresentationTimerClass))
35 #define EV_IS_PRESENTATION_TIMER(object)        (G_TYPE_CHECK_INSTANCE_TYPE ((object), EV_TYPE_PRESENTATION_TIMER))
36 #define EV_IS_PRESENTATION_TIMER_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), EV_TYPE_PRESENTATION_TIMER))
37 #define EV_PRESENTATION_TIMER_GET_CLASS(object) (G_TYPE_INSTANCE_GET_CLASS ((object), EV_TYPE_PRESENTATION_TIMER, EvPresentationTimerClass))
38
39 struct _EvPresentationTimerClass
40 {
41         GtkDrawingAreaClass parent_class;
42 };
43
44 struct _EvPresentationTimer
45 {
46         GtkDrawingArea                  parent_instance;
47         EvPresentationTimerPrivate     *priv;
48 };
49
50 void                    ev_presentation_timer_set_pages         (EvPresentationTimer *ev_timer,
51                                                                  guint pages);
52 void                    ev_presentation_timer_set_page          (EvPresentationTimer *ev_timer,
53                                                                  guint page);
54 GType                   ev_presentation_timer_get_type          (void);
55 GtkWidget              *ev_presentation_timer_new               (void);
56
57 G_END_DECLS
58
59 #endif /* _EV_PRESENTATION_TIMER_H_ */