mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-12 02:40:00 +01:00
28 lines
424 B
C++
28 lines
424 B
C++
#ifndef METRONOME_H
|
|
#define METRONOME_H
|
|
|
|
|
|
class Metronome
|
|
{
|
|
// Private Constructor
|
|
Metronome();
|
|
Metronome(Metronome const& copy) = delete;
|
|
Metronome& operator=(Metronome const& copy) = delete;
|
|
|
|
public:
|
|
|
|
static Metronome& manager ()
|
|
{
|
|
// The only instance
|
|
static Metronome _instance;
|
|
return _instance;
|
|
}
|
|
|
|
bool init ();
|
|
void terminate();
|
|
|
|
|
|
};
|
|
|
|
#endif // METRONOME_H
|