Added creation and deletion time getters to Team and Thread.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30341 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -61,6 +61,9 @@ public:
|
|||||||
|
|
||||||
inline team_id ID() const;
|
inline team_id ID() const;
|
||||||
|
|
||||||
|
inline bigtime_t CreationTime() const;
|
||||||
|
inline bigtime_t DeletionTime() const;
|
||||||
|
|
||||||
bool AddThread(Thread* thread);
|
bool AddThread(Thread* thread);
|
||||||
|
|
||||||
inline void SetDeletionTime(bigtime_t time);
|
inline void SetDeletionTime(bigtime_t time);
|
||||||
@@ -90,6 +93,9 @@ public:
|
|||||||
inline thread_id ID() const;
|
inline thread_id ID() const;
|
||||||
inline const char* Name() const;
|
inline const char* Name() const;
|
||||||
|
|
||||||
|
inline bigtime_t CreationTime() const;
|
||||||
|
inline bigtime_t DeletionTime() const;
|
||||||
|
|
||||||
inline void SetDeletionTime(bigtime_t time);
|
inline void SetDeletionTime(bigtime_t time);
|
||||||
|
|
||||||
static inline int CompareByID(const Thread* a, const Thread* b);
|
static inline int CompareByID(const Thread* a, const Thread* b);
|
||||||
@@ -117,6 +123,20 @@ Model::Team::ID() const
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
bigtime_t
|
||||||
|
Model::Team::CreationTime() const
|
||||||
|
{
|
||||||
|
return fCreationTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
bigtime_t
|
||||||
|
Model::Team::DeletionTime() const
|
||||||
|
{
|
||||||
|
return fDeletionTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
Model::Team::SetDeletionTime(bigtime_t time)
|
Model::Team::SetDeletionTime(bigtime_t time)
|
||||||
{
|
{
|
||||||
@@ -152,6 +172,20 @@ Model::Thread::Name() const
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
bigtime_t
|
||||||
|
Model::Thread::CreationTime() const
|
||||||
|
{
|
||||||
|
return fCreationTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
bigtime_t
|
||||||
|
Model::Thread::DeletionTime() const
|
||||||
|
{
|
||||||
|
return fDeletionTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
Model::Thread::SetDeletionTime(bigtime_t time)
|
Model::Thread::SetDeletionTime(bigtime_t time)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user