]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetCitation.h
Replace a half-baked attempt to remove \lyxdot from the directory part of
[lyx.git] / src / insets / InsetCitation.h
index 49104924cd2d00f0cc31a8e56640ee2b322f0680..2762bfd9f2c964ed647a5cffe70362aa6d732e36 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;
@@ -61,7 +63,7 @@ public:
        ///
        void addToToc(DocIterator const &) const;
        ///
-       docstring contextMenuName() const;
+       std::string contextMenuName() const;
        //@}
 
        /// \name Static public methods obligated for InsetCommand derived classes
@@ -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;
                ///