2008-05-05 Paolo Borelli <pborelli@katamail.com>
[nautilus.git] / src / nautilus-window-manage-views.h
blobfdfd779c7afbcbc2ed8c4466667a38c9acc00b38
1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
3 /*
4 * Nautilus
6 * Copyright (C) 1999, 2000 Red Hat, Inc.
7 * Copyright (C) 1999, 2000, 2001 Eazel, Inc.
9 * Nautilus is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public
11 * License as published by the Free Software Foundation; either
12 * version 2 of the License, or (at your option) any later version.
14 * Nautilus is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 * General Public License for more details.
19 * You should have received a copy of the GNU General Public
20 * License along with this program; if not, write to the Free
21 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
23 * Author: Darin Adler <darin@bentspoon.com>
27 #ifndef NAUTILUS_WINDOW_MANAGE_VIEWS_H
28 #define NAUTILUS_WINDOW_MANAGE_VIEWS_H
30 #include "nautilus-window.h"
31 #include "nautilus-navigation-window.h"
33 void nautilus_window_manage_views_destroy (NautilusWindow *window);
34 void nautilus_window_manage_views_finalize (NautilusWindow *window);
35 void nautilus_window_open_location (NautilusWindow *window,
36 GFile *location,
37 gboolean close_behind);
38 void nautilus_window_open_location_with_selection (NautilusWindow *window,
39 GFile *location,
40 GList *selection,
41 gboolean close_behind);
42 void nautilus_window_open_location_full (NautilusWindow *window,
43 GFile *location,
44 NautilusWindowOpenMode mode,
45 NautilusWindowOpenFlags flags,
46 GList *new_selection);
47 void nautilus_window_stop_loading (NautilusWindow *window);
48 void nautilus_window_set_content_view (NautilusWindow *window,
49 const char *id);
50 gboolean nautilus_window_content_view_matches_iid (NautilusWindow *window,
51 const char *iid);
52 const char *nautilus_window_get_content_view_id (NautilusWindow *window);
53 char *nautilus_window_get_view_error_label (NautilusWindow *window);
54 char *nautilus_window_get_view_startup_error_label (NautilusWindow *window);
55 void nautilus_navigation_window_set_sidebar_panels (NautilusNavigationWindow *window,
56 GList *view_identifier_list);
59 /* NautilusWindowInfo implementation: */
60 void nautilus_window_report_load_underway (NautilusWindow *window,
61 NautilusView *view);
62 void nautilus_window_report_selection_changed (NautilusWindowInfo *window);
63 void nautilus_window_report_view_failed (NautilusWindow *window,
64 NautilusView *view);
65 void nautilus_window_report_load_complete (NautilusWindow *window,
66 NautilusView *view);
68 #endif /* NAUTILUS_WINDOW_MANAGE_VIEWS_H */