root/trunk/freebob/src/debugmodule.h

Revision 18, 1.0 kB (checked in by pieterpalmers, 19 years ago)

- Placed some extra debug functions in a new file debugmodule.cpp
- Added AvDescriptor? class as a generic AVC descriptor handler class
- Added the new files to the makefile

REMARK: The new code is still quite messy and undebugged. This commit is mainly to expose my current work, to make sure no work is duplicated.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1 /* debugmodule.h
2  * Copyright (C) 2004 by Daniel Wagner
3  *
4  * This file is part of FreeBob.
5  *
6  * FreeBob is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2 of the License, or
9  * (at your option) any later version.
10  * FreeBob 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 FreeBob; if not, write to the Free Software
17  * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
18  * MA 02111-1307 USA.
19  */
20
21 #ifndef DEBUGMODULE_H
22 #define DEBUGMODULE_H
23
24 #include <stdio.h>
25 #include "ieee1394service.h"
26
27 #define DEBUG_LEVEL_INFO     5
28
29 #define debugError(format, args...) fprintf( stderr, format,  ##args )
30 #define debugPrint(Level, format, args...) printf( format, ##args )
31
32 #endif
Note: See TracBrowser for help on using the browser.