Files
Upsilon/apps/expression_editor/expression_and_layout.h
Léa Saviot be9cde8ca4 [expression_editor] Base app for development, to remove later.
Change-Id: I1d5b59f67fd146d2e2917546a7d8b9419a0a7036
2018-01-15 11:57:58 +01:00

27 lines
774 B
C++

#ifndef EXPRESSION_EDITOR_EXPRESSION_AND_LAYOUT_H
#define EXPRESSION_EDITOR_EXPRESSION_AND_LAYOUT_H
#include <poincare.h>
namespace ExpressionEditor {
class ExpressionAndLayout {
public:
ExpressionAndLayout();
~ExpressionAndLayout();
ExpressionAndLayout(const ExpressionAndLayout& other) = delete;
ExpressionAndLayout(ExpressionAndLayout&& other) = delete;
ExpressionAndLayout operator=(const ExpressionAndLayout& other) = delete;
ExpressionAndLayout& operator=(ExpressionAndLayout&& other) = delete;
Poincare::Expression * expression() { return m_expression; }
Poincare::ExpressionLayout * expressionLayout() { return m_expressionLayout; }
private:
Poincare::Expression * m_expression;
Poincare::ExpressionLayout * m_expressionLayout;
};
}
#endif