2929264885
probably temporary, can't deprecate and remove an extremely common api in the same version. lua script embed code mostly copied from my mod
20 lines
326 B
C++
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
|