41 lines
641 B
C++
41 lines
641 B
C++
/***
|
|
Copyright (C) 2021 J Reece Wilson (a/k/a "Reece"). All rights reserved.
|
|
|
|
File: Loop.hpp
|
|
Date: 2021-8-21
|
|
Author: Reece
|
|
***/
|
|
|
|
enum class ELoopSource
|
|
{
|
|
eSourceInternalReserved1,
|
|
eSourceInternalReserved2,
|
|
eSourceInternalReserved3,
|
|
eSourceInternalReserved4,
|
|
|
|
// unix only
|
|
eSourceFileDescriptor,
|
|
|
|
// generic
|
|
eSourceSemaphore,
|
|
eSourceMutex,
|
|
eSourceTimer,
|
|
|
|
// Specific to the runtime subsystem
|
|
eSourceAsync,
|
|
|
|
// glib oses only
|
|
eSourceGlib,
|
|
|
|
// window messge loops
|
|
eSourceApple,
|
|
eSourceX11,
|
|
eSourceWin32
|
|
};
|
|
|
|
class ILoopSource
|
|
{
|
|
|
|
};
|
|
|