[*] Migrate more interfaces to aurora interfaces
This commit is contained in:
parent
dde580ddf9
commit
1cb56fb907
@ -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);
|
||||||
|
@ -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;
|
|
||||||
};
|
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user