summaryrefslogtreecommitdiff
path: root/callback.py
diff options
context:
space:
mode:
authorsbahling <sbahling@cagafuego.fritz.box>2018-10-20 23:59:28 +0200
committersbahling <sbahling@cagafuego.fritz.box>2018-10-20 23:59:28 +0200
commit6effbc283b3fa5b34bd45045c81168afa979572c (patch)
treea57236c458c1833551b81bc94ccf8d82500b117c /callback.py
parent50ae6f1fdd4fd9e880435ff7e831f7461cb5302e (diff)
downloadtascam-fw-osc-6effbc283b3fa5b34bd45045c81168afa979572c.tar.gz
tascam-fw-osc-6effbc283b3fa5b34bd45045c81168afa979572c.tar.xz
tascam-fw-osc-6effbc283b3fa5b34bd45045c81168afa979572c.zip
Initial refactoring work
Diffstat (limited to 'callback.py')
-rw-r--r--callback.py27
1 files changed, 27 insertions, 0 deletions
diff --git a/callback.py b/callback.py
new file mode 100644
index 0000000..484b668
--- /dev/null
+++ b/callback.py
@@ -0,0 +1,27 @@
+#!/usr/bin/env python3
+"""
+ Open Sound Control send/recieve daemon for Tascam Firewire control surface
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+ :copyright: Copyright (c) 2012-2014 Scott Bahling
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License version 2 as
+ published by the Free Software Foundation.
+
+ 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 (see the file COPYING); if not, write to the
+ Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
+ :license: GPL-2.0, see COPYING for details
+"""
+
+
+class CallBack():
+ def __init__(self, callback_function, **args):
+ self.call = callback_function
+ self.args = args