FONTAINE  1.0
Warning.h
Go to the documentation of this file.
1 //
2 // The Fontaine Font Analysis Project
3 //
4 // Copyright (c) 2009 by Edward H. Trager
5 // All Rights Reserved
6 //
7 // Released under the GNU GPL version 2.0 or later.
8 //
9 
10 
12 //
13 // This file was originally part of the MADELINE 2 program
14 // written by Edward H. Trager and Ritu Khanna
15 // Copyright (c) 2005 by the
16 // Regents of the University of Michigan.
17 // All Rights Reserved.
18 // Released under the GNU General Public License v. 2.0 or later.
19 //
21 //
22 // 2005.03.14.ET
23 //
24 
25 //
26 // Warning.h
27 //
28 
29 #ifndef WARNING_INCLUDED
30 #define WARNING_INCLUDED
31 
32 #include "Message.h"
33 
34 //#include <iostream>
35 //#include <libintl.h>
36 //#include <stdarg.h>
37 //#include "BufferSizes.h"
38 
39 class Warning : public Message{
40 
41 private:
42 
43  static bool _suppressWarnings;
44  static const char *_warningSalutation;
45 public:
46 
47  Warning(const char *const methodName, const char *format,...);
48  static void suppressWarnings(bool suppressWarnings);
49  void print(void);
50 
51 };
52 
53 #endif
54