2 #ifndef PYINTERP_WATCHER_H
3 #define PYINTERP_WATCHER_H
5 #include "PyInterp.h" // !!! WARNING !!! THIS INCLUDE MUST BE THE VERY FIRST !!!
7 #include "PyInterp_Dispatcher.h"
11 // Private class that keeps track of destructions of request listeners
12 class PYINTERP_EXPORT PyInterp_Watcher : public QObject
17 PyInterp_Watcher() : QObject( 0 ) {}
18 virtual ~PyInterp_Watcher() {}
21 void onDestroyed( QObject* o ) { PyInterp_Dispatcher::Get()->objectDestroyed( o ); }
24 #endif // PYINTERP_WATCHER_H