style(user): changing the getter nickname for getName()
This commit is contained in:
parent
b2c5e0f5d7
commit
e742988ca7
6 changed files with 14 additions and 9 deletions
|
|
@ -6,7 +6,7 @@
|
|||
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2025/05/20 21:50:32 by rparodi #+# #+# */
|
||||
/* Updated: 2025/05/21 13:03:01 by rparodi ### ########.fr */
|
||||
/* Updated: 2025/05/24 16:48:04 by rparodi ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
|
|
@ -14,6 +14,9 @@
|
|||
|
||||
#include <string>
|
||||
#include "PollManager.hpp"
|
||||
#include <list>
|
||||
#include "user.hpp"
|
||||
#include "channel.hpp"
|
||||
|
||||
class Server {
|
||||
private:
|
||||
|
|
@ -25,6 +28,8 @@ class Server {
|
|||
Server(int port, const std::string &password);
|
||||
~Server();
|
||||
void start();
|
||||
std::list<User *> getUsersList() const;
|
||||
std::list<Channel *> getChannelsList() const;
|
||||
unsigned short int getPort() const;
|
||||
void showInfo() const;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue