]> sigrok.org Git - pulseview.git/blobdiff - pv/data/decode/decoder.hpp
Fix inconsistent declaration parameter names.
[pulseview.git] / pv / data / decode / decoder.hpp
index fbe59059cf6190167d8cc0333c27e01008e094eb..2d9fcc639591a5226101f40eb8ded32911447dbf 100644 (file)
@@ -18,8 +18,8 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
-#ifndef PULSEVIEW_PV_DATA_DECODE_DECODER_H
-#define PULSEVIEW_PV_DATA_DECODE_DECODER_H
+#ifndef PULSEVIEW_PV_DATA_DECODE_DECODER_HPP
+#define PULSEVIEW_PV_DATA_DECODE_DECODER_HPP
 
 #include <map>
 #include <memory>
@@ -47,7 +47,7 @@ namespace decode {
 class Decoder
 {
 public:
-       Decoder(const srd_decoder *const decoder);
+       Decoder(const srd_decoder *const dec);
 
        virtual ~Decoder();
 
@@ -68,9 +68,9 @@ public:
        bool have_required_channels() const;
 
        srd_decoder_inst* create_decoder_inst(
-               srd_session *session, int unit_size) const;
+               srd_session *session) const;
 
-       std::set< std::shared_ptr<pv::data::Logic> > get_data();        
+       std::set< std::shared_ptr<pv::data::Logic> > get_data();
 
 private:
        const srd_decoder *const decoder_;
@@ -86,4 +86,4 @@ private:
 } // namespace data
 } // namespace pv
 
-#endif // PULSEVIEW_PV_DATA_DECODE_DECODER_H
+#endif // PULSEVIEW_PV_DATA_DECODE_DECODER_HPP