]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetInclude.h
Fix wrongly copy-pasted entries in SpellcheckerUi.ui
[lyx.git] / src / insets / InsetInclude.h
index 3264f5ccd382f8a9e3f4c61895b3c6927ff325da..ad216bcca635597eadcb8e184ce146fe5fe681f2 100644 (file)
 
 #include "InsetCommand.h"
 
-#include "BiblioInfo.h"
-#include "Counters.h"
-#include "InsetCommandParams.h"
 #include "RenderButton.h"
 
-#include "support/FileNameList.h"
-
 #include <boost/scoped_ptr.hpp>
 
 namespace lyx {
 
+class BiblioInfo;
 class Buffer;
 class Dimension;
+class InsetCommandParams;
 class InsetLabel;
 class LaTeXFeatures;
 class RenderMonitoredPreview;
 
+namespace support {
+       class FileNameList;
+}
+
 /// for including tex/lyx files
 class InsetInclude : public InsetCommand {
 public:
@@ -82,11 +83,11 @@ public:
         *  \param keys the list of bibkeys in the child buffer.
         *  \param it not used here
         */
-       void fillWithBibKeys(BiblioInfo & keys, InsetIterator const & it) const;
+       void collectBibKeys(InsetIterator const &) const;
        ///
        bool hasSettings() const { return true; }
        ///
-       int latex(odocstream &, OutputParams const &) const;
+       void latex(otexstream &, OutputParams const &) const;
        ///
        int plaintext(odocstream &, OutputParams const &) const;
        ///
@@ -98,11 +99,11 @@ public:
        ///
        void addPreview(DocIterator const &, graphics::PreviewLoader &) const;
        ///
-       void addToToc(DocIterator const &);
+       void addToToc(DocIterator const &) const;
        ///
        void updateBuffer(ParIterator const &, UpdateType);
        ///
-       docstring contextMenu(BufferView const & bv, int x, int y) const;
+       docstring contextMenuName() const;
        //@}
 
        /// \name Static public methods obligated for InsetCommand derived classes