Change DisplayServerMacOS from GDCLASS to GDSOFTCLASS. Add GDSOFTCLASS to other display servers.

This commit is contained in:
Pāvels Nadtočajevs 2025-04-10 09:18:58 +03:00
parent c374ce211c
commit 0497522933
No known key found for this signature in database
GPG key ID: 8413210218EF35D2
8 changed files with 11 additions and 6 deletions

View file

@ -37,6 +37,8 @@
// Specialized DisplayServer for unittests based on DisplayServerHeadless, that
// additionally supports things like mouse enter/exit events and clipboard.
class DisplayServerMock : public DisplayServerHeadless {
GDSOFTCLASS(DisplayServerMock, DisplayServerHeadless);
private:
friend class DisplayServer;