X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;ds=inline;f=pv%2Fview%2Ftracetreeitemowner.hpp;h=58a656d084d0259fa73c29c1d2d46b49dfa05191;hb=b8f1cdeba7cf6c2b749ff60102ce4e260fa1309e;hp=b5f1a3ad7124ac45cc994e752581ae959917eace;hpb=f4e57597347e47a4ea58fbdc7b0a22e07f1c0ede;p=pulseview.git
diff --git a/pv/view/tracetreeitemowner.hpp b/pv/view/tracetreeitemowner.hpp
index b5f1a3a..58a656d 100644
--- a/pv/view/tracetreeitemowner.hpp
+++ b/pv/view/tracetreeitemowner.hpp
@@ -14,8 +14,7 @@
* 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_VIEWS_TRACEVIEW_TRACETREEITEMOWNER_HPP
@@ -24,6 +23,10 @@
#include "viewitemowner.hpp"
#include "tracetreeitem.hpp"
+using std::pair;
+using std::shared_ptr;
+using std::vector;
+
namespace pv {
class Session;
@@ -72,8 +75,7 @@ public:
/**
* Returns a list of row items owned by this object.
*/
- std::vector< std::shared_ptr >
- trace_tree_child_items() const;
+ vector< shared_ptr > trace_tree_child_items() const;
/**
* Clears the list of child items.
@@ -83,12 +85,12 @@ public:
/**
* Adds a child item to this object.
*/
- void add_child_item(std::shared_ptr item);
+ void add_child_item(shared_ptr item);
/**
* Removes a child item from this object.
*/
- void remove_child_item(std::shared_ptr item);
+ void remove_child_item(shared_ptr item);
virtual void restack_items();
@@ -96,7 +98,7 @@ public:
* Computes the vertical extents of the contents of this row item owner.
* @return A pair containing the minimum and maximum y-values.
*/
- std::pair v_extents() const;
+ pair v_extents() const;
/*
* Reassigns background color states to all its children, thereby