AuroraRuntime/Source/Processes/AuProcesses.cpp

45 lines
847 B
C++
Raw Normal View History

2021-06-27 21:25:29 +00:00
/***
Copyright (C) 2021 J Reece Wilson (a/k/a "Reece"). All rights reserved.
2022-11-17 07:46:07 +00:00
File: AuProcesses.cpp
2021-06-27 21:25:29 +00:00
Date: 2021-6-12
Author: Reece
***/
2021-09-30 14:57:41 +00:00
#include <Source/RuntimeInternal.hpp>
2022-11-17 07:46:07 +00:00
#include "AuProcesses.hpp"
#if defined (AURORA_PLATFORM_WIN32)
2022-11-17 07:46:07 +00:00
#include "AuProcess.Win32.hpp"
#include "AuOpen.Win32.hpp"
#endif
2021-06-27 21:25:29 +00:00
#if defined(AURORA_IS_POSIX_DERIVED)
#include "AuProcess.Unix.hpp"
#endif
2021-06-27 21:25:29 +00:00
namespace Aurora::Processes
{
void Init()
{
#if defined (AURORA_PLATFORM_WIN32)
InitWin32();
InitWin32Opener();
#endif
#if defined(AURORA_IS_POSIX_DERIVED)
InitUnix();
#endif
}
void Deinit()
{
#if defined (AURORA_PLATFORM_WIN32)
DeinitWin32();
DeinitWin32Opener();
2021-06-27 21:25:29 +00:00
#endif
#if defined(AURORA_IS_POSIX_DERIVED)
DeinitUnix();
#endif
2021-06-27 21:25:29 +00:00
}
}