]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetbase.h
Enable the external inset to handle unknown templates gracefully.
[lyx.git] / src / insets / insetbase.h
index ef87a2f966a96d39a5da29541aca3b74fe9c1029..51ba1a981a674fb68b9c1c8360d600079b1401d3 100644 (file)
@@ -19,6 +19,7 @@ class FuncRequest;
 class MetricsInfo;
 class Dimension;
 class PainterInfo;
+class LaTeXFeatures;
 
 /** Dispatch result codes
                DISPATCHED          = the inset catched the action
@@ -81,6 +82,8 @@ public:
        virtual void cache(BufferView *) const {}
        ///
        virtual BufferView * view() const { return 0; }
+       /// request "external features"
+       virtual void validate(LaTeXFeatures &) const {}
 };
 
 #endif