45 lines
845 B
C++
45 lines
845 B
C++
/***
|
|
Copyright (C) 2021 J Reece Wilson (a/k/a "Reece"). All rights reserved.
|
|
|
|
File: AuProcesses.cpp
|
|
Date: 2021-6-12
|
|
Author: Reece
|
|
***/
|
|
#include <Source/RuntimeInternal.hpp>
|
|
#include "AuProcesses.hpp"
|
|
|
|
#if defined (AURORA_PLATFORM_WIN32)
|
|
#include "AuProcess.Win32.hpp"
|
|
#include "AuOpen.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
|
|
}
|
|
} |