mirror of
https://github.com/usatiuk/backup.git
synced 2025-10-27 01:37:49 +01:00
init
This commit is contained in:
26
tests/utils/Runnable.h
Normal file
26
tests/utils/Runnable.h
Normal file
@@ -0,0 +1,26 @@
|
||||
//
|
||||
// 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
|
||||
Reference in New Issue
Block a user