Hotwheels-Cluster 1.2
Creation of Cluster APP for SEA:ME project.
 
Loading...
Searching...
No Matches
SystemCommandExecutor.hpp
Go to the documentation of this file.
1
15
16#ifndef SYSTEMCOMMANDEXECUTOR_HPP
17#define SYSTEMCOMMANDEXECUTOR_HPP
18
19#include <QFile>
20#include <QProcess>
21#include <QTextStream>
23
29{
30public:
31 QString executeCommand(const QString &command) const override;
32 QString readFile(const QString &filePath) const override;
33};
34
35#endif // SYSTEMCOMMANDEXECUTOR_HPP
Definition of the ISystemCommandExecutor interface.
Interface for executing system commands and reading files.
Class that executes system commands and reads files.
QString executeCommand(const QString &command) const override
Executes a system command.
QString readFile(const QString &filePath) const override
Reads a file and returns its contents.