33 lines
417 B
C++
33 lines
417 B
C++
#include "Platform.h"
|
|
#include <ctime>
|
|
|
|
namespace Platform
|
|
{
|
|
void OpenURI(ByteString uri)
|
|
{
|
|
fprintf(stderr, "cannot open URI: not implemented\n");
|
|
}
|
|
|
|
long unsigned int GetTime()
|
|
{
|
|
struct timespec s;
|
|
clock_gettime(CLOCK_MONOTONIC, &s);
|
|
return s.tv_sec * 1000 + s.tv_nsec / 1000000;
|
|
}
|
|
|
|
ByteString ExecutableNameFirstApprox()
|
|
{
|
|
return "";
|
|
}
|
|
|
|
bool CanUpdate()
|
|
{
|
|
return false;
|
|
}
|
|
|
|
bool Install()
|
|
{
|
|
return false;
|
|
}
|
|
}
|