~ubuntu-branches/ubuntu/dapper/superkaramba/dapper

« back to all changes in this revision

Viewing changes to src/xmmssensor.h

  • Committer: Package Import Robot
  • Author(s): Jean-Michel Kelbert
  • Date: 2004-04-10 11:26:19 UTC
  • Revision ID: package-import@ubuntu.com-20040410112619-9sw20pgtkqkckdkk
Tags: upstream-0.33
ImportĀ upstreamĀ versionĀ 0.33

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/***************************************************************************
 
2
 *   Copyright (C) 2003 by Hans Karlsson                                   *
 
3
 *   karlsson.h@home.se                                                      *
 
4
 *                                                                         *
 
5
 *   This program is free software; you can redistribute it and/or modify  *
 
6
 *   it under the terms of the GNU General Public License as published by  *
 
7
 *   the Free Software Foundation; either version 2 of the License, or     *
 
8
 *   (at your option) any later version.                                   *
 
9
 ***************************************************************************/
 
10
#ifndef XMMSSENSOR_H
 
11
#define XMMSSENSOR_H
 
12
 
 
13
#ifdef HAVE_CONFIG_H
 
14
#include <config.h>
 
15
#endif
 
16
 
 
17
#include <qdatetime.h>
 
18
#include <qregexp.h>
 
19
#include <qtextcodec.h>
 
20
 
 
21
#include "sensor.h"
 
22
 
 
23
class XMMSSensor :  public Sensor
 
24
{
 
25
    Q_OBJECT
 
26
public:
 
27
    XMMSSensor( int interval, QString encoding="" );
 
28
    ~XMMSSensor();
 
29
    void update();
 
30
    void setMaxValue( SensorParams *);
 
31
 
 
32
private:
 
33
    QTextCodec *codec;
 
34
 
 
35
};
 
36
 
 
37
 
 
38
#endif // XMMSSENSOR_H