Add unregisterSystem functionality
This commit is contained in:
parent
881d6d113b
commit
5f4ba90b3e
2 changed files with 37 additions and 0 deletions
|
|
@ -89,6 +89,14 @@ struct System
|
|||
return cast(const(char)[]) m_name;
|
||||
}
|
||||
|
||||
/************************************************************************************************************************
|
||||
Return false if system was unregistered, true otherwise.
|
||||
*/
|
||||
export bool isAlive() nothrow @nogc
|
||||
{
|
||||
return m_system_pointer != null;
|
||||
}
|
||||
|
||||
package:
|
||||
|
||||
void destroy()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue