]> sigrok.org Git - pulseview.git/blobdiff - pv/data/signaldata.cpp
Fix #1035 by checking for exceptions when accessing config
[pulseview.git] / pv / data / signaldata.cpp
index 2c6e3c66c38fb55cb5c65f40cb6a71d8cac02ea7..f3bced81147fc042dd0611cd7cc9e01cef9d3566 100644 (file)
  * 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 <http://www.gnu.org/licenses/>.
  */
 
-#include "signaldata.h"
+#include "signaldata.hpp"
 
 namespace pv {
 namespace data {
 
-SignalData::SignalData(double samplerate) :
-       _samplerate(samplerate),
-       _start_time(0)
-{
-}
-
-double SignalData::get_samplerate() const
-{
-       return _samplerate;
-}
-
-double SignalData::get_start_time() const
-{
-       return _start_time;
-}
-
 } // namespace data
 } // namespace pv