34 lines
608 B
C++
Executable File
34 lines
608 B
C++
Executable File
/***
|
|
Copyright (C) 2022 J Reece Wilson (a/k/a "Reece"). All rights reserved.
|
|
|
|
File: IO.cpp
|
|
Date: 2022-4-14
|
|
Author: Reece
|
|
***/
|
|
#include <Source/RuntimeInternal.hpp>
|
|
#include "IO.hpp"
|
|
|
|
#if defined(AURORA_IS_POSIX_DERIVED)
|
|
#include "UNIX/UnixIO.hpp"
|
|
#endif
|
|
|
|
#if defined(AURORA_IS_LINUX_DERIVED)
|
|
#include "UNIX/IOSubmit.Linux.hpp"
|
|
#endif
|
|
|
|
namespace Aurora::IO
|
|
{
|
|
void Init()
|
|
{
|
|
#if defined(AURORA_IS_POSIX_DERIVED)
|
|
UNIX::InitUnixIO();
|
|
#endif
|
|
}
|
|
|
|
void Deinit()
|
|
{
|
|
#if defined(AURORA_IS_POSIX_DERIVED)
|
|
UNIX::DeinitUnixIO();
|
|
#endif
|
|
}
|
|
} |