From 5a2e1b188cb64a649d0e4fcf8703174fe68c83a5 Mon Sep 17 00:00:00 2001 From: Muriki <mgy20@inf.ufpr.br> Date: Mon, 2 Dec 2024 12:18:02 -0300 Subject: [PATCH] Adicionado headers --- sources/Biblioteca.cpp | 1 + sources/Biblioteca.hpp | 12 +++++++++++ sources/ControladorObras.cpp | 1 + sources/ControladorObras.hpp | 11 ++++++++++ sources/ControladorUsuarios.hpp | 11 ++++++++++ sources/DescricaoObra.hpp | 14 +++++++++++++ sources/Emprestimo.hpp | 11 ++++++++++ sources/Obra.hpp | 11 ++++++++++ sources/Usuario.cpp | 37 +++++++++++++++++++++++++++++++++ sources/Usuario.hpp | 27 ++++++++++++++++++++++++ 10 files changed, 136 insertions(+) create mode 100644 sources/Biblioteca.hpp create mode 100644 sources/ControladorObras.hpp create mode 100644 sources/ControladorUsuarios.hpp create mode 100644 sources/DescricaoObra.hpp create mode 100644 sources/Emprestimo.hpp create mode 100644 sources/Obra.hpp create mode 100644 sources/Usuario.hpp diff --git a/sources/Biblioteca.cpp b/sources/Biblioteca.cpp index e69de29..2e5e0dc 100644 --- a/sources/Biblioteca.cpp +++ b/sources/Biblioteca.cpp @@ -0,0 +1 @@ +#include "./Biblioteca.hpp" diff --git a/sources/Biblioteca.hpp b/sources/Biblioteca.hpp new file mode 100644 index 0000000..cc35e5c --- /dev/null +++ b/sources/Biblioteca.hpp @@ -0,0 +1,12 @@ +#ifndef __BIBLIOTECA__ +#define __BIBLIOTECA__ + +class Biblioteca { + private: + + public: + + +}; + +#endif // !__BIBLIOTECA__ diff --git a/sources/ControladorObras.cpp b/sources/ControladorObras.cpp index e69de29..cf2ec1b 100644 --- a/sources/ControladorObras.cpp +++ b/sources/ControladorObras.cpp @@ -0,0 +1 @@ +#include "./ControladorObras.hpp" diff --git a/sources/ControladorObras.hpp b/sources/ControladorObras.hpp new file mode 100644 index 0000000..3d021b7 --- /dev/null +++ b/sources/ControladorObras.hpp @@ -0,0 +1,11 @@ +#ifndef __CONTROLADOR_OBRAS__ +#define __CONTROLADOR_OBRAS__ + +class ControladorObras { + private: + + public: + +}; + +#endif // !__CONTROLADOR_OBRAS__ diff --git a/sources/ControladorUsuarios.hpp b/sources/ControladorUsuarios.hpp new file mode 100644 index 0000000..e430ea0 --- /dev/null +++ b/sources/ControladorUsuarios.hpp @@ -0,0 +1,11 @@ +#ifndef __CONTROLADOR_USUARIOS__ +#define __CONTROLADOR_USUARIOS__ + +#include <vector> + + +class ControladorUsuarios { + +}; + +#endif // !__CONTROLADOR_USUARIOS__ diff --git a/sources/DescricaoObra.hpp b/sources/DescricaoObra.hpp new file mode 100644 index 0000000..c1c0864 --- /dev/null +++ b/sources/DescricaoObra.hpp @@ -0,0 +1,14 @@ +#ifndef __DESCRICAO_OBRA__ +#define __DESCRICAO_OBRA__ + +class DescricaoObra { + private: + + + public: + + +}; + + +#endif // !__DESCRICAO_OBRA__ diff --git a/sources/Emprestimo.hpp b/sources/Emprestimo.hpp new file mode 100644 index 0000000..c3dcde0 --- /dev/null +++ b/sources/Emprestimo.hpp @@ -0,0 +1,11 @@ +#ifndef __EMPRESTIMO__ +#define __EMPRESTIMO__ + +class Emprestimo { + private: + + public: + +}; + +#endif // !__EMPRESTIMO__ diff --git a/sources/Obra.hpp b/sources/Obra.hpp new file mode 100644 index 0000000..b77646f --- /dev/null +++ b/sources/Obra.hpp @@ -0,0 +1,11 @@ +#ifndef __OBRA__ +#define __OBRA__ + +class Obra { + private: + + public: + +}; + +#endif // !__OBRA__ diff --git a/sources/Usuario.cpp b/sources/Usuario.cpp index e69de29..d3cb3bf 100644 --- a/sources/Usuario.cpp +++ b/sources/Usuario.cpp @@ -0,0 +1,37 @@ + +#include "Usuario.hpp" + +using namespace std; + +Usuario create(); + +bool Usuario::emprestart(){ + + + return 0; +} + +bool Usuario::devolver(){ + + + return 0; +} + +int Usuario::atualizarMulta(){ + + + return 0; +} + +int Usuario::getMulta(){ + + + return 0; +} + +bool Usuario::pagarMulta(){ + + + return 0; +} + diff --git a/sources/Usuario.hpp b/sources/Usuario.hpp new file mode 100644 index 0000000..cfbc852 --- /dev/null +++ b/sources/Usuario.hpp @@ -0,0 +1,27 @@ +#ifndef __USUARIO__ +#define __USUARIO__ + +#include <string> + +using namespace std; + +class Usuario { + private: + string nome; + string CPF; + string endereco; + string telefone; + string email; + int multas; + //Emprestimos emp; + + public: + Usuario create(); + bool emprestart(); + bool devolver(); + int atualizarMulta(); + int getMulta(); + bool pagarMulta(); +}; + +#endif // !__USUARIO__ -- GitLab