19 lines
338 B
C++
19 lines
338 B
C++
|
#ifndef filter_hh_INCLUDED
|
||
|
#define filter_hh_INCLUDED
|
||
|
|
||
|
#include <string>
|
||
|
#include <functional>
|
||
|
|
||
|
namespace Kakoune
|
||
|
{
|
||
|
|
||
|
class Buffer;
|
||
|
class BufferModification;
|
||
|
|
||
|
typedef std::function<void (Buffer& buffer, BufferModification& modification)> FilterFunc;
|
||
|
typedef std::pair<std::string, FilterFunc> FilterAndId;
|
||
|
|
||
|
}
|
||
|
|
||
|
#endif // filter_hh_INCLUDED
|