]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetCitation.h
Fix problem with static error list.
[lyx.git] / src / insets / InsetCitation.h
index 49104924cd2d00f0cc31a8e56640ee2b322f0680..6eb0da03fc52c540c7d0fa3d88b15d4d14653bcd 100644 (file)
@@ -41,6 +41,8 @@ public:
        ///
        docstring toolTip(BufferView const & bv, int x, int y) const;
        ///
+       void doDispatch(Cursor & cur, FuncRequest & cmd);
+       ///
        InsetCode lyxCode() const { return CITE_CODE; }
        ///
        void latex(otexstream &, OutputParams const &) const;
@@ -102,14 +104,10 @@ private:
        static ParamInfo param_info_;
 
        ///
-       class Cache {
-       public:
-               ///
-               Cache() : engine(ENGINE_BASIC), params(CITE_CODE) {}
-               ///
-               CiteEngine engine;
+       struct Cache {
+               Cache() : recalculate(true) {};
                ///
-               InsetCommandParams params;
+               bool recalculate;
                ///
                docstring generated_label;
                ///