diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2012-08-05 16:46:10 +0200 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2012-08-05 16:46:10 +0200 |
| commit | d91070f5b79b04ec3cb5b5df2890b4471f2fddb9 (patch) | |
| tree | 3f1e582fb9a829a5d00275a39fd1b748db2219e1 /src/context.hh | |
| parent | 83f948592b6e84b419dae214c1e623a127a82d4a (diff) | |
Context: add a numeric_param property
Diffstat (limited to 'src/context.hh')
| -rw-r--r-- | src/context.hh | 5 |
1 files changed, 5 insertions, 0 deletions
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<Window> m_window; safe_ptr<Buffer> m_buffer; + int m_numeric_param = 0; }; } |
