projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add initial NSIS file for building a win installer.
[pulseview.git]
/
signaldata.h
diff --git
a/signaldata.h
b/signaldata.h
index 18c9b3d5767b6c4f4ecc303449602f6730e2cba1..d85d4369a1bf78e0bbe892ab5fad740311c5838f 100644
(file)
--- 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 <joel@airwebreathe.org.uk>
*
*
* Copyright (C) 2012 Joel Holdsworth <joel@airwebreathe.org.uk>
*
@@
-23,9
+23,13
@@
class SignalData
{
public:
class SignalData
{
public:
- SignalData(uint64_t samplerate);
+ SignalData(double samplerate);
+
+public:
+ double get_samplerate() const;
+ double get_start_time() const;
protected:
protected:
- const
uint64_t
_samplerate;
- const
int64_t
_start_time;
+ const
double
_samplerate;
+ const
double
_start_time;
};
};