mirror of
https://github.com/usatiuk/backup.git
synced 2025-10-26 17:37:47 +01:00
27 lines
374 B
C++
27 lines
374 B
C++
//
|
|
// Created by Stepan Usatiuk on 13.04.2023.
|
|
//
|
|
|
|
#ifndef SEMBACKUP_RUNNABLE_H
|
|
#define SEMBACKUP_RUNNABLE_H
|
|
|
|
#include <iostream>
|
|
#include <string>
|
|
|
|
class Runnable {
|
|
public:
|
|
Runnable(std::string name);
|
|
|
|
virtual bool run(std::ostream &out) = 0;
|
|
|
|
virtual ~Runnable();
|
|
|
|
std::string getName();
|
|
|
|
protected:
|
|
std::string name;
|
|
};
|
|
|
|
|
|
#endif//SEMBACKUP_RUNNABLE_H
|