samplebrain/app/feedback.h

40 lines
1.1 KiB
C
Raw Permalink Normal View History

2015-07-27 11:43:20 -03:00
// Copyright (C) 2015 Dave Griffiths
//
// 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include <string>
#include <QtGui>
2022-09-03 12:07:03 -03:00
#include <QStatusBar>
#include "SettingsDialog.h"
2022-09-04 07:38:20 -03:00
#include "spiralcore/OSC_server.h"
2015-07-27 11:43:20 -03:00
#pragma once
namespace spiralcore {
2016-02-26 13:11:46 -03:00
class sound_items;
2015-07-27 11:43:20 -03:00
class feedback {
public:
feedback(std::string address);
void poll(QStatusBar *s, sound_items *sound_items, SettingsDialog *settings);
bool ok() { return m_osc.ok(); }
2015-07-27 11:43:20 -03:00
private:
OSC_server m_osc;
2015-07-27 11:43:20 -03:00
};
}