1
0

cli: Move most classes to shared lib for reuse

Dieser Commit ist enthalten in:
2022-03-18 22:33:45 +01:00
Ursprung d43c35819d
Commit 478d57b342
33 geänderte Dateien mit 32 neuen und 44 gelöschten Zeilen

23
shared/sandboxedprocessor.h Normale Datei
Datei anzeigen

@ -0,0 +1,23 @@
#ifndef SANDBOXEDPROCESSOR_H
#define SANDBOXEDPROCESSOR_H
#include <QString>
#include "pagedata.h"
class SandboxedProcessor
{
private:
QString filePath;
void enableSandbox(QString readablePath = "");
void printResults(const QVector<PageData> &pageData);
public:
SandboxedProcessor(QString filepath)
{
this->filePath = filepath;
}
int process();
};
#endif // SANDBOXEDPROCESSOR_H