netsurf/utils/config.h
James Bursa 3371a27391 [project @ 2004-09-03 22:44:47 by bursa]
Add generic bitmap functions. Move jpeg and mng code from riscos/ to image/ and update to use bitmap. Note: background tiling and drawfile export for jpeg and mng/png are broken.

svn path=/import/netsurf/; revision=1265
2004-09-03 22:44:48 +00:00

67 lines
1.7 KiB
C

/*
* This file is part of NetSurf, http://netsurf.sourceforge.net/
* Licensed under the GNU General Public License,
* http://www.opensource.org/licenses/gpl-license
* Copyright 2003,4 John M Bell <jmb202@ecs.soton.ac.uk>
* Copyright 2004 Andrew Timmins <atimmins@blueyonder.co.uk>
*/
#ifndef _NETSURF_UTILS_CONFIG_H_
#define _NETSURF_UTILS_CONFIG_H_
/* This file toggles build options on and off.
* Simply undefine a symbol to turn the relevant feature off.
*
* IF ADDING A FEATURE HERE, ADD IT TO Docs/Doxyfile LINE 892 AS WELL.
*/
/* HTTP POST support */
#define WITH_POST
/* HTTP Auth */
#define WITH_AUTH
/* Cookies */
#define WITH_COOKIES
/* Image renderering modules */
#define WITH_JPEG
#define WITH_MNG
#define WITH_PNG
#if defined(riscos) || defined(ncos) || defined(debug)
#define WITH_GIF
#endif
#if defined(riscos) || defined(ncos)
#define WITH_DRAW
#define WITH_SPRITE
#endif
/* Platform specific features */
#if defined(riscos) || defined(ncos)
/* Plugin module */
#define WITH_PLUGIN
/* Acorn URI protocol support */
#define WITH_URI
/* ANT URL protocol support */
#define WITH_URL
/* Keyboard navigation support */
#define WITH_KEYBOARD_NAVIGATION
/* Free text search */
#define WITH_SEARCH
/* Printing support */
#define WITH_PRINT
#endif
#ifdef ncos
/* Kiosk style browsing support */
#define WITH_KIOSK_BROWSING
/* Kiosk style browsing themes support */
#define WITH_KIOSK_THEMES
#endif
#if defined(riscos) || defined(ncos) || defined(debug)
/* Export modules */
#define WITH_SAVE_COMPLETE
#define WITH_DRAW_EXPORT
#define WITH_TEXT_EXPORT
#endif
#endif