From f649f841b919cf2fa5c40f7d8b1bf1dd61300a81 Mon Sep 17 00:00:00 2001 From: mbkma Date: Sun, 31 May 2020 01:04:31 +0200 Subject: Implement navigation through history stack equations using keyboard --- src/math-history.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/math-history.h') diff --git a/src/math-history.h b/src/math-history.h index 7c7b079..87dab7a 100644 --- a/src/math-history.h +++ b/src/math-history.h @@ -45,6 +45,15 @@ math_history_new(MathEquation *equation); void math_history_insert_entry(MathHistory *history, char *equation, MPNumber *answer, int number_base); +gpointer +math_history_get_entry_at(MathHistory *history, int index); + +void +math_history_set_current(MathHistory *history, int value); + +int +math_history_get_current(MathHistory *history); + void math_history_clear(MathHistory *history); -- cgit v1.2.1