45 lines
837 B
C++
45 lines
837 B
C++
/***
|
|
Copyright (C) 2021 J Reece Wilson (a/k/a "Reece"). All rights reserved.
|
|
|
|
File: Processes.cpp
|
|
Date: 2021-6-12
|
|
Author: Reece
|
|
***/
|
|
#include <Source/RuntimeInternal.hpp>
|
|
#include "Processes.hpp"
|
|
|
|
#if defined (AURORA_PLATFORM_WIN32)
|
|
#include "Process.Win32.hpp"
|
|
#include "Open.Win32.hpp"
|
|
#endif
|
|
|
|
#if defined(AURORA_IS_POSIX_DERIVED)
|
|
#include "Process.Unix.hpp"
|
|
#endif
|
|
|
|
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();
|
|
#endif
|
|
|
|
#if defined(AURORA_IS_POSIX_DERIVED)
|
|
DeinitUnix();
|
|
#endif
|
|
}
|
|
} |