X-Git-Url: http://git.code-monkey.de/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fview%2Fflag.hpp;h=5dec187c4efa3035c1a36f0926d7225604b8a782;hp=bc82934e161e5829d5d025f515931c5817a60268;hb=6f925ba9d6faf1077b73c5a5808259576081716a;hpb=1a2288a1b2479be9001fab6ced8385cfc86c3f69 diff --git a/pv/view/flag.hpp b/pv/view/flag.hpp index bc82934..5dec187 100644 --- a/pv/view/flag.hpp +++ b/pv/view/flag.hpp @@ -14,24 +14,25 @@ * 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 . */ -#ifndef PULSEVIEW_PV_VIEW_FLAG_HPP -#define PULSEVIEW_PV_VIEW_FLAG_HPP +#ifndef PULSEVIEW_PV_VIEWS_TRACEVIEW_FLAG_HPP +#define PULSEVIEW_PV_VIEWS_TRACEVIEW_FLAG_HPP #include #include "timemarker.hpp" +using std::enable_shared_from_this; + class QMenu; namespace pv { -namespace view { +namespace views { +namespace TraceView { -class Flag : public TimeMarker, - public std::enable_shared_from_this +class Flag : public TimeMarker, public enable_shared_from_this { Q_OBJECT @@ -77,7 +78,8 @@ private: QString text_; }; -} // namespace view +} // namespace TraceView +} // namespace views } // namespace pv -#endif // PULSEVIEW_PV_VIEW_FLAG_HPP +#endif // PULSEVIEW_PV_VIEWS_TRACEVIEW_FLAG_HPP