From 6effbc283b3fa5b34bd45045c81168afa979572c Mon Sep 17 00:00:00 2001 From: sbahling Date: Sat, 20 Oct 2018 23:59:28 +0200 Subject: Initial refactoring work --- callback.py | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 callback.py (limited to 'callback.py') 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 -- cgit v1.2.3