Change namespace for the trace view and implement ViewBase
[pulseview.git] / pv / view / cursorpair.cpp
index f9d3e53ddd3fec6bae38fc39dfdaa3d257ef87f8..e2c80833f2503631814a5ee1888f1088af13da69 100644 (file)
@@ -34,7 +34,8 @@ using std::shared_ptr;
 using std::pair;
 
 namespace pv {
-namespace view {
+namespace views {
+namespace TraceView {
 
 const int CursorPair::DeltaPadding = 8;
 const QColor CursorPair::ViewportFillColour(220, 231, 243);
@@ -192,5 +193,6 @@ pair<float, float> CursorPair::get_cursor_offsets() const
                ((second_->time() - view_.offset()) / view_.scale()).convert_to<float>());
 }
 
-} // namespace view
+} // namespace TraceView
+} // namespace views
 } // namespace pv