diff --git a/includes/server/AResource.hpp b/includes/server/AResource.hpp index e3112f9..ed20fff 100644 --- a/includes/server/AResource.hpp +++ b/includes/server/AResource.hpp @@ -6,7 +6,7 @@ /* By: mmoussou +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ -/* Created: 2025/04/29 14:42:01 by mmoussou #+# #+# */ -/* Updated: 2025/04/29 15:45:19 by adjoly ### ########.fr */ +/* Created: 2025/05/13 18:14:45 by adjoly #+# #+# */ +/* Updated: 2025/05/13 18:56:25 by adjoly ### ########.fr */ /* */ /* ************************************************************************** */ -#include +#pragma once -using namespace webserv; -using namespace server; +#include "server/AResource.hpp" -void AClientResource::addFileDescriptor(struct pollfd fd) -{ - this->_fd = fd; -} +namespace webserv { +namespace server { +class FileUpload : public AClientResource { + public: + FileUpload(int id) { _res_id = id; } + ~FileUpload(void) {} -struct pollfd AClientResource::getFileDescriptor() -{ - return (this->_fd); -} + clientResType type(void) const { return UP_FILE; } + + protected: + private: +}; + +} // namespace server +} // namespace webserv