mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-23 23:00:42 +00:00
18 lines
575 B
C++
18 lines
575 B
C++
#pragma once
|
|
|
|
#include "IGpSystemServices.h"
|
|
#include "GpCoreDefs.h"
|
|
|
|
class GpSystemServices_POSIX : public IGpSystemServices
|
|
{
|
|
public:
|
|
GpSystemServices_POSIX();
|
|
|
|
int64_t GetTime() const override;
|
|
void GetLocalDateTime(unsigned int &year, unsigned int &month, unsigned int &day, unsigned int &hour, unsigned int &minute, unsigned int &second) const override;
|
|
IGpMutex *CreateMutex() override;
|
|
IGpMutex *CreateRecursiveMutex() override;
|
|
IGpThreadEvent *CreateThreadEvent(bool autoReset, bool startSignaled) override;
|
|
uint64_t GetFreeMemoryCosmetic() const override;
|
|
};
|