summaryrefslogtreecommitdiff
path: root/src/thrower.h
blob: 5e4c4fbbb4d4f50054481e4b546575149ed0306e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#ifndef THROWER_H
#define THROWER_H

#include <QApplication>

/////////////////////////////////
// This exists only for the purpose of being something to throw.
// It is essentially private to krunch.cxx
// Apparently it has to exist in a .h file (not in krunch.cxx)
// because of the way the meta-object-compiler works.
//
class thrower : public QObject{

  Q_OBJECT

Q_SIGNALS:              // outbound signals
  void _newReading(const double, const double, const double, const double);
  void _flush();

public:
  void newReading(const double rp0, const double ip0,
               const double rp1, const double ip1);

  void flush();
};

#endif /* THROWER_H */