From 2626f89ea6fe0df585df28052bf1fcca2c50fe8e Mon Sep 17 00:00:00 2001 From: davc0n Date: Sun, 4 May 2025 19:21:36 +0200 Subject: protocols: refactor class member vars (n-t) (#10273) --- src/protocols/PresentationTime.hpp | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'src/protocols/PresentationTime.hpp') diff --git a/src/protocols/PresentationTime.hpp b/src/protocols/PresentationTime.hpp index aa93068b..a7b13a77 100644 --- a/src/protocols/PresentationTime.hpp +++ b/src/protocols/PresentationTime.hpp @@ -19,13 +19,13 @@ class CQueuedPresentationData { void presented(); void discarded(); - bool done = false; + bool m_done = false; private: - bool wasPresented = false; - bool zeroCopy = false; - PHLMONITORREF pMonitor; - WP surface; + bool m_wasPresented = false; + bool m_zeroCopy = false; + PHLMONITORREF m_monitor; + WP m_surface; friend class CPresentationFeedback; friend class CPresentationProtocol; @@ -40,9 +40,9 @@ class CPresentationFeedback { void sendQueued(SP data, const Time::steady_tp& when, uint32_t untilRefreshNs, uint64_t seq, uint32_t reportedFlags); private: - SP resource; - WP surface; - bool done = false; + SP m_resource; + WP m_surface; + bool m_done = false; friend class CPresentationProtocol; }; @@ -62,9 +62,9 @@ class CPresentationProtocol : public IWaylandProtocol { void onGetFeedback(CWpPresentation* pMgr, wl_resource* surf, uint32_t id); // - std::vector> m_vManagers; - std::vector> m_vFeedbacks; - std::vector> m_vQueue; + std::vector> m_managers; + std::vector> m_feedbacks; + std::vector> m_queue; friend class CPresentationFeedback; }; -- cgit v1.2.3