kakoune/src/register.hh

25 lines
374 B
C++
Raw Normal View History

#ifndef register_hh_INCLUDED
#define register_hh_INCLUDED
#include "memoryview.hh"
2013-04-09 20:05:40 +02:00
#include "string.hh"
namespace Kakoune
{
2013-02-18 14:00:43 +01:00
struct Context;
class Register
{
public:
virtual ~Register() {}
virtual Register& operator=(const memoryview<String>& values) = 0;
virtual memoryview<String> values(const Context& context) = 0;
};
}
#endif // register_hh_INCLUDED