~noskcaj/ubuntu/wily/epiphany-browser/merge

« back to all changes in this revision

Viewing changes to lib/ephy-initial-state.h

  • Committer: Package Import Robot
  • Author(s): Gustavo Noronha Silva
  • Date: 2013-03-20 20:45:41 UTC
  • mto: (120.1.2 experimental) (1.10.1) (105.1.14 sid)
  • mto: This revision was merged to the branch mainline in revision 121.
  • Revision ID: package-import@ubuntu.com-20130320204541-0t2adqjzvpflkni2
Tags: upstream-3.7.91
Import upstream version 3.7.91

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* -*- Mode: C; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
 
2
/*
 
3
 *  Copyright © 2001 Matthew Mueller
 
4
 *  Copyright © 2002 Jorn Baayen <jorn@nl.linux.org>
 
5
 *  Copyright © 2003 Marco Pesenti Gritti <mpeseng@tin.it>
 
6
 *
 
7
 *  This program is free software; you can redistribute it and/or modify
 
8
 *  it under the terms of the GNU General Public License as published by
 
9
 *  the Free Software Foundation; either version 2, or (at your option)
 
10
 *  any later version.
 
11
 *
 
12
 *  This program is distributed in the hope that it will be useful,
 
13
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 
14
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
15
 *  GNU General Public License for more details.
 
16
 *
 
17
 *  You should have received a copy of the GNU General Public License
 
18
 *  along with this program; if not, write to the Free Software
 
19
 *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 
20
 *
 
21
 */
 
22
 
 
23
#if !defined (__EPHY_EPIPHANY_H_INSIDE__) && !defined (EPIPHANY_COMPILATION)
 
24
#error "Only <epiphany/epiphany.h> can be included directly."
 
25
#endif
 
26
 
 
27
#ifndef EPHY_STATE_H
 
28
#define EPHY_STATE_H
 
29
 
 
30
#include <gtk/gtk.h>
 
31
 
 
32
G_BEGIN_DECLS
 
33
 
 
34
typedef enum
 
35
{
 
36
  EPHY_INITIAL_STATE_WINDOW_SAVE_NONE = 0,
 
37
  EPHY_INITIAL_STATE_WINDOW_SAVE_SIZE = 1 << 0,
 
38
  EPHY_INITIAL_STATE_WINDOW_SAVE_POSITION = 1 << 1
 
39
} EphyInitialStateWindowFlags;
 
40
 
 
41
void ephy_initial_state_add_window   (GtkWidget            *window,
 
42
                                      const char           *name,
 
43
                                      int                   default_width,
 
44
                                      int                   default_heigth,
 
45
                                      gboolean              maximize,
 
46
                                      EphyInitialStateWindowFlags  flags);
 
47
void ephy_initial_state_add_paned    (GtkWidget            *paned,
 
48
                                      const char           *name,
 
49
                                      int                   default_width);
 
50
void ephy_initial_state_add_expander (GtkWidget            *widget,
 
51
                                      const char           *name,
 
52
                                      gboolean              default_state);
 
53
void ephy_initial_state_save         (void);
 
54
 
 
55
G_END_DECLS
 
56
 
 
57
#endif /* EPHY_STATE_H */