* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef PULSEVIEW_PV_DECODESIGNAL_H
-#define PULSEVIEW_PV_DECODESIGNAL_H
+#ifndef PULSEVIEW_PV_VIEW_DECODESIGNAL_H
+#define PULSEVIEW_PV_VIEW_DECODESIGNAL_H
#include "trace.h"
bool enabled() const;
+ const boost::shared_ptr<pv::data::Decoder>& decoder() const;
+
void set_view(pv::view::View *view);
/**
QMenu* create_context_menu(QWidget *parent);
-private:
-
- /**
- * When painting into the rectangle, calculate the y
- * offset of the zero point.
- **/
- int get_nominal_offset(const QRect &rect) const;
+ void delete_pressed();
private slots:
void on_new_decode_data();
} // namespace view
} // namespace pv
-#endif // PULSEVIEW_PV_DECODESIGNAL_H
+#endif // PULSEVIEW_PV_VIEW_DECODESIGNAL_H