2008-05-05 Paolo Borelli <pborelli@katamail.com>
[nautilus.git] / src / nautilus-desktop-window.h
blob826ae4533eb7ef9e34eb39a085f6d987e5b4fac6
1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
3 /*
4 * Nautilus
6 * Copyright (C) 2000 Eazel, Inc.
8 * Nautilus is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License as
10 * published by the Free Software Foundation; either version 2 of the
11 * License, or (at your option) any later version.
13 * Nautilus is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * General Public License for more details.
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
22 * Authors: Darin Adler <darin@bentspoon.com>
25 /* nautilus-desktop-window.h
28 #ifndef NAUTILUS_DESKTOP_WINDOW_H
29 #define NAUTILUS_DESKTOP_WINDOW_H
31 #include "nautilus-window.h"
32 #include "nautilus-application.h"
33 #include "nautilus-spatial-window.h"
35 #define NAUTILUS_TYPE_DESKTOP_WINDOW (nautilus_desktop_window_get_type())
36 #define NAUTILUS_DESKTOP_WINDOW(object) (GTK_CHECK_CAST ((object), NAUTILUS_TYPE_DESKTOP_WINDOW, NautilusDesktopWindow))
37 #define NAUTILUS_DESKTOP_WINDOW_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), NAUTILUS_TYPE_DESKTOP_WINDOW, NautilusDesktopWindowClass))
38 #define NAUTILUS_IS_DESKTOP_WINDOW(object) (GTK_CHECK_TYPE ((object), NAUTILUS_TYPE_DESKTOP_WINDOW))
39 #define NAUTILUS_IS_DESKTOP_WINDOW_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), NAUTILUS_TYPE_DESKTOP_WINDOW))
41 typedef struct NautilusDesktopWindowDetails NautilusDesktopWindowDetails;
43 typedef struct {
44 NautilusSpatialWindow parent_spot;
45 NautilusDesktopWindowDetails *details;
46 gboolean affect_desktop_on_next_location_change;
47 } NautilusDesktopWindow;
49 typedef struct {
50 NautilusSpatialWindowClass parent_spot;
51 } NautilusDesktopWindowClass;
53 GType nautilus_desktop_window_get_type (void);
54 NautilusDesktopWindow *nautilus_desktop_window_new (NautilusApplication *application,
55 GdkScreen *screen);
56 void nautilus_desktop_window_update_directory (NautilusDesktopWindow *window);
58 #endif /* NAUTILUS_DESKTOP_WINDOW_H */