diff --git a/gtk2_ardour/debug.cc b/gtk2_ardour/debug.cc new file mode 100644 index 0000000000..1d437ffe21 --- /dev/null +++ b/gtk2_ardour/debug.cc @@ -0,0 +1,29 @@ +/* + Copyright (C) 2010 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 +#include +#include + +#include "debug.h" + +using namespace std; + +uint64_t PBD::DEBUG::Drags = PBD::new_debug_bit ("drags"); + diff --git a/gtk2_ardour/debug.h b/gtk2_ardour/debug.h new file mode 100644 index 0000000000..830f17ab30 --- /dev/null +++ b/gtk2_ardour/debug.h @@ -0,0 +1,34 @@ +/* + Copyright (C) 2010 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 __gtk2_ardour_debug_h__ +#define __gtk2_ardour_debug_h__ + +#include + +#include "pbd/debug.h" + +namespace PBD { + namespace DEBUG { + extern uint64_t Drags; + } +} + +#endif /* __gtk2_ardour_debug_h__ */ +