X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fdata%2Flogic.hpp;h=a597027f85f7f3d4cc310bf4ad2d5e2bb334e829;hp=9adc9750bc8aa874849067c5eece2a6e939e4a8c;hb=c28fa62bc89656ba3b1b01011a45e941d6c7d42a;hpb=f3d66e52ed6b454ea7a0662d5e6367e230116a2b diff --git a/pv/data/logic.hpp b/pv/data/logic.hpp index 9adc9750..a597027f 100644 --- a/pv/data/logic.hpp +++ b/pv/data/logic.hpp @@ -18,8 +18,8 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -#ifndef PULSEVIEW_PV_DATA_LOGIC_H -#define PULSEVIEW_PV_DATA_LOGIC_H +#ifndef PULSEVIEW_PV_DATA_LOGIC_HPP +#define PULSEVIEW_PV_DATA_LOGIC_HPP #include "signaldata.hpp" @@ -35,7 +35,7 @@ class Logic : public SignalData public: Logic(unsigned int num_channels); - int get_num_channels() const; + unsigned int num_channels() const; void push_segment( std::shared_ptr &segment); @@ -47,7 +47,7 @@ public: void clear(); - uint64_t get_max_sample_count() const; + uint64_t max_sample_count() const; private: const unsigned int num_channels_; @@ -57,4 +57,4 @@ private: } // namespace data } // namespace pv -#endif // PULSEVIEW_PV_DATA_LOGIC_H +#endif // PULSEVIEW_PV_DATA_LOGIC_HPP