GITLAB

에프에이리눅스 / 1611_0007_prime_oven

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • 1611_0007_prime_oven
  • app
  • gui
  • oven_control
  • soundplayer.h
  • 2097d305c   소리 재생 기능 추가 Browse Code »
    김태훈
    2017-04-21 13:21:53 +0900  
soundplayer.h 336 Bytes
edit raw blame history
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
#ifndef SOUNDPLAYER_H
#define SOUNDPLAYER_H

#include <QObject>
#include <QSound>
#include <QMap>

class SoundPlayer : public QObject
{
    Q_OBJECT
public:
    static void play(const QString &filename);

signals:

public slots:

private:
    static QMap<QString, QSound *> map;
    static QSound *current;

};

#endif // SOUNDPLAYER_H