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

« back to all changes in this revision

Viewing changes to src/noatunsensor.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 NOATUNSENSOR_H
 
11
#define NOATUNSENSOR_H
 
12
 
 
13
#include "sensor.h"
 
14
#include <dcopclient.h>
 
15
#include <qregexp.h>
 
16
#include <qcstring.h>
 
17
#include <qdatastream.h>
 
18
#include <qstringlist.h>
 
19
 
 
20
/**
 
21
@author Hans Karlsson
 
22
*/
 
23
class NoatunSensor : public Sensor
 
24
{
 
25
public:
 
26
    NoatunSensor( int interval, DCOPClient *client);
 
27
 
 
28
    ~NoatunSensor();
 
29
 
 
30
    void update();
 
31
    void setMaxValue( SensorParams *);
 
32
 
 
33
 
 
34
 
 
35
private:
 
36
    QCString noatunID;
 
37
 
 
38
    bool isRunning();
 
39
    QString getTitle();
 
40
    int getTime();
 
41
    int getLength();
 
42
 
 
43
 
 
44
    DCOPClient *client;
 
45
    QCString appId;
 
46
};
 
47
 
 
48
#endif