diff options
Diffstat (limited to 'noatun-plugins/noatunmadness/madness.h')
-rw-r--r-- | noatun-plugins/noatunmadness/madness.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/noatun-plugins/noatunmadness/madness.h b/noatun-plugins/noatunmadness/madness.h new file mode 100644 index 0000000..b36c468 --- /dev/null +++ b/noatun-plugins/noatunmadness/madness.h @@ -0,0 +1,32 @@ +#ifndef MADNESS_H +#define MADNESS_H + +#include <noatun/plugin.h> +#include <string.h> +#include <qmap.h> +#include <qvaluelist.h> +#include <kwinmodule.h> + +class Madness : public QObject, public MonoFFTScope, public Plugin +{ +Q_OBJECT +public: + Madness(); + virtual ~Madness(); + + void init(); + +private slots: + void update(); + +protected: + virtual void scopeEvent(float *data, int bands); + +private: + KWinModule mWm; + QValueList<WId> mWindowList; + QRect mWorkArea; + QMap<WId, QPoint> mOriginalPositions; +}; + +#endif |