summaryrefslogtreecommitdiff
path: root/libs/ardour/butler.cc
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2009-10-23 23:23:00 +0000
committerDavid Robillard <d@drobilla.net>2009-10-23 23:23:00 +0000
commitd56817e7856040adf3db6bda812dfaef7d493c80 (patch)
treecd7fcd88f4686bd48e9a4465eaaac3d96f3f68c9 /libs/ardour/butler.cc
parent002ff65d0f75431bb42cc29836d6237ba1b7d704 (diff)
Split butler into separate object (partially, just data so far...)
git-svn-id: svn://localhost/ardour2/branches/3.0@5900 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/butler.cc')
-rw-r--r--libs/ardour/butler.cc34
1 files changed, 34 insertions, 0 deletions
diff --git a/libs/ardour/butler.cc b/libs/ardour/butler.cc
new file mode 100644
index 0000000000..33811ca387
--- /dev/null
+++ b/libs/ardour/butler.cc
@@ -0,0 +1,34 @@
+/*
+ Copyright (C) 1999-2009 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 "ardour/butler.h"
+
+namespace ARDOUR {
+
+Butler::Butler()
+ : thread(0)
+{
+ g_atomic_int_set(&should_do_transport_work, 0);
+}
+
+Butler::~Butler()
+{
+}
+
+} // namespace ARDOUR