X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=signaldata.h;h=d85d4369a1bf78e0bbe892ab5fad740311c5838f;hb=b3f22de060b73f15ad3eb2dabee04a0b4f5d947e;hp=18c9b3d5767b6c4f4ecc303449602f6730e2cba1;hpb=2858b391af20bd46c9a7da17195ec8d58bcd12c3;p=pulseview.git diff --git a/signaldata.h b/signaldata.h index 18c9b3d..d85d436 100644 --- a/signaldata.h +++ b/signaldata.h @@ -1,5 +1,5 @@ /* - * This file is part of the sigrok project. + * This file is part of the PulseView project. * * Copyright (C) 2012 Joel Holdsworth * @@ -23,9 +23,13 @@ class SignalData { public: - SignalData(uint64_t samplerate); + SignalData(double samplerate); + +public: + double get_samplerate() const; + double get_start_time() const; protected: - const uint64_t _samplerate; - const int64_t _start_time; + const double _samplerate; + const double _start_time; };