From 17d5988c8863695aab2f27280a01c5a03d2cb1be Mon Sep 17 00:00:00 2001 From: Talyx Date: Sat, 5 Feb 2022 15:06:24 +0300 Subject: [PATCH] add: class Location --- src/Client/Location.cpp | 9 +++++++++ src/Client/Location.hpp | 22 ++++++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 src/Client/Location.cpp create mode 100644 src/Client/Location.hpp diff --git a/src/Client/Location.cpp b/src/Client/Location.cpp new file mode 100644 index 0000000..612e228 --- /dev/null +++ b/src/Client/Location.cpp @@ -0,0 +1,9 @@ +#include "Location.hpp" + +Location::Location() +{ +} + +Location::~Location() +{ +} \ No newline at end of file diff --git a/src/Client/Location.hpp b/src/Client/Location.hpp new file mode 100644 index 0000000..b62fe3f --- /dev/null +++ b/src/Client/Location.hpp @@ -0,0 +1,22 @@ +#ifndef LOCATION_HPP +#define LOCATION_HPP + +#include "webserv.hpp" +#include "ServerConfig.hpp" + +class Location +{ +private: + location *loc; + +public: + Location(); + ~Location(); + + void setLocation(location *location); + bool checkLocation(std::string URI); +private: + +}; + +#endif \ No newline at end of file