From f5f01f3ff143edd87b7e36f1b3540cbc5d42c51f Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Tue, 25 Feb 2014 12:12:30 +0100 Subject: build a shared library and rework parts of the code --- config.def.h | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) (limited to 'config.def.h') diff --git a/config.def.h b/config.def.h index 1ac13c4..dc789d4 100644 --- a/config.def.h +++ b/config.def.h @@ -9,11 +9,11 @@ #define _CONFIG_H /* path to the config file */ -#define CONFIGFILE "/etc/cqrlogo.conf" +#define CONFIGFILE "/etc/cqrlogo.conf" /* whether or not defaults or settings from config may be overwritten * by query string */ -#define ALLOW_OVERWRITE 1 +#define ALLOW_OVERWRITE 1 /* pixels are scaled up by this factor */ #define QRCODE_SCALE 2 @@ -32,20 +32,10 @@ * QR_ECLEVEL_Q (about 25%) * QR_ECLEVEL_H (highest, about 30%) * image size raises with higher levels */ -#define QRCODE_LEVEL QR_ECLEVEL_L +#define QRCODE_LEVEL QR_ECLEVEL_L /* note that changing the level at runtime requies * a numeric value from 0 to 3 */ -/* if you really, really, really want to save some bytes... - * It is possible to disable text information in PNG file completly, though - * nobody will have an idea where you got this great software... - * So please do not. */ -#define PNG_ENABLE_TEXT 1 -/* do you want version information within the PNG file? */ -#define PNG_ENABLE_TEXT_VERSIONS 1 -/* add referer information to the PNG file? */ -#define PNG_ENABLE_TEXT_REFERER 1 - #endif /* _CONFIG_H */ // vim: set syntax=c: -- cgit v1.2.3-54-g00ecf