X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Futil.hpp;h=274839f8b7fd5cbd898bb451f032969a20669120;hp=bc71624bf3109fc2cb498778e943ac7acb3480f0;hb=dbed5609ae31cdfc3e9db10f3ab91b7607c08372;hpb=c063290ac7189bdd15221450f598504f43286b43 diff --git a/pv/util.hpp b/pv/util.hpp index bc71624b..274839f8 100644 --- a/pv/util.hpp +++ b/pv/util.hpp @@ -21,6 +21,8 @@ #define PULSEVIEW_UTIL_HPP #include +#include +#include #ifndef Q_MOC_RUN #include @@ -29,6 +31,9 @@ #include #include +using std::string; +using std::vector; + 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); +vector split_string(string text, string separator); + } // namespace util } // namespace pv