]> www.fi.muni.cz Git - evince.git/blob - shell/ev-window-title.h
[shell] Migrate user config dir to XDG fdo directories spec
[evince.git] / shell / ev-window-title.h
1 /* this file is part of evince, a gnome document viewer
2  *
3  *  Copyright (C) 2005 Red Hat, Inc
4  *
5  * Evince is free software; you can redistribute it and/or modify it
6  * under the terms of the GNU General Public License as published by
7  * the Free Software Foundation; either version 2 of the License, or
8  * (at your option) any later version.
9  *
10  * Evince is distributed in the hope that it will be useful, but
11  * WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13  * 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 __EV_WINDOW_TITLE_H__
21 #define __EV_WINDOW_TITLE_H__
22
23 #include "ev-window.h"
24 #include "ev-document.h"
25
26 G_BEGIN_DECLS
27
28 typedef struct _EvWindowTitle EvWindowTitle;
29
30 typedef enum
31 {
32         EV_WINDOW_TITLE_DOCUMENT,
33         EV_WINDOW_TITLE_PASSWORD
34 } EvWindowTitleType;
35
36 EvWindowTitle *ev_window_title_new          (EvWindow *window);
37 void           ev_window_title_set_type     (EvWindowTitle     *window_title,
38                                              EvWindowTitleType  type);
39 void           ev_window_title_set_document (EvWindowTitle     *window_title,
40                                              EvDocument        *document);
41 void           ev_window_title_set_uri      (EvWindowTitle     *window_title,
42                                              const char        *uri);
43 void           ev_window_title_free         (EvWindowTitle     *window_title);
44
45 G_END_DECLS
46
47 #endif /* __EV_WINDOW_TITLE_H__ */