mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-23 14:53:52 +00:00
Add IsUsingPreinstalledFonts API
This commit is contained in:
@@ -283,6 +283,11 @@ bool GpSystemServices_Win32::AreFontResourcesSeekable() const
|
||||
return true;
|
||||
}
|
||||
|
||||
bool GpSystemServices_Win32::IsUsingPreinstalledFonts() const
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
IGpClipboardContents *GpSystemServices_Win32::GetClipboardContents() const
|
||||
{
|
||||
IGpClipboardContents *cbObject = nullptr;
|
||||
|
@@ -38,6 +38,7 @@ public:
|
||||
void SetTextInputEnabled(bool isEnabled) override;
|
||||
bool IsTextInputEnabled() const override;
|
||||
bool AreFontResourcesSeekable() const override;
|
||||
bool IsUsingPreinstalledFonts() const override;
|
||||
IGpClipboardContents *GetClipboardContents() const override;
|
||||
void SetClipboardContents(IGpClipboardContents *contents) override;
|
||||
|
||||
|
@@ -104,6 +104,11 @@ bool GpSystemServices_Android::AreFontResourcesSeekable() const
|
||||
return false;
|
||||
}
|
||||
|
||||
bool GpSystemServices_Android::IsUsingPreinstalledFonts() const
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
IGpClipboardContents *GpSystemServices_Android::GetClipboardContents() const
|
||||
{
|
||||
return nullptr;
|
||||
|
@@ -19,6 +19,7 @@ public:
|
||||
void SetTextInputEnabled(bool isEnabled) override;
|
||||
bool IsTextInputEnabled() const override;
|
||||
bool AreFontResourcesSeekable() const override;
|
||||
bool IsUsingPreinstalledFonts() const override;
|
||||
IGpClipboardContents *GetClipboardContents() const override;
|
||||
void SetClipboardContents(IGpClipboardContents *contents) override;
|
||||
|
||||
|
@@ -185,6 +185,11 @@ bool GpSystemServices_Web::AreFontResourcesSeekable() const
|
||||
return true;
|
||||
}
|
||||
|
||||
bool GpSystemServices_Web::IsUsingPreinstalledFonts() const
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
IGpClipboardContents *GpSystemServices_Web::GetClipboardContents() const
|
||||
{
|
||||
return m_clipboardContents;
|
||||
|
@@ -22,6 +22,7 @@ public:
|
||||
void SetTextInputEnabled(bool isEnabled) override;
|
||||
bool IsTextInputEnabled() const override;
|
||||
bool AreFontResourcesSeekable() const override;
|
||||
bool IsUsingPreinstalledFonts() const override;
|
||||
IGpClipboardContents *GetClipboardContents() const override;
|
||||
void SetClipboardContents(IGpClipboardContents *contents) override;
|
||||
int64_t GetTime() const override;
|
||||
|
@@ -113,6 +113,11 @@ bool GpSystemServices_X::AreFontResourcesSeekable() const
|
||||
return true;
|
||||
}
|
||||
|
||||
bool GpSystemServices_X::IsUsingPreinstalledFonts() const
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
IGpClipboardContents *GpSystemServices_X::GetClipboardContents() const
|
||||
{
|
||||
return m_clipboardContents;
|
||||
|
@@ -22,6 +22,7 @@ public:
|
||||
void SetTextInputEnabled(bool isEnabled) override;
|
||||
bool IsTextInputEnabled() const override;
|
||||
bool AreFontResourcesSeekable() const override;
|
||||
bool IsUsingPreinstalledFonts() const override;
|
||||
IGpClipboardContents *GetClipboardContents() const override;
|
||||
void SetClipboardContents(IGpClipboardContents *contents) override;
|
||||
|
||||
|
@@ -36,6 +36,7 @@ public:
|
||||
virtual void SetTextInputEnabled(bool isEnabled) = 0;
|
||||
virtual bool IsTextInputEnabled() const = 0;
|
||||
virtual bool AreFontResourcesSeekable() const = 0;
|
||||
virtual bool IsUsingPreinstalledFonts() const = 0;
|
||||
virtual IGpClipboardContents *GetClipboardContents() const = 0;
|
||||
virtual void SetClipboardContents(IGpClipboardContents *contents) = 0;
|
||||
};
|
||||
|
Reference in New Issue
Block a user