Skip to content
Snippets Groups Projects
Select Git revision
  • main default protected
1 result

Obra.hpp

Blame
  • Obra.hpp 454 B
    #ifndef __OBRA__
    #define __OBRA__
    
    #include "DescricaoObra.hpp"
    
    class Obra {
      private:
        DescricaoObra& descricao;
        int disponiveis;
        int total;
    
      public:
        // Contructor
        Obra();
        Obra(DescricaoObra& descricao);
        virtual void mostrarDetalhes() const;
    
        // Methods
        bool emprestar();
        void devolver();
        void adicionarObra();
        string getTitulo();
        int getDisponiveis();
        int getTotal();
    
    };
    
    #endif // !__OBRA__