protocols: refactor class member vars (a-m) (#10265)

This commit is contained in:
davc0n 2025-05-04 00:13:29 +02:00 committed by GitHub
parent 46ac115bd1
commit adbae0f74d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
58 changed files with 1566 additions and 1561 deletions

View file

@ -22,15 +22,15 @@ class CContentType {
bool good();
wl_client* client();
NContentType::eContentType value = NContentType::CONTENT_TYPE_NONE;
NContentType::eContentType m_value = NContentType::CONTENT_TYPE_NONE;
WP<CContentType> self;
WP<CContentType> m_self;
private:
SP<CWpContentTypeV1> m_resource;
wl_client* m_pClient = nullptr;
wl_client* m_client = nullptr;
CHyprSignalListener destroy;
CHyprSignalListener m_destroy;
friend class CContentTypeProtocol;
};
@ -47,8 +47,8 @@ class CContentTypeProtocol : public IWaylandProtocol {
void destroyResource(CContentTypeManager* resource);
void destroyResource(CContentType* resource);
std::vector<SP<CContentTypeManager>> m_vManagers;
std::vector<SP<CContentType>> m_vContentTypes;
std::vector<SP<CContentTypeManager>> m_managers;
std::vector<SP<CContentType>> m_contentTypes;
friend class CContentTypeManager;
friend class CContentType;