Evince
Evince is a document viewer capable of displaying multiple and single page document formats like PDF and Postscript.
Main Page
Related Pages
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
ev-sidebar-page.h
Go to the documentation of this file.
1
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8; c-indent-level: 8 -*- */
2
/*
3
* Copyright (C) 2005 Marco Pesenti Gritti
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
21
#ifndef EV_SIDEBAR_PAGE_H
22
#define EV_SIDEBAR_PAGE_H
23
24
#include <glib-object.h>
25
#include <glib.h>
26
27
#include "
ev-document.h
"
28
#include "
ev-document-model.h
"
29
30
G_BEGIN_DECLS
31
32
#define EV_TYPE_SIDEBAR_PAGE (ev_sidebar_page_get_type ())
33
#define EV_SIDEBAR_PAGE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), EV_TYPE_SIDEBAR_PAGE, EvSidebarPage))
34
#define EV_SIDEBAR_PAGE_IFACE(k) (G_TYPE_CHECK_CLASS_CAST((k), EV_TYPE_SIDEBAR_PAGE, EvSidebarPageInterface))
35
#define EV_IS_SIDEBAR_PAGE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), EV_TYPE_SIDEBAR_PAGE))
36
#define EV_IS_SIDEBAR_PAGE_IFACE(k) (G_TYPE_CHECK_CLASS_TYPE ((k), EV_TYPE_SIDEBAR_PAGE))
37
#define EV_SIDEBAR_PAGE_GET_IFACE(inst) (G_TYPE_INSTANCE_GET_INTERFACE ((inst), EV_TYPE_SIDEBAR_PAGE, EvSidebarPageInterface))
38
39
typedef
struct
_EvSidebarPage
EvSidebarPage
;
40
typedef
struct
_EvSidebarPageInterface
EvSidebarPageInterface
;
41
42
struct
_EvSidebarPageInterface
43
{
44
GTypeInterface
base_iface
;
45
46
/* Methods */
47
gboolean (*
support_document
) (
EvSidebarPage
*sidebar_page,
48
EvDocument
*document);
49
void (*
set_model
) (
EvSidebarPage
*sidebar_page,
50
EvDocumentModel
*model);
51
const
gchar*(* get_label) (
EvSidebarPage
*sidebar_page);
52
};
53
54
GType
ev_sidebar_page_get_type
(
void
) G_GNUC_CONST;
55
gboolean
ev_sidebar_page_support_document
(
EvSidebarPage
*sidebar_page,
56
EvDocument
*document);
57
void
ev_sidebar_page_set_model
(
EvSidebarPage
*sidebar_page,
58
EvDocumentModel
*model);
59
const gchar*
ev_sidebar_page_get_label
(
EvSidebarPage
*page);
60
61
62
G_END_DECLS
63
64
#endif
/* EV_SIDEBAR_PAGE */
evince-master
shell
ev-sidebar-page.h
Generated on Thu Jul 13 2017 13:41:46 for Evince by
1.8.4