diff --git a/firmware/application/capture_thread.hpp b/firmware/application/capture_thread.hpp index 218a2867..225c1938 100644 --- a/firmware/application/capture_thread.hpp +++ b/firmware/application/capture_thread.hpp @@ -44,6 +44,11 @@ public: ); ~CaptureThread(); + CaptureThread(const CaptureThread&) = delete; + CaptureThread(CaptureThread&&) = delete; + CaptureThread& operator=(const CaptureThread&) = delete; + CaptureThread& operator=(CaptureThread&&) = delete; + const CaptureConfig& state() const { return config; } diff --git a/firmware/application/event_m0.hpp b/firmware/application/event_m0.hpp index f8442106..56f0a5c0 100644 --- a/firmware/application/event_m0.hpp +++ b/firmware/application/event_m0.hpp @@ -49,6 +49,11 @@ public: ui::Context& context ); + EventDispatcher(const EventDispatcher&) = delete; + EventDispatcher(EventDispatcher&&) = delete; + EventDispatcher& operator=(const EventDispatcher&) = delete; + EventDispatcher& operator=(EventDispatcher&&) = delete; + void run(); static void request_stop(); diff --git a/firmware/application/ui_navigation.hpp b/firmware/application/ui_navigation.hpp index 9e3c7df2..2b94d2f3 100644 --- a/firmware/application/ui_navigation.hpp +++ b/firmware/application/ui_navigation.hpp @@ -92,6 +92,8 @@ public: NavigationView(const NavigationView&) = delete; NavigationView(NavigationView&&) = delete; + NavigationView& operator=(const NavigationView&) = delete; + NavigationView& operator=(NavigationView&&) = delete; bool is_top() const; diff --git a/firmware/application/ui_spectrum.hpp b/firmware/application/ui_spectrum.hpp index cbf45644..ce0a8133 100644 --- a/firmware/application/ui_spectrum.hpp +++ b/firmware/application/ui_spectrum.hpp @@ -76,6 +76,11 @@ class WaterfallWidget : public View { public: WaterfallWidget(); + WaterfallWidget(const WaterfallWidget&) = delete; + WaterfallWidget(WaterfallWidget&&) = delete; + WaterfallWidget& operator=(const WaterfallWidget&) = delete; + WaterfallWidget& operator=(WaterfallWidget&&) = delete; + void on_show() override; void on_hide() override; diff --git a/firmware/baseband/baseband_thread.hpp b/firmware/baseband/baseband_thread.hpp index ce05dec7..54fa9023 100644 --- a/firmware/baseband/baseband_thread.hpp +++ b/firmware/baseband/baseband_thread.hpp @@ -37,6 +37,11 @@ public: const baseband::Direction direction = baseband::Direction::Receive ); ~BasebandThread(); + + BasebandThread(const BasebandThread&) = delete; + BasebandThread(BasebandThread&&) = delete; + BasebandThread& operator=(const BasebandThread&) = delete; + BasebandThread& operator=(BasebandThread&&) = delete; // This getter should die, it's just here to leak information to code that // isn't in the right place to begin with. diff --git a/firmware/baseband/stream_input.hpp b/firmware/baseband/stream_input.hpp index 1e73b8c0..1500d2e5 100644 --- a/firmware/baseband/stream_input.hpp +++ b/firmware/baseband/stream_input.hpp @@ -34,6 +34,11 @@ class StreamInput { public: StreamInput(CaptureConfig* const config); + StreamInput(const StreamInput&) = delete; + StreamInput(StreamInput&&) = delete; + StreamInput& operator=(const StreamInput&) = delete; + StreamInput& operator=(StreamInput&&) = delete; + size_t write(const void* const data, const size_t length); private: diff --git a/firmware/common/buffer_exchange.hpp b/firmware/common/buffer_exchange.hpp index 1f12da3d..7029f606 100644 --- a/firmware/common/buffer_exchange.hpp +++ b/firmware/common/buffer_exchange.hpp @@ -32,6 +32,11 @@ public: BufferExchange(CaptureConfig* const config); ~BufferExchange(); + BufferExchange(const BufferExchange&) = delete; + BufferExchange(BufferExchange&&) = delete; + BufferExchange& operator=(const BufferExchange&) = delete; + BufferExchange& operator=(BufferExchange&&) = delete; + #if defined(LPC43XX_M0) bool empty() const { return fifo_buffers_for_application->is_empty(); diff --git a/firmware/common/ui_widget.hpp b/firmware/common/ui_widget.hpp index 008bdaaf..3ec09d26 100644 --- a/firmware/common/ui_widget.hpp +++ b/firmware/common/ui_widget.hpp @@ -64,6 +64,8 @@ public: Widget(const Widget&) = delete; Widget(Widget&&) = delete; + Widget& operator=(const Widget&) = delete; + Widget& operator=(Widget&&) = delete; virtual ~Widget() = default; @@ -229,6 +231,11 @@ public: const Color background ); + Image(const Image&) = delete; + Image(Image&&) = delete; + Image& operator=(const Image&) = delete; + Image& operator=(Image&&) = delete; + void set_bitmap(const Bitmap* bitmap); void set_foreground(const Color color); void set_background(const Color color);