From d9cad5e1b63f2e1e86eb54551c72d17ee4dd070d Mon Sep 17 00:00:00 2001 From: davc0n Date: Sat, 3 May 2025 16:02:49 +0200 Subject: protocols: refactor class member vars (core) (#10259) --- src/protocols/core/Output.hpp | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'src/protocols/core/Output.hpp') diff --git a/src/protocols/core/Output.hpp b/src/protocols/core/Output.hpp index 8ade5178..9f14289e 100644 --- a/src/protocols/core/Output.hpp +++ b/src/protocols/core/Output.hpp @@ -19,13 +19,13 @@ class CWLOutputResource { SP getResource(); void updateState(); - PHLMONITORREF monitor; - WP owner; - WP self; + PHLMONITORREF m_monitor; + WP m_owner; + WP m_self; private: - SP resource; - wl_client* pClient = nullptr; + SP m_resource; + wl_client* m_client = nullptr; friend class CWLOutputProtocol; }; @@ -39,8 +39,8 @@ class CWLOutputProtocol : public IWaylandProtocol { SP outputResourceFrom(wl_client* client); void sendDone(); - PHLMONITORREF monitor; - WP self; + PHLMONITORREF m_monitor; + WP m_self; // will mark the protocol for removal, will be removed when no. of bound outputs is 0 (or when overwritten by a new global) void remove(); @@ -50,13 +50,13 @@ class CWLOutputProtocol : public IWaylandProtocol { void destroyResource(CWLOutputResource* resource); // - std::vector> m_vOutputs; - bool defunct = false; - std::string szName = ""; + std::vector> m_outputs; + bool m_defunct = false; + std::string m_name = ""; struct { CHyprSignalListener modeChanged; - } listeners; + } m_listeners; friend class CWLOutputResource; }; -- cgit v1.2.3