From 82d9e19758ac4ac7f946a8d03f4cae85b80826c3 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Wed, 22 Apr 2009 00:23:29 +0000 Subject: [PATCH] Added Thread::Name() getter. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30314 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/debuganalyzer/Model.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/apps/debuganalyzer/Model.h b/src/apps/debuganalyzer/Model.h index 45d85ad476..aa806ea0c7 100644 --- a/src/apps/debuganalyzer/Model.h +++ b/src/apps/debuganalyzer/Model.h @@ -88,6 +88,7 @@ public: ~Thread(); inline thread_id ID() const; + inline const char* Name() const; inline void SetDeletionTime(bigtime_t time); @@ -144,6 +145,13 @@ Model::Thread::ID() const } +const char* +Model::Thread::Name() const +{ + return fCreationEvent->name; +} + + void Model::Thread::SetDeletionTime(bigtime_t time) {