mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 08:47:28 +01:00
25 lines
410 B
C++
25 lines
410 B
C++
#ifndef GRAPH_FUNCTION_H
|
|
#define GRAPH_FUNCTION_H
|
|
|
|
#include <poincare.h>
|
|
|
|
namespace Graph {
|
|
|
|
class Function {
|
|
public:
|
|
Function();
|
|
Function(const char * text);
|
|
~Function(); // Delete expression and layout, if needed
|
|
const char * text();
|
|
Expression * expression();
|
|
ExpressionLayout * layout();
|
|
private:
|
|
const char * m_text;
|
|
Expression * m_expression;
|
|
ExpressionLayout * m_layout;
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|