pa-card-profile-tray/threadedmainlooplock.h

20 lines
359 B
C
Raw Normal View History

2018-10-01 07:00:27 +00:00
#ifndef THREADEDMAINLOOPLOCK_H
#define THREADEDMAINLOOPLOCK_H
#include <pulse/pulseaudio.h>
#include <QObject>
class ThreadedMainLoopLock {
public:
ThreadedMainLoopLock(pa_threaded_mainloop *ml);
~ThreadedMainLoopLock();
private:
Q_DISABLE_COPY(ThreadedMainLoopLock)
private:
pa_threaded_mainloop* ml;
};
#endif // THREADEDMAINLOOPLOCK_H