2022-05-21 06:04:08 -04:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
class component_interface
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
virtual ~component_interface() = default;
|
|
|
|
|
2022-05-29 10:46:49 -04:00
|
|
|
virtual void pre_start()
|
2022-05-21 06:04:08 -04:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
virtual void pre_destroy()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
virtual void post_unpack()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
virtual bool is_supported()
|
|
|
|
{
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
};
|