diff options
author | Vincent Sanders <vince@netsurf-browser.org> | 2013-05-27 09:36:26 +0100 |
---|---|---|
committer | Vincent Sanders <vince@netsurf-browser.org> | 2013-05-28 14:16:10 +0100 |
commit | a5355ec55721b6d874168d979338044c4a12dc52 (patch) | |
tree | 6fded9e25e94839bae2a58a1a1da7c48e09b3a6e /beos | |
parent | c1e864656dc757b0ed255b6ec33ef00c9c7d2070 (diff) | |
download | netsurf-a5355ec55721b6d874168d979338044c4a12dc52.tar.gz netsurf-a5355ec55721b6d874168d979338044c4a12dc52.tar.bz2 |
change all core and frontend options headers to new format
Diffstat (limited to 'beos')
-rw-r--r-- | beos/options.h | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/beos/options.h b/beos/options.h index 9b8a3d109..40d23a3bc 100644 --- a/beos/options.h +++ b/beos/options.h @@ -17,23 +17,14 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef _NETSURF_DESKTOP_OPTIONS_INCLUDING_ -#error "Frontend options header cannot be included directly" -#endif #ifndef _NETSURF_BEOS_OPTIONS_H_ #define _NETSURF_BEOS_OPTIONS_H_ -#define NSOPTION_EXTRA_DEFINE \ - bool render_resample; \ - char *url_file +/* currently nothing here */ -#define NSOPTION_EXTRA_DEFAULTS \ - .render_resample = false, \ - .url_file = 0 +#endif -#define NSOPTION_EXTRA_TABLE \ - { "render_resample", OPTION_BOOL, &nsoptions.render_resample }, \ - { "url_file", OPTION_STRING, &nsoptions.url_file } +NSOPTION_BOOL(render_resample, false) +NSOPTION_STRING(url_file, NULL) -#endif |