blob: 1a40645f7545d4b74dc3618b73a3ed9e2e967cf0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#include "UtilsModule.h"
using namespace AsuraEngine::FileSystem;
using namespace AsuraEngine::Threads;
namespace AsuraEngine
{
void UtilsModule::Initialize(Luax::LuaxState& state)
{
// IO
LUAX_REGISTER_SINGLETON(state, FileManager);
LUAX_REGISTER_FACTORY(state, IOTask);
LUAX_REGISTER_FACTORY(state, DataBuffer);
LUAX_REGISTER_FACTORY(state, FileData);
LUAX_REGISTER_FACTORY(state, File);
// Threads
LUAX_REGISTER_FACTORY(state, Thread);
}
void UtilsModule::Finalize(Luax::LuaxState& state)
{
}
}
|