diff --git a/src/machine.cpp b/src/machine.cpp new file mode 100644 index 0000000..e69de29 diff --git a/src/machine.hpp b/src/machine.hpp new file mode 100644 index 0000000..4fb3434 --- /dev/null +++ b/src/machine.hpp @@ -0,0 +1,8 @@ +#pragma once + + +class Machine{ + unsigned int connection; + unsigned int connectionMax; + +} \ No newline at end of file diff --git a/src/main.cpp b/src/main.cpp index 5fc219f..d8febc1 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -2,9 +2,15 @@ #include #include "programme.hpp" - +#include int main() { + Programme prog1({"file1.txt","file2.txt","file3.txt"}, "image1"); std::queue file; - file.push(Programme()); + file.push(prog1); + + + //while true{ + //} } + \ No newline at end of file diff --git a/src/programme.cpp b/src/programme.cpp index a3c8221..f037651 100644 --- a/src/programme.cpp +++ b/src/programme.cpp @@ -1,3 +1,4 @@ #include "programme.hpp" -Programme::Programme(){} \ No newline at end of file +Programme::Programme(const std::vector& files, const std::string& image): files{files}, imageContainer{image} +{} \ No newline at end of file diff --git a/src/programme.hpp b/src/programme.hpp index 9cc5be7..8caadd1 100644 --- a/src/programme.hpp +++ b/src/programme.hpp @@ -1,8 +1,12 @@ #pragma once +#include +#include + class Programme{ std::vector files; + std::string imageContainer; public: - Programme(); + Programme(const std::vector& files, const std::string& image); }; \ No newline at end of file