menu: generalize filtering, introduce interfaces

This commit is contained in:
Andrzej Rybczak
2012-08-31 23:09:56 +02:00
parent f1625c920a
commit 4c944085d6
25 changed files with 516 additions and 142 deletions

View File

@@ -32,6 +32,7 @@
#include "curses.h"
#include "gcc.h"
#include <functional>
#include <list>
#include <stack>
#include <vector>
@@ -148,7 +149,7 @@ namespace NCurses
/// to obtain string from Window::GetString() function
/// @see Window::GetString()
///
typedef void (*GetStringHelper)(const std::wstring &);
typedef std::function<void(const std::wstring &)> GetStringHelper;
/// Initializes curses screen and sets some additional attributes
/// @param window_title title of the window (has an effect only if pdcurses lib is used)