24 linhas
397 B
C++
24 linhas
397 B
C++
#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
|