From 9852b855db2a65ea6eb5e877411634820214ddf0 Mon Sep 17 00:00:00 2001 From: John Denker Date: Sat, 16 Mar 2024 11:21:23 -0700 Subject: initial setup --- src/thrower.h | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 src/thrower.h (limited to 'src/thrower.h') diff --git a/src/thrower.h b/src/thrower.h new file mode 100644 index 0000000..5e4c4fb --- /dev/null +++ b/src/thrower.h @@ -0,0 +1,27 @@ +#ifndef THROWER_H +#define THROWER_H + +#include + +///////////////////////////////// +// 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 */ -- cgit v1.2.3