1
0
mirror of https://github.com/binary-kitchen/doorlockd synced 2024-11-17 20:49:11 +01:00
doorlockd-mirror/doorlockd/client/wave.h

26 lines
379 B
C
Raw Normal View History

#ifndef WAVE_H
#define WAVE_H
2015-10-11 19:15:50 +02:00
#include <mutex>
#include <string>
class Wave {
public:
Wave(const std::string &filename);
Wave(const Wave &rhs);
~Wave();
Wave &operator=(const Wave &rhs);
void play() const;
2015-10-11 19:15:50 +02:00
void playAsync() const;
private:
static std::mutex _playMutex;
const std::string _filename;
const std::string _command;
};
#endif