diff --git a/IOT/lib/API/include/API.h b/IOT/lib/API/include/API.h new file mode 100644 index 0000000..29b15c6 --- /dev/null +++ b/IOT/lib/API/include/API.h @@ -0,0 +1,14 @@ +#ifndef API_H +#define API_H + +#include + +class API { +public: + + API(); + JSONVar* connect(); +}; + + +#endif \ No newline at end of file diff --git a/IOT/lib/API/src/API.cpp b/IOT/lib/API/src/API.cpp new file mode 100644 index 0000000..f921507 --- /dev/null +++ b/IOT/lib/API/src/API.cpp @@ -0,0 +1,12 @@ +#include "../include/API.h" + + +API::API(){ + //TODO: implement API constructor +} + +JSONVar* API::connect(){ + JSONVar* sortie = new JSONVar(); + //TODO: implement connect methods + return sortie; +} \ No newline at end of file