25 lines
395 B
C++
25 lines
395 B
C++
|
/*
|
|||
|
* OpenCommand.hpp
|
|||
|
*
|
|||
|
* Created on: 4 нояб. 2021 г.
|
|||
|
* Author: alexander
|
|||
|
*/
|
|||
|
|
|||
|
#pragma once
|
|||
|
|
|||
|
#include "Command.hpp"
|
|||
|
#include "Application.hpp"
|
|||
|
#include <string>
|
|||
|
|
|||
|
class OpenCommand: public Command
|
|||
|
{
|
|||
|
private:
|
|||
|
Application *_application;
|
|||
|
std::string _response;
|
|||
|
protected:
|
|||
|
virtual std::string AskUser();
|
|||
|
public:
|
|||
|
OpenCommand(Application*);
|
|||
|
virtual void Execute();
|
|||
|
};
|