LibIPC: Stop sending client ID to clients

The client ID is not useful to normal clients anymore, so stop telling
everyone what their ID is.
This commit is contained in:
Andreas Kling 2021-02-01 11:26:41 +01:00
commit 1ce03f4f34
Notes: sideshowbarker 2024-07-18 22:39:46 +09:00
29 changed files with 27 additions and 42 deletions

View file

@ -49,17 +49,11 @@ public:
virtual void handshake() = 0;
void set_my_client_id(int id) { m_my_client_id = id; }
int my_client_id() const { return m_my_client_id; }
virtual void die() override
{
// Override this function if you don't want your app to exit if it loses the connection.
exit(0);
}
private:
int m_my_client_id { -1 };
};
}