summaryrefslogtreecommitdiffhomepage
path: root/MainLoop.h
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2025-01-04 17:51:59 +0100
committerRoland Reichwein <mail@reichwein.it>2025-01-04 17:51:59 +0100
commit2e793141e5434043205763c70d3a597cf2d78eeb (patch)
tree8b6a14273fcc98ff7bf118cf63574257a637547f /MainLoop.h
parent624a69994d89c71b1ce59dd3b2117a235400be2f (diff)
Separate clocks
Diffstat (limited to 'MainLoop.h')
-rw-r--r--MainLoop.h33
1 files changed, 33 insertions, 0 deletions
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 <boost/signals2.hpp>
+
+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;
+};
+