1 /* poppler-layer.h: glib interface to poppler 2 * 3 * Copyright (C) 2008 Carlos Garcia Campos <carlosgc@gnome.org> 4 * 5 * This program is free software; you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License as published by 7 * the Free Software Foundation; either version 2, or (at your option) 8 * any later version. 9 * 10 * This program is distributed in the hope that it will be useful, 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 * GNU General Public License for more details. 14 * 15 * You should have received a copy of the GNU General Public License 16 * along with this program; if not, write to the Free Software 17 * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. 18 */ 19 20 #ifndef __POPPLER_LAYER_H__ 21 #define __POPPLER_LAYER_H__ 22 23 #include <glib-object.h> 24 #include "poppler.h" 25 26 G_BEGIN_DECLS 27 28 #define POPPLER_TYPE_LAYER (poppler_layer_get_type()) 29 #define POPPLER_LAYER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), POPPLER_TYPE_LAYER, PopplerLayer)) 30 #define POPPLER_IS_LAYER(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), POPPLER_TYPE_LAYER)) 31 32 POPPLER_PUBLIC 33 GType poppler_layer_get_type(void) G_GNUC_CONST; 34 35 POPPLER_PUBLIC 36 const gchar *poppler_layer_get_title(PopplerLayer *layer); 37 POPPLER_PUBLIC 38 gboolean poppler_layer_is_visible(PopplerLayer *layer); 39 POPPLER_PUBLIC 40 void poppler_layer_show(PopplerLayer *layer); 41 POPPLER_PUBLIC 42 void poppler_layer_hide(PopplerLayer *layer); 43 POPPLER_PUBLIC 44 gboolean poppler_layer_is_parent(PopplerLayer *layer); 45 POPPLER_PUBLIC 46 gint poppler_layer_get_radio_button_group_id(PopplerLayer *layer); 47 48 G_END_DECLS 49 50 #endif /* __POPPLER_LAYER_H__ */ 51