diff options
Diffstat (limited to 'indra/llui/llviewmodel.h')
-rwxr-xr-x | indra/llui/llviewmodel.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/indra/llui/llviewmodel.h b/indra/llui/llviewmodel.h index ef2e314799..f329201b9f 100755 --- a/indra/llui/llviewmodel.h +++ b/indra/llui/llviewmodel.h @@ -37,8 +37,9 @@ #include "llpointer.h" #include "llsd.h" #include "llrefcount.h" -#include "stdenums.h" #include "llstring.h" +#include "lltrace.h" +#include "llui.h" #include <string> class LLScrollListItem; @@ -60,7 +61,9 @@ typedef LLPointer<LLListViewModel> LLListViewModelPtr; * LLViewModel data. This way, the LLViewModel is quietly deleted when the * last referencing widget is destroyed. */ -class LLViewModel: public LLRefCount +class LLViewModel +: public LLRefCount, + public LLTrace::MemTrackable<LLViewModel> { public: LLViewModel(); @@ -80,6 +83,8 @@ public: // void setDirty() { mDirty = true; } + //static LLTrace::MemStatHandle sMemStat; + protected: LLSD mValue; bool mDirty; |