CPPMyth
Library to interoperate with MythTV server
Loading...
Searching...
No Matches
mythdebug.h
1/*
2 * Copyright (C) 2014-2015 Jean-Luc Barriere
3 *
4 * This Program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2, or (at your option)
7 * any later version.
8 *
9 * This Program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program; see the file COPYING. If not, write to
16 * the Free Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
17 * MA 02110-1301 USA
18 * http://www.gnu.org/copyleft/gpl.html
19 *
20 */
21
22#ifndef MYTHDEBUG_H
23#define MYTHDEBUG_H
24
25#define MYTH_DBG_NONE -1
26#define MYTH_DBG_ERROR 0
27#define MYTH_DBG_WARN 1
28#define MYTH_DBG_INFO 2
29#define MYTH_DBG_DEBUG 3
30#define MYTH_DBG_PROTO 4
31#define MYTH_DBG_ALL 6
32
33namespace Myth
34{
35 void DBGLevel(int l);
36 void DBGAll(void);
37 void DBGNone(void);
38 void SetDBGMsgCallback(void (*msgcb)(int level, char*));
39}
40
41#endif /* MYTHDEBUG_H */
42
This is the main namespace that encloses all public classes.
Definition mythcontrol.h:30