23 lines
477 B
C++
23 lines
477 B
C++
|
/***
|
||
|
Copyright (C) 2022 J Reece Wilson (a/k/a "Reece"). All rights reserved.
|
||
|
|
||
|
File: IExitSubscriber.hpp
|
||
|
Date: 2022-1-30
|
||
|
Author: Reece
|
||
|
***/
|
||
|
#pragma once
|
||
|
|
||
|
namespace Aurora::Exit
|
||
|
{
|
||
|
struct ExitInvoker
|
||
|
{
|
||
|
Threading::Threads::IAuroraThread *pCaller;
|
||
|
};
|
||
|
|
||
|
/**
|
||
|
* @brief User definedable callback
|
||
|
*/
|
||
|
AUKN_INTERFACE(IExitSubscriber,
|
||
|
AUI_METHOD(void, OnTrigger, (ETriggerLevel, level, const ExitInvoker *, pInvoker))
|
||
|
);
|
||
|
}
|