From d21447d096a320a08b3efb2b8768fad0dcdcfd64 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Thu, 5 May 2016 22:28:51 +0100 Subject: move frontends into sub directory --- frontends/riscos/content-handlers/draw.h | 42 ++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 frontends/riscos/content-handlers/draw.h (limited to 'frontends/riscos/content-handlers/draw.h') diff --git a/frontends/riscos/content-handlers/draw.h b/frontends/riscos/content-handlers/draw.h new file mode 100644 index 000000000..9f5baf6dc --- /dev/null +++ b/frontends/riscos/content-handlers/draw.h @@ -0,0 +1,42 @@ +/* + * Copyright 2003 John M Bell + * + * 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 . + */ + +/** \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); + +#else + +static inline nserror draw_init(void) +{ + return NSERROR_OK; +} + +#endif /* WITH_DRAW */ + +#endif -- cgit v1.2.3