2008-05-05 Paolo Borelli <pborelli@katamail.com>
[nautilus.git] / src / nautilus-spatial-window.h
blobd2552a45ecfdb01e88bbae4a56563743aa786617
1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*- */
3 /*
4 * Nautilus
6 * Copyright (C) 1999, 2000 Red Hat, Inc.
7 * Copyright (C) 1999, 2000, 2001 Eazel, Inc.
8 * Copyright (C) 2003 Ximian, Inc.
10 * Nautilus is free software; you can redistribute it and/or
11 * modify it under the terms of the GNU General Public License as
12 * published by the Free Software Foundation; either version 2 of the
13 * License, or (at your option) any later version.
15 * Nautilus is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 * General Public License for more details.
20 * You should have received a copy of the GNU General Public License
21 * along with this program; if not, write to the Free Software
22 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
25 /* nautilus-window.h: Interface of the main window object */
27 #ifndef NAUTILUS_SPATIAL_WINDOW_H
28 #define NAUTILUS_SPATIAL_WINDOW_H
30 #include "nautilus-window.h"
31 #include "nautilus-window-private.h"
33 #define NAUTILUS_TYPE_SPATIAL_WINDOW (nautilus_spatial_window_get_type())
34 #define NAUTILUS_SPATIAL_WINDOW(obj) (GTK_CHECK_CAST ((obj), NAUTILUS_TYPE_SPATIAL_WINDOW, NautilusSpatialWindow))
35 #define NAUTILUS_SPATIAL_WINDOW_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), NAUTILUS_TYPE_SPATIAL_WINDOW, NautilusSpatialWindowClass))
36 #define NAUTILUS_IS_SPATIAL_WINDOW(obj) (GTK_CHECK_TYPE ((obj), NAUTILUS_TYPE_SPATIAL_WINDOW))
37 #define NAUTILUS_IS_SPATIAL_WINDOW_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), NAUTILUS_TYPE_SPATIAL_WINDOW))
39 #ifndef NAUTILUS_SPATIAL_WINDOW_DEFINED
40 #define NAUTILUS_SPATIAL_WINDOW_DEFINED
41 typedef struct _NautilusSpatialWindow NautilusSpatialWindow;
42 #endif
43 typedef struct _NautilusSpatialWindowClass NautilusSpatialWindowClass;
44 typedef struct _NautilusSpatialWindowDetails NautilusSpatialWindowDetails;
46 struct _NautilusSpatialWindow {
47 NautilusWindow parent_object;
49 gboolean affect_spatial_window_on_next_location_change;
51 NautilusSpatialWindowDetails *details;
54 struct _NautilusSpatialWindowClass {
55 NautilusWindowClass parent_spot;
59 GType nautilus_spatial_window_get_type (void);
60 void nautilus_spatial_window_save_geometry (NautilusSpatialWindow *window);
61 void nautilus_spatial_window_save_scroll_position (NautilusSpatialWindow *window);
62 void nautilus_spatial_window_save_show_hidden_files_mode (NautilusSpatialWindow *window);
63 void nautilus_spatial_window_set_location_button (NautilusSpatialWindow *window,
64 GFile *location);
66 #endif