#ifndef INSETBASE_H
#define INSETBASE_H
-#include "support/std_string.h"
-
+#include <string>
#include <vector>
#include <memory>
+class Buffer;
class BufferView;
class FuncRequest;
class MetricsInfo;
/// draw inset and update (xo, yo)-cache
virtual void draw(PainterInfo & pi, int x, int y) const = 0;
- /// Methods to cache and retrieve a cached BufferView.
- virtual void cache(BufferView *) const {}
- ///
- virtual BufferView * view() const { return 0; }
/// request "external features"
virtual void validate(LaTeXFeatures &) const {}
- /// fill in all labels in the inset
- virtual void getLabelList(std::vector<string> &) const {}
+ /// Appends \c list with all labels found within this inset.
+ virtual void getLabelList(Buffer const &,
+ std::vector<std::string> & /* list */) const {}
};
#endif