You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#ifndef PLUGIN_DEPS_H
|
|
|
|
#define PLUGIN_DEPS_H
|
|
|
|
|
|
|
|
#include <tqtimer.h>
|
|
|
|
#include <tqobject.h>
|
|
|
|
#include <noatunarts.h>
|
|
|
|
|
|
|
|
class Visualization;
|
|
|
|
class NoatunListener;
|
|
|
|
|
|
|
|
|
|
|
|
class TimerThingy : public TQObject
|
|
|
|
{
|
|
|
|
TQ_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
TimerThingy(Visualization*);
|
|
|
|
|
|
|
|
void setInterval(int msec);
|
|
|
|
void stop();
|
|
|
|
void start();
|
|
|
|
|
|
|
|
public:
|
|
|
|
virtual void timerEvent(TQTimerEvent *);
|
|
|
|
|
|
|
|
private:
|
|
|
|
Visualization *mVis;
|
|
|
|
int id;
|
|
|
|
int ms;
|
|
|
|
};
|
|
|
|
|
|
|
|
class NoatunListenerNotif : public Noatun::Listener_skel
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
NoatunListenerNotif(NoatunListener *);
|
|
|
|
|
|
|
|
virtual void message();
|
|
|
|
|
|
|
|
operator Noatun::Listener() { return Noatun::Listener::_from_base(_copy()); }
|
|
|
|
private:
|
|
|
|
NoatunListener *mListener;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|