summaryrefslogtreecommitdiff
path: root/riscos/content-handlers/draw.h
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2011-05-09 09:57:40 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2011-05-09 09:57:40 +0000
commit2ec96e508c0c1a0b47ea2cfb89a50e5831567cd1 (patch)
tree172bd3bb1d859f8cb61cf12156ea5e4c60778422 /riscos/content-handlers/draw.h
parent044018739bafc655f400039c84b7e912ae721c8a (diff)
downloadnetsurf-2ec96e508c0c1a0b47ea2cfb89a50e5831567cd1.tar.gz
netsurf-2ec96e508c0c1a0b47ea2cfb89a50e5831567cd1.tar.bz2
Put RISC OS filetype content handlers in their own directory.
svn path=/trunk/netsurf/; revision=12336
Diffstat (limited to 'riscos/content-handlers/draw.h')
-rw-r--r--riscos/content-handlers/draw.h41
1 files changed, 41 insertions, 0 deletions
diff --git a/riscos/content-handlers/draw.h b/riscos/content-handlers/draw.h
new file mode 100644
index 000000000..a0843202a
--- /dev/null
+++ b/riscos/content-handlers/draw.h
@@ -0,0 +1,41 @@
+/*
+ * Copyright 2003 John M Bell <jmb202@ecs.soton.ac.uk>
+ *
+ * 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/>.
+ */
+
+/** \file
+ * Content for image/x-drawfile (RISC OS interface).
+ */
+
+#ifndef _NETSURF_RISCOS_DRAW_H_
+#define _NETSURF_RISCOS_DRAW_H_
+
+#include "utils/config.h"
+#include "utils/errors.h"
+
+#ifdef WITH_DRAW
+
+nserror draw_init(void);
+void draw_fini(void);
+
+#else
+
+#define draw_init() NSERROR_OK
+#define draw_fini() ((void) 0)
+
+#endif /* WITH_DRAW */
+
+#endif