]> sigrok.org Git - pulseview.git/blobdiff - pv/view/cursor.hpp
DeviceManager: Don't perform scans with DMM drivers
[pulseview.git] / pv / view / cursor.hpp
index 03b97a17789e948e4062dc44f484274d238fdcc7..e78920e2c3e8df29572fb1d7cd6e62e5b9033e97 100644 (file)
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+ * along with this program; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#ifndef PULSEVIEW_PV_VIEW_CURSOR_H
-#define PULSEVIEW_PV_VIEW_CURSOR_H
+#ifndef PULSEVIEW_PV_VIEWS_TRACEVIEW_CURSOR_HPP
+#define PULSEVIEW_PV_VIEWS_TRACEVIEW_CURSOR_HPP
 
 #include "timemarker.hpp"
 
 
 #include <QSizeF>
 
+using std::shared_ptr;
+
 class QPainter;
 
 namespace pv {
-namespace view {
+namespace views {
+namespace TraceView {
 
 class Cursor : public TimeMarker
 {
@@ -66,10 +68,11 @@ public:
        QRectF label_rect(const QRectF &rect) const;
 
 private:
-       std::shared_ptr<Cursor> get_other_cursor() const;
+       shared_ptr<Cursor> get_other_cursor() const;
 };
 
-} // namespace view
+} // namespace TraceView
+} // namespace views
 } // namespace pv
 
-#endif // PULSEVIEW_PV_VIEW_CURSOR_H
+#endif // PULSEVIEW_PV_VIEWS_TRACEVIEW_CURSOR_HPP