* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef PULSEVIEW_PV_VIEWWIDGET_H
-#define PULSEVIEW_PV_VIEWWIDGET_H
+#ifndef PULSEVIEW_PV_VIEWWIDGET_HPP
+#define PULSEVIEW_PV_VIEWWIDGET_HPP
#include <memory>
protected:
ViewWidget(View &parent);
+ /**
+ * Indicates when a view item is being hovered over.
+ * @param item The item that is being hovered over, or @c nullptr
+ * if no view item is being hovered over.
+ * @remarks the default implementation does nothing.
+ */
+ virtual void item_hover(
+ const std::shared_ptr<pv::view::ViewItem> &item);
+
/**
* Indicates the event an a view item has been clicked.
* @param item the view item that has been clicked.
} // namespace view
} // namespace pv
-#endif // PULSEVIEW_PV_VIEWWIDGET_H
+#endif // PULSEVIEW_PV_VIEWWIDGET_HPP