From: Soeren Apel Date: Wed, 24 Jan 2018 08:35:23 +0000 (+0100) Subject: Session: Clean up header a little X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=056f443e2a6f8db80161ce08d7ff8111175bc3d6;p=pulseview.git Session: Clean up header a little --- diff --git a/pv/session.hpp b/pv/session.hpp index ead2f82d..19fd9938 100644 --- a/pv/session.hpp +++ b/pv/session.hpp @@ -193,7 +193,6 @@ private: vector user_spec, map> fmt_opts); -private: void sample_thread_proc(function error_handler); void free_unused_memory(); @@ -217,6 +216,27 @@ private: void data_feed_in(shared_ptr device, shared_ptr packet); +Q_SIGNALS: + void capture_state_changed(int state); + void device_changed(); + + void signals_changed(); + + void name_changed(); + + void trigger_event(util::Timestamp location); + + void new_segment(int new_segment_id); + void segment_completed(int segment_id); + + void data_received(); + + void add_view(const QString &title, views::ViewType type, + Session *session); + +public Q_SLOTS: + void on_data_saved(); + private: DeviceManager &device_manager_; shared_ptr device_; @@ -246,27 +266,6 @@ private: bool out_of_memory_; bool data_saved_; bool frame_began_; - -Q_SIGNALS: - void capture_state_changed(int state); - void device_changed(); - - void signals_changed(); - - void name_changed(); - - void trigger_event(util::Timestamp location); - - void new_segment(int new_segment_id); - void segment_completed(int segment_id); - - void data_received(); - - void add_view(const QString &title, views::ViewType type, - Session *session); - -public Q_SLOTS: - void on_data_saved(); }; } // namespace pv