kakoune/src/register.hh

24 lines
363 B
C++
Raw Normal View History

#ifndef register_hh_INCLUDED
#define register_hh_INCLUDED
2015-01-06 14:40:56 +01:00
#include "array_view.hh"
2013-04-09 20:05:40 +02:00
#include "string.hh"
namespace Kakoune
{
2013-11-11 20:10:49 +01:00
class Context;
class Register
{
public:
virtual ~Register() {}
2015-01-06 14:40:56 +01:00
virtual Register& operator=(ArrayView<String> values) = 0;
2015-01-06 14:40:56 +01:00
virtual ArrayView<String> values(const Context& context) = 0;
};
}
#endif // register_hh_INCLUDED