YggdrasilWM  0.1.1
A tiny window manager coded in C++
CommandBase.hpp
Go to the documentation of this file.
1 
27 #ifndef YGGDRASILWM_COMMANDBASE_HPP
28 #define YGGDRASILWM_COMMANDBASE_HPP
29 #include <string>
30 
35 class CommandBase {
36 public:
37  CommandBase() = default;
38  virtual ~CommandBase() = default;
44  virtual void execute(const std::string &args) = 0;
45 };
46 
47 #endif //YGGDRASILWM_COMMANDBASE_HPP
Definition: CommandBase.hpp:35
virtual void execute(const std::string &args)=0
Each child class must implement this interface.
virtual ~CommandBase()=default
CommandBase()=default