This repository has been archived on 2022-11-09. You can view files and clone it, but cannot push or open issues or pull requests.
patterns-old/lesson_6/Application.hpp

20 lines
307 B
C++
Raw Normal View History

2021-11-04 19:47:40 +00:00
/*
* Application.hpp
*
* Created on: 4 нояб. 2021 г.
* Author: alexander
*/
#pragma once
#include "Document.hpp"
class Application
{
public:
void Add(Document *doc)
{
std::cout << "Документ " << doc->getName() << " был добавлен!" << std::endl;
}
};