a2ad09f38f05567dbeb71485fbc4bb51ac0150a7
[mussa.git] / qui / threading / InterpreterThread.hpp
1 #ifndef INTERPRETERTHREAD_HPP_
2 #define INTERPRETERTHREAD_HPP_
3
4 #include <QThread>
5
6 class MussaPython;
7 class InterpreterThread : public QThread {
8   Q_OBJECT
9 public:
10   void run();
11   MussaPython *get_py();
12 private:
13   //! only let ThreadManager create this object.
14   InterpreterThread();
15   friend class ThreadManager;
16 }; 
17 #endif /*INTERPRETERTHREAD_HPP_*/