From a1237749dc45ecfaaffbad6ae91ba72e6e9de80e Mon Sep 17 00:00:00 2001 From: Gerhard Hoffmann Date: Fri, 2 Feb 2024 13:31:04 +0100 Subject: [PATCH] Minor change: add some commented out code --- include/reporting_thread.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/include/reporting_thread.h b/include/reporting_thread.h index 6e38364..fa4fcbf 100644 --- a/include/reporting_thread.h +++ b/include/reporting_thread.h @@ -3,6 +3,7 @@ #include #include +// #include class hwapi; class ReportingThread : public QThread { @@ -12,6 +13,14 @@ public: ReportingThread(hwapi *hw); ~ReportingThread(); + //void setFunction(std::function f) { + // m_f = f; + //} + + //std::function function() { + // return m_f; + //} + protected: // reporting thread does not have a running event queue, and therefore // no slots. signals work the usual way. @@ -20,6 +29,7 @@ protected: private: hwapi *m_hw; QString m_fileToDownload; + //std::function m_f; }; #endif // REPORTING_THREAD_H_INCLUDED