soc-2008-mxcurioni: merge with trunk - rev 15540

This commit is contained in:
Maxime Curioni
2008-07-12 05:02:47 +00:00
parent d124d3c5cd
commit 8398730043
112 changed files with 2057 additions and 1188 deletions

View File

@@ -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
*/