[*] Migrate more interfaces to aurora interfaces

This commit is contained in:
Reece Wilson 2021-10-16 01:23:18 +01:00
parent dde580ddf9
commit 1cb56fb907
2 changed files with 7 additions and 11 deletions

View File

@ -9,11 +9,9 @@
namespace Aurora::Console::Hooks namespace Aurora::Console::Hooks
{ {
class IConsoleSubscriber AUKN_INTERFACE(IConsoleSubscriber,
{ AUI_METHOD(void, OnMessage, (const ConsoleMessage &, message))
public: );
virtual void OnMessage(const ConsoleMessage &string) = 0;
};
AUKN_SYM void AddSubscription(const AuSPtr<IConsoleSubscriber> &subscriber); AUKN_SYM void AddSubscription(const AuSPtr<IConsoleSubscriber> &subscriber);
AUKN_SYM void RemoveSubscription(const AuSPtr<IConsoleSubscriber> &subscriber); AUKN_SYM void RemoveSubscription(const AuSPtr<IConsoleSubscriber> &subscriber);

View File

@ -9,10 +9,8 @@
namespace Aurora::Threading::Threads namespace Aurora::Threading::Threads
{ {
class IThreadFeature AUKN_INTERFACE(IThreadFeature,
{ AUI_METHOD(void, Init, ()),
public: AUI_METHOD(void, Cleanup, ())
virtual void Init() = 0; );
virtual void Cleanup() = 0;
};
} }