feat(cmd/pass): adding the start of pass command
This commit is contained in:
parent
3d71d977d2
commit
8565a948ce
9 changed files with 42 additions and 16 deletions
|
|
@ -6,7 +6,7 @@
|
|||
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2025/05/20 23:31:58 by rparodi #+# #+# */
|
||||
/* Updated: 2025/05/26 18:25:49 by rparodi ### ########.fr */
|
||||
/* Updated: 2025/05/29 12:47:57 by rparodi ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
|
|
@ -53,7 +53,6 @@ namespace cmd
|
|||
class Nick;
|
||||
class Notice;
|
||||
class Part;
|
||||
class Pass;
|
||||
class Ping;
|
||||
class Pong;
|
||||
class PrivMsg;
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2025/05/24 17:34:30 by rparodi #+# #+# */
|
||||
/* Updated: 2025/05/26 18:20:34 by rparodi ### ########.fr */
|
||||
/* Updated: 2025/05/27 14:34:56 by rparodi ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
/* By: omoudni <omoudni@student.42paris.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2025/05/20 21:50:32 by rparodi #+# #+# */
|
||||
/* Updated: 2025/05/26 22:26:04 by rparodi ### ########.fr */
|
||||
/* Updated: 2025/05/29 12:17:55 by rparodi ### ########.fr */
|
||||
/* */
|
||||
/******************************************************************************/
|
||||
|
||||
|
|
@ -37,6 +37,7 @@ public:
|
|||
unsigned short int getPort() const;
|
||||
std::list<User *> getUsersList() const;
|
||||
std::list<Channel *> getChannelsList() const;
|
||||
std::string getPassword() const;
|
||||
void showInfo() const;
|
||||
void printUsers() const;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
/* By: omoudni <omoudni@student.42paris.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2025/05/20 21:57:49 by rparodi #+# #+# */
|
||||
/* Updated: 2025/05/26 18:10:24 by rparodi ### ########.fr */
|
||||
/* Updated: 2025/05/29 12:37:11 by rparodi ### ########.fr */
|
||||
/* */
|
||||
/******************************************************************************/
|
||||
|
||||
|
|
@ -34,6 +34,7 @@ class User
|
|||
bool isRegistered() const;
|
||||
std::string getName() const;
|
||||
std::string extractFullCommand();
|
||||
void setRegistered();
|
||||
void appendToReadBuffer(const std::string &data);
|
||||
void appendToWriteBuffer(const std::string &data);
|
||||
void setNickname(const std::string &nickname);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue