summaryrefslogtreecommitdiffhomepage
path: root/Click.h
diff options
context:
space:
mode:
Diffstat (limited to 'Click.h')
-rw-r--r--Click.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/Click.h b/Click.h
index 0c2d0c7..7861d33 100644
--- a/Click.h
+++ b/Click.h
@@ -38,10 +38,14 @@ public:
virtual ~NoteClick(){}
+ // signals
boost::signals2::signal<void()> signal_click;
- void receive_note(int channel, int note)
+ // slots
+ void receive_note(int channel, int note, uint64_t timestamp)
{
+ (void) timestamp;
+
if (true || (channel == m_channel && note == m_note)) {
signal_click();
}