kakoune/src/register.hh
2013-07-26 01:50:36 +02:00

25 lines
367 B
C++

#ifndef register_hh_INCLUDED
#define register_hh_INCLUDED
#include "memoryview.hh"
#include "string.hh"
namespace Kakoune
{
struct Context;
class Register
{
public:
virtual ~Register() {}
virtual Register& operator=(memoryview<String> values) = 0;
virtual memoryview<String> values(const Context& context) = 0;
};
}
#endif // register_hh_INCLUDED