1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/intl/icu/source/tools/genrb/errmsg.h Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,42 @@ 1.4 +/* 1.5 +******************************************************************************* 1.6 +* 1.7 +* Copyright (C) 1998-2011, International Business Machines 1.8 +* Corporation and others. All Rights Reserved. 1.9 +* 1.10 +******************************************************************************* 1.11 +* 1.12 +* File error.h 1.13 +* 1.14 +* Modification History: 1.15 +* 1.16 +* Date Name Description 1.17 +* 05/28/99 stephen Creation. 1.18 +******************************************************************************* 1.19 +*/ 1.20 + 1.21 +#ifndef ERROR_H 1.22 +#define ERROR_H 1 1.23 + 1.24 +U_CDECL_BEGIN 1.25 + 1.26 +extern const char *gCurrentFileName; 1.27 + 1.28 +U_CFUNC void error(uint32_t linenumber, const char *msg, ...); 1.29 +U_CFUNC void warning(uint32_t linenumber, const char *msg, ...); 1.30 + 1.31 +/* Show warnings? */ 1.32 +U_CFUNC void setShowWarning(UBool val); 1.33 +U_CFUNC UBool getShowWarning(void); 1.34 + 1.35 +/* strict */ 1.36 +U_CFUNC void setStrict(UBool val); 1.37 +U_CFUNC UBool isStrict(void); 1.38 + 1.39 +/* verbosity */ 1.40 +U_CFUNC void setVerbose(UBool val); 1.41 +U_CFUNC UBool isVerbose(void); 1.42 + 1.43 +U_CDECL_END 1.44 + 1.45 +#endif