mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2024-11-08 08:47:17 +01:00
79 lines
2.3 KiB
C++
79 lines
2.3 KiB
C++
|
#ifndef _SQMOD_EVENT_GLOBAL_HPP_
|
||
|
#define _SQMOD_EVENT_GLOBAL_HPP_
|
||
|
|
||
|
// ------------------------------------------------------------------------------------------------
|
||
|
#include "Common.hpp"
|
||
|
#include "Shared.hpp"
|
||
|
|
||
|
// ------------------------------------------------------------------------------------------------
|
||
|
#include <chrono>
|
||
|
|
||
|
// ------------------------------------------------------------------------------------------------
|
||
|
namespace SqMod {
|
||
|
|
||
|
/* ------------------------------------------------------------------------------------------------
|
||
|
* ...
|
||
|
*/
|
||
|
class GlobalEvent
|
||
|
{
|
||
|
public:
|
||
|
|
||
|
/* --------------------------------------------------------------------------------------------
|
||
|
* ...
|
||
|
*/
|
||
|
GlobalEvent() noexcept;
|
||
|
|
||
|
/* --------------------------------------------------------------------------------------------
|
||
|
* ...
|
||
|
*/
|
||
|
GlobalEvent(SQInt32 type) noexcept;
|
||
|
|
||
|
/* --------------------------------------------------------------------------------------------
|
||
|
* ...
|
||
|
*/
|
||
|
GlobalEvent(SQInt32 type, bool suspended) noexcept;
|
||
|
|
||
|
/* --------------------------------------------------------------------------------------------
|
||
|
* ...
|
||
|
*/
|
||
|
GlobalEvent(const GlobalEvent & o) noexcept;
|
||
|
|
||
|
/* --------------------------------------------------------------------------------------------
|
||
|
* ...
|
||
|
*/
|
||
|
GlobalEvent(GlobalEvent && o) noexcept;
|
||
|
|
||
|
/* --------------------------------------------------------------------------------------------
|
||
|
* ...
|
||
|
*/
|
||
|
~GlobalEvent();
|
||
|
|
||
|
/* --------------------------------------------------------------------------------------------
|
||
|
* ...
|
||
|
*/
|
||
|
GlobalEvent & operator = (const GlobalEvent & o) noexcept;
|
||
|
|
||
|
/* --------------------------------------------------------------------------------------------
|
||
|
* ...
|
||
|
*/
|
||
|
GlobalEvent & operator = (GlobalEvent && o) noexcept;
|
||
|
|
||
|
/* --------------------------------------------------------------------------------------------
|
||
|
* ...
|
||
|
*/
|
||
|
|
||
|
|
||
|
protected:
|
||
|
|
||
|
// --------------------------------------------------------------------------------------------
|
||
|
|
||
|
private:
|
||
|
|
||
|
// --------------------------------------------------------------------------------------------
|
||
|
|
||
|
};
|
||
|
|
||
|
} // Namespace:: SqMod
|
||
|
|
||
|
#endif // _SQMOD_EVENT_GLOBAL_HPP_
|