1 /* poppler-movie.h: glib interface to Movie 2 * 3 * Copyright (C) 2010 Carlos Garcia Campos <carlosgc@gnome.org> 4 * Copyright (C) 2008 Hugo Mercier <hmercier31[@]gmail.com> 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, or (at your option) 9 * 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 #ifndef __POPPLER_MOVIE_H__ 22 #define __POPPLER_MOVIE_H__ 23 24 #include <glib-object.h> 25 #include "poppler.h" 26 27 G_BEGIN_DECLS 28 29 #define POPPLER_TYPE_MOVIE (poppler_movie_get_type ()) 30 #define POPPLER_MOVIE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), POPPLER_TYPE_MOVIE, PopplerMovie)) 31 #define POPPLER_IS_MOVIE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), POPPLER_TYPE_MOVIE)) 32 33 34 GType poppler_movie_get_type (void) G_GNUC_CONST; 35 const gchar *poppler_movie_get_filename (PopplerMovie *poppler_movie); 36 gboolean poppler_movie_need_poster (PopplerMovie *poppler_movie); 37 gboolean poppler_movie_show_controls (PopplerMovie *poppler_movie); 38 39 G_END_DECLS 40 41 #endif /* __POPPLER_MOVIE_H__ */ 42 43