blob: 6e69f1af0b198fcf74789d24e13b91b23fb7ceb5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
/**
* @file llmortician.h
* @brief Base class for delayed deletions.
*
* Copyright (c) 2005-$CurrentYear$, Linden Research, Inc.
* $License$
*/
#ifndef LLMORTICIAN_H
#define LLMORTICIAN_H
#include "stdtypes.h"
class LLMortician
{
public:
LLMortician() { mIsDead = FALSE; }
static void updateClass();
virtual ~LLMortician();
void die();
BOOL isDead() { return mIsDead; }
// sets destroy immediate true
static void setZealous(BOOL b);
private:
static BOOL sDestroyImmediate;
BOOL mIsDead;
};
#endif
|