NetSurf
draw.h
Go to the documentation of this file.
1/*
2 * Copyright 2003 John M Bell <jmb202@ecs.soton.ac.uk>
3 *
4 * This file is part of NetSurf, http://www.netsurf-browser.org/
5 *
6 * NetSurf is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; version 2 of the License.
9 *
10 * NetSurf is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */
18
19/** \file
20 * Content for image/x-drawfile (RISC OS interface).
21 */
22
23#ifndef _NETSURF_RISCOS_DRAW_H_
24#define _NETSURF_RISCOS_DRAW_H_
25
26#include "utils/config.h"
27#include "utils/errors.h"
28
29#ifdef WITH_DRAW
30
31nserror draw_init(void);
32
33#else
34
35static inline nserror draw_init(void)
36{
37 return NSERROR_OK;
38}
39
40#endif /* WITH_DRAW */
41
42#endif
static nserror draw_init(void)
Definition: draw.h:35
Error codes.
nserror
Enumeration of error codes.
Definition: errors.h:29
@ NSERROR_OK
No error.
Definition: errors.h:30