debug.cc
Go to the documentation of this file.
1 // cwchessboard -- A C++ chessboard tool set for gtkmm
2 //
3 //! @file
4 //! @brief Debug specific code.
5 //
6 // Copyright (C) 2017 Carlo Wood
7 //
8 // Carlo Wood, Run on IRC <carlo@alinoe.com>
9 // RSA-1024 0x624ACAD5 1997-01-26 Sign & Encrypt
10 // Fingerprint16 = 32 EC A7 B6 AC DB 65 A6 F6 F6 55 DD 1C DC FF 61
11 //
12 // This program is free software; you can redistribute it and/or
13 // modify it under the terms of the GNU General Public License
14 // as published by the Free Software Foundation; either version 2
15 // of the License, or (at your option) any later version.
16 //
17 // This program is distributed in the hope that it will be useful,
18 // but WITHOUT ANY WARRANTY; without even the implied warranty of
19 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 // GNU General Public License for more details.
21 //
22 // You should have received a copy of the GNU General Public License
23 // along with this program; if not, write to the Free Software
24 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
25 
26 #include "sys.h"
27 #include "debug.h"
28 
29 #ifdef CWDEBUG
30 
31 NAMESPACE_DEBUG_CHANNELS_START
32 
33 // Add new debug channels here.
34 channel_ct event("EVENT");
35 channel_ct motion_event("MOTION_EVENT");
36 channel_ct cwchessboardwidget("WIDGET");
37 channel_ct place("PLACE");
38 channel_ct countboard("COUNTBOARD");
39 channel_ct clipboard("CLIPBOARD");
40 channel_ct parser("PARSER");
41 
42 NAMESPACE_DEBUG_CHANNELS_END
43 
44 #endif // CWDEBUG
45 

Copyright © 2006 - 2010 Carlo Wood.  All rights reserved.