diff options
author | Niklas Halle <niklas@niklashalle.net> | 2020-08-23 12:41:55 +0200 |
---|---|---|
committer | Niklas Halle <niklas@niklashalle.net> | 2020-08-23 12:43:23 +0200 |
commit | 3314a53d0cf0a135fe6f82fcc7b6f4df84f70436 (patch) | |
tree | c17358c94c6211ba5408935a170a7d66f9c83bb4 /src/Utilities/GetEssen.hpp | |
parent | 70d5a9cf40546e0013a4761a2b0060963a21b13c (diff) | |
download | n_core-3314a53d0cf0a135fe6f82fcc7b6f4df84f70436.tar.gz n_core-3314a53d0cf0a135fe6f82fcc7b6f4df84f70436.zip |
clean start, clean CMakeLists.txt
Diffstat (limited to 'src/Utilities/GetEssen.hpp')
-rw-r--r-- | src/Utilities/GetEssen.hpp | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/src/Utilities/GetEssen.hpp b/src/Utilities/GetEssen.hpp deleted file mode 100644 index 813d115..0000000 --- a/src/Utilities/GetEssen.hpp +++ /dev/null @@ -1,38 +0,0 @@ -#pragma once - -#include "sqdb.hpp" -#include "Utilities/Utilities.hpp" -#include "Utilities/Logger.hpp" -//#include <tgbot/tgbot.h> -#include <boost/date_time/posix_time/posix_time.hpp> -#include <boost/date_time/gregorian/gregorian.hpp> -#include <boost/date_time/date_formatting.hpp> -#include <curl/curl.h> -#include <iostream> -#include <sys/stat.h> -#include <iostream> -#include <string> -#include <mongoose/JsonResponse.h> -#include <mongoose/Server.h> - -using namespace std; -using namespace boost::posix_time; - -void returnEssen(Mongoose::Request &request, Mongoose::JsonResponse &response); - -string getEssen(int mensa_ID, int offset); - -string read_mensa_message_from_file(const int& mensa_id_file); - -struct Mensa_Essen{ - int ID{191}; - string Message{"nothing got back! There was an error!!"}; - boost::posix_time::ptime Datum; - boost::posix_time::ptime LastModified; -}; -enum mensa { - Adlershof = 191, Nord = 147, Sued = 367 -}; - - - |