summaryrefslogtreecommitdiff
path: root/amiga/fetch_file.h
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2008-11-08 23:06:40 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2008-11-08 23:06:40 +0000
commit66a759e2a1c50d8ac8757a33c7b860d7a89517a8 (patch)
tree9d4e62d530e9888ac8130000b2cae661332a7c6d /amiga/fetch_file.h
parentd934e52dc6102615dbf095353cd0955d7526d7d1 (diff)
downloadnetsurf-66a759e2a1c50d8ac8757a33c7b860d7a89517a8.tar.gz
netsurf-66a759e2a1c50d8ac8757a33c7b860d7a89517a8.tar.bz2
Local file handling improvements (fetch_file is incomplete and not being used yet)
filetype.c has been changed to get the MIME type of a file from the MIMETYPE tooltype of the icon or default icon for the file. The install script will set the basic of these, and icons for default.css and AdBlock.css have been added to ensure these always return the correct MIME type. If the MIMETYPE tooltype is not found, the code will use datatypes.library to identify the file and make a guess as to what the MIME type is. svn path=/trunk/netsurf/; revision=5651
Diffstat (limited to 'amiga/fetch_file.h')
-rwxr-xr-xamiga/fetch_file.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/amiga/fetch_file.h b/amiga/fetch_file.h
new file mode 100755
index 000000000..cf0b51d4a
--- /dev/null
+++ b/amiga/fetch_file.h
@@ -0,0 +1,27 @@
+/*
+ * Copyright 2008 Chris Young <chris@unsatisfactorysoftware.co.uk>
+ *
+ * This file is part of NetSurf.
+ *
+ * NetSurf is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; version 2 of the License.
+ *
+ * NetSurf is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+/** \file
+ * Fetching of data from a URL (Registration).
+ */
+
+#ifndef AMIGA_FETCH_FILE_H
+#define AMIGA_FETCH_FILE_H
+
+void ami_fetch_file_register(void);
+#endif