]> sigrok.org Git - pulseview.git/blobdiff - pv/view/decodesignal.h
Removed spurious declaration
[pulseview.git] / pv / view / decodesignal.h
index 22e0f3d07c02b31bd6b4bf75da4e212eb31b7a79..c1b53d5711fc87a9abefe8fcd5bd85db5c8896aa 100644 (file)
@@ -18,8 +18,8 @@
  * 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"
 
@@ -46,6 +46,8 @@ public:
 
        bool enabled() const;
 
+       const boost::shared_ptr<pv::data::Decoder>& decoder() const;
+
        void set_view(pv::view::View *view);
 
        /**
@@ -66,13 +68,7 @@ public:
 
        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();
@@ -88,4 +84,4 @@ private:
 } // namespace view
 } // namespace pv
 
-#endif // PULSEVIEW_PV_DECODESIGNAL_H
+#endif // PULSEVIEW_PV_VIEW_DECODESIGNAL_H