From 453686655b5ff822c67c02f72616111cd4b5b1bb Mon Sep 17 00:00:00 2001 From: sithlord48 Date: Sat, 25 Oct 2025 19:47:42 -0400 Subject: [PATCH] chore: IPlatformScreen remove unneeed overrides of nothing --- src/lib/deskflow/IPlatformScreen.h | 37 ------------------------------ 1 file changed, 37 deletions(-) diff --git a/src/lib/deskflow/IPlatformScreen.h b/src/lib/deskflow/IPlatformScreen.h index b9eb8ecf9..3964d91c0 100644 --- a/src/lib/deskflow/IPlatformScreen.h +++ b/src/lib/deskflow/IPlatformScreen.h @@ -146,48 +146,11 @@ public: virtual bool isPrimary() const = 0; //@} - - // IScreen overrides - void *getEventTarget() const override = 0; - bool getClipboard(ClipboardID id, IClipboard *) const override = 0; - void getShape(int32_t &x, int32_t &y, int32_t &width, int32_t &height) const override = 0; - void getCursorPos(int32_t &x, int32_t &y) const override = 0; - - // IPrimaryScreen overrides - void reconfigure(uint32_t activeSides) override = 0; - uint32_t activeSides() override = 0; - void warpCursor(int32_t x, int32_t y) override = 0; - uint32_t registerHotKey(KeyID key, KeyModifierMask mask) override = 0; - void unregisterHotKey(uint32_t id) override = 0; - void fakeInputBegin() override = 0; - void fakeInputEnd() override = 0; - int32_t getJumpZoneSize() const override = 0; - bool isAnyMouseButtonDown(uint32_t &buttonID) const override = 0; - void getCursorCenter(int32_t &x, int32_t &y) const override = 0; - - // ISecondaryScreen overrides - void fakeMouseButton(ButtonID id, bool press) override = 0; - void fakeMouseMove(int32_t x, int32_t y) override = 0; - void fakeMouseRelativeMove(int32_t dx, int32_t dy) const override = 0; - void fakeMouseWheel(int32_t xDelta, int32_t yDelta) const override = 0; - // IKeyState overrides - void updateKeyMap() override = 0; - void updateKeyState() override = 0; - void setHalfDuplexMask(KeyModifierMask) override = 0; void fakeKeyDown(KeyID id, KeyModifierMask mask, KeyButton button, const std::string &lang) override = 0; bool fakeKeyRepeat(KeyID id, KeyModifierMask mask, int32_t count, KeyButton button, const std::string &lang) override = 0; - bool fakeKeyUp(KeyButton button) override = 0; - void fakeAllKeysUp() override = 0; - bool fakeCtrlAltDel() override = 0; bool fakeMediaKey(KeyID) override; - bool isKeyDown(KeyButton) const override = 0; - KeyModifierMask getActiveModifiers() const override = 0; - KeyModifierMask pollActiveModifiers() const override = 0; - int32_t pollActiveGroup() const override = 0; - void pollPressedKeys(KeyButtonSet &pressedKeys) const override = 0; - void clearStaleModifiers() override = 0; protected: //! Handle system event