2013-12-08 22:44:43 +01:00
|
|
|
/*
|
|
|
|
* Author: Harry van Haaren 2013
|
|
|
|
* harryhaaren@gmail.com
|
|
|
|
*
|
|
|
|
* 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 3 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, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
2013-05-15 03:55:51 +02:00
|
|
|
|
2013-07-31 18:19:15 +02:00
|
|
|
#ifndef LUPPP_TIME_OBSERVER_H
|
|
|
|
#define LUPPP_TIME_OBSERVER_H
|
2013-05-15 03:55:51 +02:00
|
|
|
|
2013-10-12 14:19:37 +02:00
|
|
|
#include "../config.hxx"
|
|
|
|
|
2013-07-31 11:55:48 +02:00
|
|
|
class TimeObserver
|
2013-05-15 03:55:51 +02:00
|
|
|
{
|
|
|
|
public:
|
2013-08-04 19:04:26 +02:00
|
|
|
/// registers with TimeManager
|
|
|
|
TimeObserver();
|
2013-09-21 00:28:59 +02:00
|
|
|
virtual ~TimeObserver(){};
|
2013-08-04 19:04:26 +02:00
|
|
|
|
2013-05-15 03:55:51 +02:00
|
|
|
virtual void setFpb(int fpb){};
|
2013-05-15 05:05:36 +02:00
|
|
|
|
2013-10-12 14:19:37 +02:00
|
|
|
|
2013-10-12 23:03:36 +02:00
|
|
|
virtual void bar(){};
|
2013-10-12 14:19:37 +02:00
|
|
|
|
2013-05-15 05:05:36 +02:00
|
|
|
virtual void beat(){};
|
|
|
|
|
2013-08-05 18:52:53 +02:00
|
|
|
virtual void tapTempo(bool b){};
|
|
|
|
|
2013-05-15 03:55:51 +02:00
|
|
|
};
|
|
|
|
|
2013-07-31 18:19:15 +02:00
|
|
|
#endif // LUPPP_TIME_OBSERVER_H
|