diff options
| author | David Skoland <davidskoland@gmail.com> | 2018-12-26 16:43:08 +0100 |
|---|---|---|
| committer | David Skoland <davidskoland@gmail.com> | 2018-12-26 16:43:08 +0100 |
| commit | 00cfd2750d39795e4c205aee2a33b92b1da2524d (patch) | |
| tree | 839c1129418ca8fefe41e6814917f9dabb6efa4b /include/aoblipplayer.h | |
| parent | 6f1bce5882676ea7affe717a2f5a00b8c3b7fe12 (diff) | |
moved headers into include and cpp files into src + logo into resource
Diffstat (limited to 'include/aoblipplayer.h')
| -rw-r--r-- | include/aoblipplayer.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/include/aoblipplayer.h b/include/aoblipplayer.h new file mode 100644 index 00000000..aebba77d --- /dev/null +++ b/include/aoblipplayer.h @@ -0,0 +1,30 @@ +#ifndef AOBLIPPLAYER_H +#define AOBLIPPLAYER_H + +#include "bass.h" +#include "aoapplication.h" + +#include <QWidget> +#include <string.h> +#include <QDebug> + +class AOBlipPlayer +{ +public: + AOBlipPlayer(QWidget *parent, AOApplication *p_ao_app); + + void set_blips(QString p_sfx); + void blip_tick(); + void set_volume(int p_volume); + + int m_cycle = 0; + +private: + QWidget *m_parent; + AOApplication *ao_app; + + int m_volume; + HSTREAM m_stream_list[5]; +}; + +#endif // AOBLIPPLAYER_H |
