From d91070f5b79b04ec3cb5b5df2890b4471f2fddb9 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Sun, 5 Aug 2012 16:46:10 +0200 Subject: [PATCH] Context: add a numeric_param property --- src/context.hh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/context.hh b/src/context.hh index 3cfb979c..348b2f9e 100644 --- a/src/context.hh +++ b/src/context.hh @@ -42,10 +42,15 @@ struct Context return GlobalOptionManager::instance(); } + int numeric_param() const { return m_numeric_param; } + void numeric_param(int param) { m_numeric_param = param; } + + public: safe_ptr m_window; safe_ptr m_buffer; + int m_numeric_param = 0; }; }