add: class Location

This commit is contained in:
Talyx
2022-02-05 15:06:24 +03:00
parent 842033b4bc
commit 17d5988c88
2 changed files with 31 additions and 0 deletions

9
src/Client/Location.cpp Normal file
View File

@@ -0,0 +1,9 @@
#include "Location.hpp"
Location::Location()
{
}
Location::~Location()
{
}

22
src/Client/Location.hpp Normal file
View File

@@ -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