diff options
| author | davc0n <dconti.dev@gmail.com> | 2025-05-03 16:02:49 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-03 16:02:49 +0200 |
| commit | d9cad5e1b63f2e1e86eb54551c72d17ee4dd070d (patch) | |
| tree | 8238b613480214eaf91fc85343d25503bafa51c3 /src/protocols/core/Output.hpp | |
| parent | 0c736217a787928a87224b2bf7e984c446d4fc22 (diff) | |
protocols: refactor class member vars (core) (#10259)
Diffstat (limited to 'src/protocols/core/Output.hpp')
| -rw-r--r-- | src/protocols/core/Output.hpp | 22 |
1 files changed, 11 insertions, 11 deletions
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<CWlOutput> getResource(); void updateState(); - PHLMONITORREF monitor; - WP<CWLOutputProtocol> owner; - WP<CWLOutputResource> self; + PHLMONITORREF m_monitor; + WP<CWLOutputProtocol> m_owner; + WP<CWLOutputResource> m_self; private: - SP<CWlOutput> resource; - wl_client* pClient = nullptr; + SP<CWlOutput> m_resource; + wl_client* m_client = nullptr; friend class CWLOutputProtocol; }; @@ -39,8 +39,8 @@ class CWLOutputProtocol : public IWaylandProtocol { SP<CWLOutputResource> outputResourceFrom(wl_client* client); void sendDone(); - PHLMONITORREF monitor; - WP<CWLOutputProtocol> self; + PHLMONITORREF m_monitor; + WP<CWLOutputProtocol> 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<SP<CWLOutputResource>> m_vOutputs; - bool defunct = false; - std::string szName = ""; + std::vector<SP<CWLOutputResource>> m_outputs; + bool m_defunct = false; + std::string m_name = ""; struct { CHyprSignalListener modeChanged; - } listeners; + } m_listeners; friend class CWLOutputResource; }; |
