1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*-
5 Copyright (C) 2001 Red Hat, Inc.
7 This program is free software; you can redistribute it and/or
8 modify it under the terms of the GNU General Public License as
9 published by the Free Software Foundation; either version 2 of the
10 License, or (at your option) any later version.
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 General Public License for more details.
17 You should have received a copy of the GNU General Public
18 License along with this program; if not, write to the
19 Free Software Foundation, Inc., 59 Temple Place - Suite 330,
20 Boston, MA 02111-1307, USA.
22 Authors: Jonathan Blandford <jrb@redhat.com>
25 #ifndef NAUTILUS_LINK_H
26 #define NAUTILUS_LINK_H
28 #include <gdk/gdktypes.h>
29 #include <libgnome/gnome-desktop-item.h>
31 gboolean
nautilus_link_local_create (const char *directory_uri
,
32 const char *base_name
,
33 const char *display_name
,
35 const char *target_uri
,
36 const GdkPoint
*point
,
38 gboolean unique_filename
);
39 gboolean
nautilus_link_local_set_text (const char *uri
,
41 char * nautilus_link_local_get_text (const char *uri
);
42 char * nautilus_link_local_get_additional_text (const char *uri
);
43 char * nautilus_link_local_get_link_uri (const char *uri
);
44 void nautilus_link_get_link_info_given_file_contents (const char *file_contents
,
49 gboolean
*is_launcher
);
50 void nautilus_link_local_create_from_gnome_entry (GnomeDesktopItem
*entry
,
52 const GdkPoint
*position
,
55 #endif /* NAUTILUS_LINK_H */