2008-04-30 Cosimo Cecchi <cosimoc@gnome.org>
[nautilus.git] / src / nautilus-location-dialog.h
blobc81c375fe9ceff42a77c413c214fde4aa457ede0
1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
3 /*
4 * Nautilus
6 * Copyright (C) 2003 Ximian, 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
19 * License along with this program; see the file COPYING. If not,
20 * write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
21 * Boston, MA 02111-1307, USA.
24 #ifndef NAUTILUS_LOCATION_DIALOG_H
25 #define NAUTILUS_LOCATION_DIALOG_H
27 #include <gtk/gtkdialog.h>
28 #include "nautilus-window.h"
30 #define NAUTILUS_TYPE_LOCATION_DIALOG (nautilus_location_dialog_get_type ())
31 #define NAUTILUS_LOCATION_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), NAUTILUS_TYPE_LOCATION_DIALOG, NautilusLocationDialog))
32 #define NAUTILUS_LOCATION_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), NAUTILUS_TYPE_LOCATION_DIALOG, NautilusLocationDialogClass))
33 #define NAUTILUS_IS_LOCATION_DIALOG(obj) (G_TYPE_INSTANCE_CHECK_TYPE ((obj), NAUTILUS_TYPE_LOCATION_DIALOG)
35 typedef struct _NautilusLocationDialog NautilusLocationDialog;
36 typedef struct _NautilusLocationDialogClass NautilusLocationDialogClass;
37 typedef struct _NautilusLocationDialogDetails NautilusLocationDialogDetails;
39 struct _NautilusLocationDialog {
40 GtkDialog parent;
41 NautilusLocationDialogDetails *details;
44 struct _NautilusLocationDialogClass {
45 GtkDialogClass parent_class;
48 GType nautilus_location_dialog_get_type (void);
49 GtkWidget* nautilus_location_dialog_new (NautilusWindow *window);
50 void nautilus_location_dialog_set_location (NautilusLocationDialog *dialog,
51 const char *location);
53 #endif /* NAUTILUS_LOCATION_DIALOG_H */