protocols: refactor class member vars (n-t) (#10273)

This commit is contained in:
davc0n 2025-05-04 19:21:36 +02:00 committed by GitHub
parent adbae0f74d
commit 2626f89ea6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
41 changed files with 1507 additions and 1511 deletions

View file

@ -12,7 +12,7 @@ class CPointerGestureSwipe {
bool good();
private:
SP<CZwpPointerGestureSwipeV1> resource;
SP<CZwpPointerGestureSwipeV1> m_resource;
friend class CPointerGesturesProtocol;
};
@ -24,7 +24,7 @@ class CPointerGesturePinch {
bool good();
private:
SP<CZwpPointerGesturePinchV1> resource;
SP<CZwpPointerGesturePinchV1> m_resource;
friend class CPointerGesturesProtocol;
};
@ -36,7 +36,7 @@ class CPointerGestureHold {
bool good();
private:
SP<CZwpPointerGestureHoldV1> resource;
SP<CZwpPointerGestureHoldV1> m_resource;
friend class CPointerGesturesProtocol;
};
@ -68,10 +68,10 @@ class CPointerGesturesProtocol : public IWaylandProtocol {
void onGetHoldGesture(CZwpPointerGesturesV1* pMgr, uint32_t id, wl_resource* pointer);
//
std::vector<UP<CZwpPointerGesturesV1>> m_vManagers;
std::vector<UP<CPointerGestureSwipe>> m_vSwipes;
std::vector<UP<CPointerGesturePinch>> m_vPinches;
std::vector<UP<CPointerGestureHold>> m_vHolds;
std::vector<UP<CZwpPointerGesturesV1>> m_managers;
std::vector<UP<CPointerGestureSwipe>> m_swipes;
std::vector<UP<CPointerGesturePinch>> m_pinches;
std::vector<UP<CPointerGestureHold>> m_holds;
friend class CPointerGestureHold;
friend class CPointerGesturePinch;