The-Powder-Toy/src/Platform.h
jacob1 2929264885 embed event api compatibility lua script
probably temporary, can't deprecate and remove an extremely common api in the same version.
lua script embed code mostly copied from my mod
2018-11-17 00:09:48 -05:00

20 lines
326 B
C++

#ifndef PLATFORM_H
#define PLATFORM_H
#include "common/String.h"
namespace Platform
{
ByteString ExecutableName();
void DoRestart();
void OpenURI(ByteString uri);
void Millisleep(long int t);
long unsigned int GetTime();
void LoadFileInResource(int name, int type, unsigned int& size, const char*& data);
}
#endif