X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fview%2Fviewitemowner.hpp;h=877c96813ff2464fc5191b1e141df29ff601333f;hp=60c8507626eaae243b12aba2b05c409609512be1;hb=ae5f66281c38a76dcb7011907d7a86a99b9dd4dd;hpb=c373f82810ad9c5376a7370118de9dd587ee0e43 diff --git a/pv/view/viewitemowner.hpp b/pv/view/viewitemowner.hpp index 60c85076..877c9681 100644 --- a/pv/view/viewitemowner.hpp +++ b/pv/view/viewitemowner.hpp @@ -14,12 +14,11 @@ * 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_VIEWITEMOWNER_HPP -#define PULSEVIEW_PV_VIEW_VIEWITEMOWNER_HPP +#ifndef PULSEVIEW_PV_VIEWS_TRACEVIEW_VIEWITEMOWNER_HPP +#define PULSEVIEW_PV_VIEWS_TRACEVIEW_VIEWITEMOWNER_HPP #include #include @@ -30,7 +29,8 @@ namespace pv { class Session; -namespace view { +namespace views { +namespace TraceView { class ViewItem; class View; @@ -43,11 +43,6 @@ public: typedef ViewItemIterator const_iterator; public: - /** - * Returns a list of row items owned by this object. - */ - virtual item_list& child_items() = 0; - /** * Returns a list of row items owned by this object. */ @@ -77,7 +72,7 @@ public: const_iterator end() const; /** - * Creates a list of decendant signals filtered by type. + * Creates a list of descendant signals filtered by type. */ template std::vector< std::shared_ptr > list_by_type() { @@ -95,7 +90,8 @@ protected: item_list items_; }; -} // view -} // pv +} // namespace TraceView +} // namespace views +} // namespace pv -#endif // PULSEVIEW_PV_VIEW_VIEWITEMOWNER_HPP +#endif // PULSEVIEW_PV_VIEWS_TRACEVIEW_VIEWITEMOWNER_HPP