Open source Star Ruler 2 source code!
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
#pragma once
|
||||
#include <string>
|
||||
#include <functional>
|
||||
|
||||
namespace Loading {
|
||||
|
||||
void prepare(unsigned threads, std::function<void(void)> threadPrep, std::function<void(void)> threadExit);
|
||||
void finalize();
|
||||
void finish();
|
||||
bool finished();
|
||||
|
||||
void addTask(const std::string& name, const char* depends, std::function<void(void)> execute, int threadRestriction = 0);
|
||||
void process();
|
||||
|
||||
};
|
||||
Reference in New Issue
Block a user