From 2e793141e5434043205763c70d3a597cf2d78eeb Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Sat, 4 Jan 2025 17:51:59 +0100 Subject: Separate clocks --- MainLoop.h | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 MainLoop.h (limited to 'MainLoop.h') diff --git a/MainLoop.h b/MainLoop.h new file mode 100644 index 0000000..0aac227 --- /dev/null +++ b/MainLoop.h @@ -0,0 +1,33 @@ +#pragma once + +#include "NoteClick.h" +#include "ClockClick.h" +#include "InternalClick.h" +#include "MIDI.h" +#include "PCM.h" +#include "UI.h" + +#include + +class MainLoop +{ +public: + MainLoop(); + int run(); + +private: + void reconfigure_mode(); + + boost::signals2::connection m_click_connection; + + Config m_config; + + NoteClick m_note_click; + ClockClick m_clock_click; + InternalClick m_internal_click; + + MIDI m_midi; + PCM m_pcm; + UI m_ui; +}; + -- cgit v1.2.3