2012-02-08 00:01:02 +01:00
|
|
|
#ifndef register_hh_INCLUDED
|
|
|
|
#define register_hh_INCLUDED
|
|
|
|
|
|
|
|
#include "memoryview.hh"
|
2013-04-09 20:05:40 +02:00
|
|
|
#include "string.hh"
|
2012-02-08 00:01:02 +01:00
|
|
|
|
|
|
|
namespace Kakoune
|
|
|
|
{
|
|
|
|
|
2013-11-11 20:10:49 +01:00
|
|
|
class Context;
|
2012-08-05 20:13:41 +02:00
|
|
|
|
2012-02-08 00:01:02 +01:00
|
|
|
class Register
|
|
|
|
{
|
|
|
|
public:
|
2012-06-29 18:37:17 +02:00
|
|
|
virtual ~Register() {}
|
2013-07-26 01:17:12 +02:00
|
|
|
virtual Register& operator=(memoryview<String> values) = 0;
|
2012-02-08 00:01:02 +01:00
|
|
|
|
2012-08-05 20:13:41 +02:00
|
|
|
virtual memoryview<String> values(const Context& context) = 0;
|
2012-02-08 00:01:02 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif // register_hh_INCLUDED
|
|
|
|
|