debug: refactor class member vars (#10130)

This commit is contained in:
davc0n 2025-04-21 20:42:02 +02:00 committed by GitHub
parent a3b96961a2
commit 400dd16072
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 218 additions and 218 deletions

View file

@ -20,12 +20,12 @@ class CHyprCtl {
void unregisterCommand(const SP<SHyprCtlCommand>& cmd);
std::string getReply(std::string);
Hyprutils::OS::CFileDescriptor m_iSocketFD;
Hyprutils::OS::CFileDescriptor m_socketFD;
struct {
bool all = false;
bool sysInfoConfig = false;
} m_sCurrentRequestParams;
} m_currentRequestParams;
static std::string getWindowData(PHLWINDOW w, eHyprCtlOutputFormat format);
static std::string getWorkspaceData(PHLWORKSPACE w, eHyprCtlOutputFormat format);
@ -34,7 +34,7 @@ class CHyprCtl {
private:
void startHyprCtlSocket();
std::vector<SP<SHyprCtlCommand>> m_vCommands;
std::vector<SP<SHyprCtlCommand>> m_commands;
wl_event_source* m_eventSource = nullptr;
std::string m_socketPath;
};