summaryrefslogtreecommitdiff
path: root/atari/file.h
diff options
context:
space:
mode:
authorOle Loots <ole@monochrom.net>2014-09-13 14:15:01 +0200
committerOle Loots <ole@monochrom.net>2014-09-13 14:15:01 +0200
commitd7f479070e6a198084f92e77c26b9bb0e8cab471 (patch)
tree30607d04733f98d9d10e8b729fa45b6946536fb6 /atari/file.h
parenta9ac9c00fc2c73705db242a459160f14d279cdcd (diff)
downloadnetsurf-d7f479070e6a198084f92e77c26b9bb0e8cab471.tar.gz
netsurf-d7f479070e6a198084f92e77c26b9bb0e8cab471.tar.bz2
Replace default posix file handling table with GEMDOS compatible one
Since build #1917, URL to path conversion was broken. Thanks to Peter for reporting the bug. Most of the path handling code was taken from the windows frontend. Note: - NetSurf core switched to an file handling table with default posix compatible functions. - The atari frontend always uses GEMDOS compatible path like: "u:\folder\1", even when running on top of FreeMiNT environment.
Diffstat (limited to 'atari/file.h')
-rw-r--r--atari/file.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/atari/file.h b/atari/file.h
new file mode 100644
index 000000000..4428f2e82
--- /dev/null
+++ b/atari/file.h
@@ -0,0 +1,27 @@
+/*
+ * Copyright 2014 Ole Loots <ole@monochrom.net>
+ *
+ * This file is part of NetSurf, http://www.netsurf-browser.org/
+ *
+ * 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/>.
+ */
+
+#ifndef FILE_C_INCLUDED
+#define FILE_C_INCLUDED
+
+#include "utils/file.h"
+
+struct gui_file_table *atari_file_table;
+
+
+#endif // FILE_C_INCLUDED