soc-2008-mxcurioni: merge with trunk - rev 15540
This commit is contained in:
@@ -68,6 +68,11 @@ protected:
|
||||
*/
|
||||
bool m_suspended;
|
||||
|
||||
/**
|
||||
* init state of object (used when object is created)
|
||||
*/
|
||||
unsigned int m_initState;
|
||||
|
||||
/**
|
||||
* current state = bit mask of state that are active
|
||||
*/
|
||||
@@ -117,6 +122,16 @@ public:
|
||||
*/
|
||||
void Resume(void);
|
||||
|
||||
/**
|
||||
* Set init state
|
||||
*/
|
||||
void SetInitState(unsigned int initState) { m_initState = initState; }
|
||||
|
||||
/**
|
||||
* initialize the state when object is created
|
||||
*/
|
||||
void ResetState(void) { SetState(m_initState); }
|
||||
|
||||
/**
|
||||
* Set the object state
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user