Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

debug.h

Go to the documentation of this file.
00001 /*
00002  * This file is part of Jelie,
00003  * (c) 2002 Julien Pilet <julien.pilet@epfl.ch> and
00004  * Stephane Magnenat <stephane.magnenat@epfl.ch>
00005  *
00006  * Jelie is free software; you can redistribute it
00007  * and/or modify it under the terms of the GNU General Public License as
00008  * published by the Free Software Foundation; either version 2 of the License,
00009  * or (at your option) any later version.
00010  *
00011  * Jelie is distributed in the hope that it will be useful,
00012  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014  * GNU General Public License for more details.
00015  *
00016  * You should have received a copy of the GNU General Public License
00017  * along with Foobar; if not, write to the Free Software
00018  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00019  */
00020 
00028 #ifndef _DEBUG_H_
00029 #define _DEBUG_H_
00030 
00032 typedef enum {
00034         GDB_REMOTE_DEBUG=0x2, 
00035 
00037         CMD_SCRIPT_DEBUG=0x4,
00038 }DebugLevel ;
00039 
00040 
00042 void setDebugLevel(DebugLevel level);
00043 
00045 void addDebugLevel(DebugLevel level);
00046 
00048 void removeDebugLevel(DebugLevel level);
00049 
00051 void debugMessage(DebugLevel level, const char *szMessage, ...);
00052 
00053 #endif
00054 

Generated on Fri May 16 13:01:45 2003 for Jelie by doxygen1.2.15