superkaramba
xmmssensor.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef XMMSSENSOR_H
00011 #define XMMSSENSOR_H
00012
00013 #ifdef HAVE_CONFIG_H
00014 #include <config.h>
00015 #endif
00016
00017 #include <tqdatetime.h>
00018 #include <tqregexp.h>
00019 #include <tqtextcodec.h>
00020
00021 #include "sensor.h"
00022
00023 class XMMSSensor : public Sensor
00024 {
00025 Q_OBJECT
00026 TQ_OBJECT
00027 public:
00028 XMMSSensor( int interval, const TQString &encoding=TQString() );
00029 ~XMMSSensor();
00030 void update();
00031 void setMaxValue( SensorParams *);
00032 bool hasXMMS() const;
00033
00034 private:
00035 TQTextCodec *codec;
00036
00037 class XMMS;
00038 XMMS *xmms;
00039 };
00040
00041
00042 #endif // XMMSSENSOR_H