X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=pv%2Fdata%2Flogic.hpp;h=6e5749a31ee86daac20bf38f2b963a66ed69ebb3;hb=5e6967cb2bcacbfb9e5b627becb6752621949998;hp=baad18f79bd82048c40f6a76872975ab6066ad3a;hpb=7a01bd3654ed046216308fa64edfd79be7cd525f;p=pulseview.git diff --git a/pv/data/logic.hpp b/pv/data/logic.hpp index baad18f7..6e5749a3 100644 --- a/pv/data/logic.hpp +++ b/pv/data/logic.hpp @@ -14,8 +14,7 @@ * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * along with this program; if not, see . */ #ifndef PULSEVIEW_PV_DATA_LOGIC_HPP @@ -35,7 +34,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 +46,7 @@ public: void clear(); - uint64_t get_max_sample_count() const; + uint64_t max_sample_count() const; private: const unsigned int num_channels_;