LLInstanceTracker added to llcommon (pulled from llui in v2 for usage elsewhere) LLEventTimer now using LLInstanceTracker Updated LLLiveAppConfig (Though it appears unused, really) processor.h is obsolete, thus removed. (llprocessor.h replaces it)
23 lines
620 B
C++
23 lines
620 B
C++
// <edit>
|
|
#include "llinventoryview.h"
|
|
#include "llinventory.h"
|
|
#include "lleventtimer.h"
|
|
class LLBuildNewViewsScheduler : public LLEventTimer
|
|
{
|
|
typedef struct
|
|
{
|
|
LLInventoryPanel* mInventoryPanel;
|
|
LLInventoryObject* mInventoryObject;
|
|
} job;
|
|
public:
|
|
LLBuildNewViewsScheduler();
|
|
void addJob(LLInventoryPanel* inventory_panel, LLInventoryObject* inventory_object);
|
|
void cancel(LLInventoryPanel* inventory_panel);
|
|
BOOL tick();
|
|
private:
|
|
static std::list<job> sJobs;
|
|
void buildNewViews(LLInventoryPanel* panelp, LLInventoryObject* objectp);
|
|
};
|
|
extern LLBuildNewViewsScheduler* gBuildNewViewsScheduler;
|
|
// </edit>
|