home/src/filter.hh

19 lines
338 B
C++
Raw Normal View History

#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