1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-09-07 12:54:34 +00:00
CLK/Machines/ActivitySource.hpp
Thomas Harte 70e6c3b2f6 Introduces the ActivityObserver protocol for LEDs, drive events, etc.
The Electron's caps lock LED is the test case.
2018-05-07 21:57:54 -04:00

25 lines
413 B
C++

//
// ActivitySource.h
// Clock Signal
//
// Created by Thomas Harte on 07/05/2018.
// Copyright © 2018 Thomas Harte. All rights reserved.
//
#ifndef ActivitySource_h
#define ActivitySource_h
#include "../ActivityObserver/ActivityObserver.hpp"
namespace ActivitySource {
class Machine {
public:
virtual void set_activity_observer(ActivityObserver *receiver) = 0;
};
}
#endif /* ActivitySource_h */