Files
Aerofoil/AerofoilAndroid/app/jni/main/GpSystemServices_Android.h

37 lines
1.1 KiB
C
Raw Normal View History

#pragma once
#include "GpSystemServices_POSIX.h"
#include "GpCoreDefs.h"
class GpSystemServices_Android final : public GpSystemServices_POSIX
{
public:
GpSystemServices_Android();
2020-11-01 20:59:52 -05:00
void *CreateThread(ThreadFunc_t threadFunc, void *context) override;
bool Beep() const override;
2020-10-12 00:37:32 -04:00
bool IsTouchscreen() const override;
bool IsUsingMouseAsTouch() const override;
bool IsTextInputObstructive() const override;
bool IsFullscreenPreferred() const override;
bool IsFullscreenOnStartup() const override;
bool HasNativeFileManager() const override;
2021-05-11 00:41:35 -04:00
GpOperatingSystem_t GetOperatingSystem() const override;
GpOperatingSystemFlavor_t GetOperatingSystemFlavor() const override;
2020-11-01 20:59:52 -05:00
unsigned int GetCPUCount() const override;
2020-11-02 22:06:38 -05:00
void SetTextInputEnabled(bool isEnabled) override;
bool IsTextInputEnabled() const override;
bool AreFontResourcesSeekable() const override;
IGpClipboardContents *GetClipboardContents() const override;
void SetClipboardContents(IGpClipboardContents *contents) override;
2020-11-02 22:06:38 -05:00
void FlushTextInputEnabled();
static GpSystemServices_Android *GetInstance();
private:
static GpSystemServices_Android ms_instance;
2020-11-02 22:06:38 -05:00
bool m_textInputEnabled;
};