qsrun/calculationengine.h

23 lines
487 B
C
Raw Normal View History

2018-01-03 09:52:05 +01:00
#ifndef CALCULATIONENGINE_H
#define CALCULATIONENGINE_H
#include <QString>
#include <libqalculate/Calculator.h>
#include <libqalculate/ExpressionItem.h>
#include <libqalculate/Unit.h>
#include <libqalculate/Prefix.h>
#include <libqalculate/Variable.h>
#include <libqalculate/Function.h>
class CalculationEngine
{
private:
EvaluationOptions eo;
PrintOptions po;
public:
CalculationEngine();
QString evaluate(const QString &expression);
};
#endif // CALCULATIONENGINE_H