00001 /*************************************************************************** 00002 ofx_messages.h 00003 ------------------- 00004 copyright : (C) 2002 by Benoit Grégoire 00005 email : bock@step.polymtl.ca 00006 ***************************************************************************/ 00010 /*************************************************************************** 00011 * * 00012 * This program is free software; you can redistribute it and/or modify * 00013 * it under the terms of the GNU General Public License as published by * 00014 * the Free Software Foundation; either version 2 of the License, or * 00015 * (at your option) any later version. * 00016 * * 00017 ***************************************************************************/ 00018 #ifndef OFX_MESSAGES_H 00019 #define OFX_MESSAGES_H 00020 00023 enum OfxMsgType{ 00024 DEBUG, 00025 DEBUG1, 00026 DEBUG2, 00027 DEBUG3, 00028 DEBUG4, 00029 DEBUG5, 00030 STATUS = 10, 00031 INFO, 00032 WARNING, 00033 ERROR, 00034 PARSER 00035 }; 00036 using namespace std; 00038 int message_out(OfxMsgType type, const string message); 00039 00040 #endif