]> www.fi.muni.cz Git - evince.git/blob - shell/ev-media-player-keys.h
[dualscreen] fix crash on ctrl+w and fix control window closing
[evince.git] / shell / ev-media-player-keys.h
1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2 /* 
3  * Copyright (C) 2007 Jan Arne Petersen <jap@gnome.org>
4  * Copyright (C) 2008 Bastien Nocera <hadess@hadess.net>
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, write to the Free Software
18  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301  USA.
19  *
20  */
21
22 #ifndef EV_MEDIA_PLAYER_KEYS_H
23 #define EV_MEDIA_PLAYER_KEYS_H
24
25 #include <glib-object.h>
26 #include <gio/gio.h>
27
28 G_BEGIN_DECLS
29
30 #define EV_TYPE_MEDIA_PLAYER_KEYS               (ev_media_player_keys_get_type ())
31 #define EV_MEDIA_PLAYER_KEYS(o)                 (G_TYPE_CHECK_INSTANCE_CAST ((o), EV_TYPE_MEDIA_PLAYER_KEYS, EvMediaPlayerKeys))
32 #define EV_MEDIA_PLAYER_KEYS_CLASS(k)           (G_TYPE_CHECK_CLASS_CAST((k), EV_TYPE_MEDIA_PLAYER_KEYS, EvMediaPlayerKeysClass))
33 #define EV_IS_MEDIA_PLAYER_KEYS(o)              (G_TYPE_CHECK_INSTANCE_TYPE ((o), EV_TYPE_MEDIA_PLAYER_KEYS))
34 #define EV_IS_MEDIA_PLAYER_KEYS_CLASS(k)        (G_TYPE_CHECK_CLASS_TYPE ((k), EV_TYPE_MEDIA_PLAYER_KEYS))
35 #define EV_MEDIA_PLAYER_KEYS_GET_CLASS(o)       (G_TYPE_INSTANCE_GET_CLASS ((o), EV_TYPE_MEDIA_PLAYER_KEYS, EvMediaPlayerKeysClass))
36
37 typedef struct _EvMediaPlayerKeys EvMediaPlayerKeys;
38 typedef struct _EvMediaPlayerKeysClass EvMediaPlayerKeysClass;
39
40
41 GType              ev_media_player_keys_get_type  (void) G_GNUC_CONST;
42
43 EvMediaPlayerKeys *ev_media_player_keys_new       (void);
44
45 void               ev_media_player_keys_focused   (EvMediaPlayerKeys *keys);
46
47 G_END_DECLS
48
49 #endif /* !EV_MEDIA_PLAYER_KEYS_H */