2008-05-05 Paolo Borelli <pborelli@katamail.com>
[nautilus.git] / src / nautilus-location-entry.h
blob2869e112aa35fc4b3e3e7317bfab80fec8113ec7
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
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.
23 * Author: Maciej Stachowiak <mjs@eazel.com>
24 * Ettore Perazzoli <ettore@gnu.org>
27 #ifndef NAUTILUS_LOCATION_ENTRY_H
28 #define NAUTILUS_LOCATION_ENTRY_H
30 #include <libnautilus-private/nautilus-entry.h>
32 #define NAUTILUS_TYPE_LOCATION_ENTRY (nautilus_location_entry_get_type ())
33 #define NAUTILUS_LOCATION_ENTRY(obj) \
34 GTK_CHECK_CAST (obj, NAUTILUS_TYPE_LOCATION_ENTRY, NautilusLocationEntry)
35 #define NAUTILUS_LOCATION_ENTRY_CLASS(klass) \
36 GTK_CHECK_CLASS_CAST (klass, NAUTILUS_TYPE_LOCATION_ENTRY, NautilusLocationEntryClass)
37 #define NAUTILUS_IS_LOCATION_ENTRY(obj) \
38 GTK_CHECK_TYPE (obj, NAUTILUS_TYPE_LOCATION_ENTRY)
40 typedef struct NautilusLocationEntryDetails NautilusLocationEntryDetails;
42 typedef struct NautilusLocationEntry {
43 NautilusEntry parent;
44 NautilusLocationEntryDetails *details;
45 } NautilusLocationEntry;
47 typedef struct {
48 NautilusEntryClass parent_class;
49 } NautilusLocationEntryClass;
51 GType nautilus_location_entry_get_type (void);
52 GtkWidget* nautilus_location_entry_new (void);
53 void nautilus_location_entry_set_special_text (NautilusLocationEntry *entry,
54 const char *special_text);
56 #endif /* NAUTILUS_LOCATION_ENTRY_H */