1 /* this file is part of xreader, a mate document viewer
2  *
3  *  Copyright (C) 2005 Red Hat, Inc
4  *
5  * Xreader 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  * Xreader 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 	EV_WINDOW_TITLE_RECENT
35 } EvWindowTitleType;
36 
37 EvWindowTitle *ev_window_title_new	    (EvWindow *window);
38 void	       ev_window_title_set_type     (EvWindowTitle     *window_title,
39 					     EvWindowTitleType  type);
40 void           ev_window_title_set_document (EvWindowTitle     *window_title,
41 					     EvDocument        *document);
42 void	       ev_window_title_set_uri      (EvWindowTitle     *window_title,
43 			 		     const char        *uri);
44 void	       ev_window_title_free         (EvWindowTitle     *window_title);
45 
46 G_END_DECLS
47 
48 #endif /* __EV_WINDOW_TITLE_H__ */
49