projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Segment: Rework append_samples() so it can handle large input
[pulseview.git]
/
pv
/
view
/
cursor.hpp
diff --git
a/pv/view/cursor.hpp
b/pv/view/cursor.hpp
index e64beaa9f626d68e6de7ebcd090231a6f73892da..e78920e2c3e8df29572fb1d7cd6e62e5b9033e97 100644
(file)
--- a/
pv/view/cursor.hpp
+++ b/
pv/view/cursor.hpp
@@
-14,12
+14,11
@@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* 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_HPP
-#define PULSEVIEW_PV_VIEW_CURSOR_HPP
+#ifndef PULSEVIEW_PV_VIEW
S_TRACEVIEW
_CURSOR_HPP
+#define PULSEVIEW_PV_VIEW
S_TRACEVIEW
_CURSOR_HPP
#include "timemarker.hpp"
#include "timemarker.hpp"
@@
-27,10
+26,13
@@
#include <QSizeF>
#include <QSizeF>
+using std::shared_ptr;
+
class QPainter;
namespace pv {
class QPainter;
namespace pv {
-namespace view {
+namespace views {
+namespace TraceView {
class Cursor : public TimeMarker
{
class Cursor : public TimeMarker
{
@@
-66,10
+68,11
@@
public:
QRectF label_rect(const QRectF &rect) const;
private:
QRectF label_rect(const QRectF &rect) const;
private:
- s
td::s
hared_ptr<Cursor> get_other_cursor() const;
+ shared_ptr<Cursor> get_other_cursor() const;
};
};
-} // namespace view
+} // namespace TraceView
+} // namespace views
} // namespace pv
} // namespace pv
-#endif // PULSEVIEW_PV_VIEW_CURSOR_HPP
+#endif // PULSEVIEW_PV_VIEW
S_TRACEVIEW
_CURSOR_HPP