projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
doc: Update pulseview(1) manpage, add --no-scan option (-D)
[pulseview.git]
/
pv
/
util.hpp
diff --git
a/pv/util.hpp
b/pv/util.hpp
index bc71624bf3109fc2cb498778e943ac7acb3480f0..274839f8b7fd5cbd898bb451f032969a20669120 100644
(file)
--- a/
pv/util.hpp
+++ b/
pv/util.hpp
@@
-21,6
+21,8
@@
#define PULSEVIEW_UTIL_HPP
#include <cmath>
#define PULSEVIEW_UTIL_HPP
#include <cmath>
+#include <string>
+#include <vector>
#ifndef Q_MOC_RUN
#include <boost/multiprecision/cpp_dec_float.hpp>
#ifndef Q_MOC_RUN
#include <boost/multiprecision/cpp_dec_float.hpp>
@@
-29,6
+31,9
@@
#include <QMetaType>
#include <QString>
#include <QMetaType>
#include <QString>
+using std::string;
+using std::vector;
+
namespace pv {
namespace util {
namespace pv {
namespace util {
@@
-112,6
+117,8
@@
QString format_time_si_adjusted(const Timestamp& t, SIPrefix prefix,
QString format_time_minutes(const Timestamp& t, signed precision = 0,
bool sign = true);
QString format_time_minutes(const Timestamp& t, signed precision = 0,
bool sign = true);
+vector<string> split_string(string text, string separator);
+
} // namespace util
} // namespace pv
} // namespace util
} // namespace pv