X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fview%2Fflag.hpp;h=bc82934e161e5829d5d025f515931c5817a60268;hp=c4e4cbb2c211b8b11e7ba96cebcfe274d6651f23;hb=744aa24fc5a7084461e4e70595b96f1c3eac65e4;hpb=97430d7726c69e1710aef223c39c760c79721ff5 diff --git a/pv/view/flag.hpp b/pv/view/flag.hpp index c4e4cbb2..bc82934e 100644 --- a/pv/view/flag.hpp +++ b/pv/view/flag.hpp @@ -18,8 +18,8 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -#ifndef PULSEVIEW_PV_VIEW_FLAG_H -#define PULSEVIEW_PV_VIEW_FLAG_H +#ifndef PULSEVIEW_PV_VIEW_FLAG_HPP +#define PULSEVIEW_PV_VIEW_FLAG_HPP #include @@ -45,7 +45,7 @@ public: * @param time The time to set the flag to. * @param text The text of the marker. */ - Flag(View &view, double time, const QString &text); + Flag(View &view, const pv::util::Timestamp& time, const QString &text); /** * Copy constructor. @@ -80,4 +80,4 @@ private: } // namespace view } // namespace pv -#endif // PULSEVIEW_PV_VIEW_FLAG_H +#endif // PULSEVIEW_PV_VIEW_FLAG_HPP