20 lines
307 B
C++
20 lines
307 B
C++
|
/*
|
|||
|
* 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;
|
|||
|
}
|
|||
|
};
|