[*] Migrate more interfaces to aurora interfaces
This commit is contained in:
parent
dde580ddf9
commit
1cb56fb907
@ -9,11 +9,9 @@
|
||||
|
||||
namespace Aurora::Console::Hooks
|
||||
{
|
||||
class IConsoleSubscriber
|
||||
{
|
||||
public:
|
||||
virtual void OnMessage(const ConsoleMessage &string) = 0;
|
||||
};
|
||||
AUKN_INTERFACE(IConsoleSubscriber,
|
||||
AUI_METHOD(void, OnMessage, (const ConsoleMessage &, message))
|
||||
);
|
||||
|
||||
AUKN_SYM void AddSubscription(const AuSPtr<IConsoleSubscriber> &subscriber);
|
||||
AUKN_SYM void RemoveSubscription(const AuSPtr<IConsoleSubscriber> &subscriber);
|
||||
|
@ -9,10 +9,8 @@
|
||||
|
||||
namespace Aurora::Threading::Threads
|
||||
{
|
||||
class IThreadFeature
|
||||
{
|
||||
public:
|
||||
virtual void Init() = 0;
|
||||
virtual void Cleanup() = 0;
|
||||
};
|
||||
AUKN_INTERFACE(IThreadFeature,
|
||||
AUI_METHOD(void, Init, ()),
|
||||
AUI_METHOD(void, Cleanup, ())
|
||||
);
|
||||
}
|
Loading…
Reference in New Issue
Block a user