2008-04-30 Cosimo Cecchi <cosimoc@gnome.org>
[nautilus.git] / src / nautilus-shell.h
blob50750c162adf5e9576a36bffdc59d6e7eb4e28d1
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, but
14 * 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
19 * License along with this program; if not, write to the
20 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
21 * Boston, MA 02111-1307, USA.
24 /* nautilus-shell.h: Server side of Nautilus:Shell CORBA object that
25 * represents the shell across processes.
28 #ifndef NAUTILUS_SHELL_H
29 #define NAUTILUS_SHELL_H
31 #include "nautilus-application.h"
32 #include "nautilus-shell-interface.h"
34 #define NAUTILUS_TYPE_SHELL (nautilus_shell_get_type ())
35 #define NAUTILUS_SHELL(obj) (GTK_CHECK_CAST ((obj), NAUTILUS_TYPE_SHELL, NautilusShell))
36 #define NAUTILUS_SHELL_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), NAUTILUS_TYPE_SHELL, NautilusShellClass))
37 #define NAUTILUS_IS_SHELL(obj) (GTK_CHECK_TYPE ((obj), NAUTILUS_TYPE_SHELL))
38 #define NAUTILUS_IS_SHELL_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), NAUTILUS_TYPE_SHELL))
40 typedef struct NautilusShellDetails NautilusShellDetails;
42 struct NautilusShell {
43 BonoboObject parent_slot;
44 NautilusShellDetails *details;
47 typedef struct {
48 BonoboObjectClass parent_slot;
49 POA_Nautilus_Shell__epv epv;
50 } NautilusShellClass;
52 GType nautilus_shell_get_type (void);
53 NautilusShell *nautilus_shell_new (NautilusApplication *application);
55 #endif /* NAUTILUS_SHELL_H */