2011-12-02 15:28:27 +01:00
|
|
|
#ifndef filter_hh_INCLUDED
|
|
|
|
#define filter_hh_INCLUDED
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
#include <functional>
|
|
|
|
|
|
|
|
namespace Kakoune
|
|
|
|
{
|
|
|
|
|
|
|
|
class Buffer;
|
2011-12-06 19:58:43 +01:00
|
|
|
class Modification;
|
2011-12-02 15:28:27 +01:00
|
|
|
|
2011-12-06 19:58:43 +01:00
|
|
|
typedef std::function<void (Buffer& buffer, Modification& modification)> FilterFunc;
|
2011-12-02 15:28:27 +01:00
|
|
|
typedef std::pair<std::string, FilterFunc> FilterAndId;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif // filter_hh_INCLUDED
|