1 /* msg.h -- declaration for verbosity sensitive feedback function 2 Copyright (c) 1988-1993 Miguel Santana 3 Copyright (c) 1995-1999 Akim Demaille, Miguel Santana 4 5 This program is free software; you can redistribute it and/or modify 6 it under the terms of the GNU General Public License as published by 7 the Free Software Foundation; either version 2, or (at your option) 8 any later version. 9 10 This program is distributed in the hope that it will be useful, 11 but WITHOUT ANY WARRANTY; without even the implied warranty of 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 GNU General Public License for more details. 14 15 You should have received a copy of the GNU General Public License 16 along with this program; if not, write to the Free Software Foundation, 17 Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ 18 19 #ifndef _MSG_H_ 20 #define _MSG_H_ 21 22 /* Definition of the verbosity levels. */ 23 24 #define msg_null (0) 25 26 /* Normal flow of messages 27 * This one is painful, because we want it to be easy to understand as 28 * -v0, -v1 and -v2 */ 29 #define msg_report (1 << 0) 30 #define msg_report2 (1 << 1) 31 #define msg_report1 (msg_report2 | msg_report) 32 33 /* Style sheets processing */ 34 #define msg_sheet (1 << 2) 35 36 /* Path walk function */ 37 #define msg_pw (1 << 3) 38 39 /* Encoding functions */ 40 #define msg_enc (1 << 4) 41 42 /* Options / Configuration */ 43 #define msg_opt (1 << 5) 44 45 /* Files related stuff */ 46 #define msg_file (1 << 6) 47 48 /* Tools (small routines) related stuff */ 49 #define msg_tool (1 << 7) 50 51 /* Font related stuff */ 52 #define msg_font (1 << 8) 53 54 /* PPD related */ 55 #define msg_ppd (1 << 9) 56 57 /* Meta sequences */ 58 #define msg_meta (1 << 10) 59 60 /* Any kind of parsers */ 61 #define msg_parse (1 << 11) 62 63 64 /* Report everything */ 65 #define msg_all 0xFFFF 66 67 68 #endif /* not MSG_H_ */ 69