diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2015-03-22 18:12:48 +0100 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2015-03-22 18:12:48 +0100 |
commit | 6bac290b92b635be047237b880144dbc163df6ec (patch) | |
tree | ab2a00f15d1c698ae37966c494000219a0a74e2f /apps/sample-convert.cpp | |
parent | d7d545575250f616f0b9e2243e08544ab2794a03 (diff) | |
download | ble-toys-6bac290b92b635be047237b880144dbc163df6ec.tar.gz ble-toys-6bac290b92b635be047237b880144dbc163df6ec.tar.bz2 ble-toys-6bac290b92b635be047237b880144dbc163df6ec.tar.xz ble-toys-6bac290b92b635be047237b880144dbc163df6ec.zip |
o Splitting out io parts into trygvis::sensor::io.
Diffstat (limited to 'apps/sample-convert.cpp')
-rw-r--r-- | apps/sample-convert.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/sample-convert.cpp b/apps/sample-convert.cpp index 6ce83e8..0c3aa9a 100644 --- a/apps/sample-convert.cpp +++ b/apps/sample-convert.cpp @@ -1,4 +1,5 @@ -#include "trygvis/SensorSample.h" +#include "trygvis/sensor.h" +#include "trygvis/sensor/io.h" #include "json.hpp" #include "apps.h" #include <fstream> @@ -10,6 +11,7 @@ namespace apps { using namespace std; using namespace trygvis::apps; using namespace trygvis::sensor; +using namespace trygvis::sensor::io; using boost::tokenizer; namespace po = boost::program_options; @@ -66,7 +68,7 @@ public: } std::vector<sample_output_stream_option *> options; - trygvis::sensor::timestamp_field tf(timestamp_field); + trygvis::sensor::io::timestamp_field tf(timestamp_field); if (!timestamp_field.empty()) { options.push_back(&tf); |