diff --git a/libs/gtkmm2ext/debug.cc b/libs/gtkmm2ext/debug.cc new file mode 100644 index 0000000000..899c553469 --- /dev/null +++ b/libs/gtkmm2ext/debug.cc @@ -0,0 +1,24 @@ +/* + Copyright (C) 2011 Paul Davis + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + +*/ + +#include "gtkmm2ext/debug.h" +#include "pbd/debug.h" + +uint64_t Gtkmm2ext::DEBUG::Keyboard = PBD::new_debug_bit ("keyboard"); +uint64_t Gtkmm2ext::DEBUG::Bindings = PBD::new_debug_bit ("bindings"); diff --git a/libs/gtkmm2ext/gtkmm2ext/debug.h b/libs/gtkmm2ext/gtkmm2ext/debug.h new file mode 100644 index 0000000000..e057b3c9bf --- /dev/null +++ b/libs/gtkmm2ext/gtkmm2ext/debug.h @@ -0,0 +1,33 @@ +/* + Copyright (C) 2011 Paul Davis + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + +*/ + +#ifndef __libgtkmm2ext_debug_h__ +#define __libgtkmm2ext_debug_h__ + +#include + +namespace Gtkmm2ext { + namespace DEBUG { + extern uint64_t Keyboard; + extern uint64_t Bindings; + } +} + +#endif /* __libgtkm2ext_debug_h__ */ +