diff options
Diffstat (limited to 'frontends/riscos/content-handlers/sprite.h')
-rw-r--r-- | frontends/riscos/content-handlers/sprite.h | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/frontends/riscos/content-handlers/sprite.h b/frontends/riscos/content-handlers/sprite.h new file mode 100644 index 000000000..ab6d312a5 --- /dev/null +++ b/frontends/riscos/content-handlers/sprite.h @@ -0,0 +1,44 @@ +/* + * 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-riscos-sprite (RISC OS interface). + */ + +#ifndef _NETSURF_RISCOS_SPRITE_H_ +#define _NETSURF_RISCOS_SPRITE_H_ + +#include "utils/config.h" +#include "utils/errors.h" + +#ifdef WITH_SPRITE + +nserror sprite_init(void); + +#else + +static inline nserror sprite_init(void) +{ + return NSERROR_OK; +} + +#endif + +byte sprite_bpp(const osspriteop_header *s); + +#endif |