FONTAINE
1.0
|
00001 // 00002 // The Fontaine Font Analysis Project 00003 // 00004 // Copyright (c) 2009 by Edward H. Trager 00005 // All Rights Reserved 00006 // 00007 // Released under the GNU GPL version 2.0 or later. 00008 // 00009 00010 00012 // 00013 // This file was originally part of the MADELINE 2 program 00014 // written by Edward H. Trager and Ritu Khanna 00015 // Copyright (c) 2005 by the 00016 // Regents of the University of Michigan. 00017 // All Rights Reserved. 00018 // Released under the GNU General Public License v. 2.0 or later. 00019 // 00021 // 00022 // 2005.03.14.ET 00023 // 00024 00025 // 00026 // Warning.h 00027 // 00028 00029 #ifndef WARNING_INCLUDED 00030 #define WARNING_INCLUDED 00031 00032 #include "Message.h" 00033 00034 //#include <iostream> 00035 //#include <libintl.h> 00036 //#include <stdarg.h> 00037 //#include "BufferSizes.h" 00038 00039 class Warning : public Message{ 00040 00041 private: 00042 00043 static bool _suppressWarnings; 00044 static const char *_warningSalutation; 00045 public: 00046 00047 Warning(const char *const methodName, const char *format,...); 00048 static void suppressWarnings(bool suppressWarnings); 00049 void print(void); 00050 00051 }; 00052 00053 #endif 00054