]> git.lyx.org Git - features.git/commitdiff
Remove some unneeded includes from some header files.
authorVincent van Ravesteijn <vfr@lyx.org>
Sun, 31 Oct 2010 00:31:57 +0000 (00:31 +0000)
committerVincent van Ravesteijn <vfr@lyx.org>
Sun, 31 Oct 2010 00:31:57 +0000 (00:31 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35939 a592a061-630c-0410-9148-cb99ea01b6c8

src/insets/InsetBibtex.cpp
src/insets/InsetBibtex.h
src/insets/InsetCitation.cpp
src/insets/InsetCitation.h
src/insets/InsetInclude.h

index 93ba1fdf25b8554adb387a6b694cc406dad24b31..ae20d9f22d9cc922be908488fe9268894c6fac19 100644 (file)
@@ -13,6 +13,7 @@
 
 #include "InsetBibtex.h"
 
+#include "BiblioInfo.h"
 #include "Buffer.h"
 #include "BufferParams.h"
 #include "DispatchResult.h"
@@ -33,6 +34,7 @@
 #include "support/debug.h"
 #include "support/docstream.h"
 #include "support/ExceptionMessage.h"
+#include "support/FileNameList.h"
 #include "support/filetools.h"
 #include "support/gettext.h"
 #include "support/lstrings.h"
index d4e1ad7ecbfaf2a687d7d30086835cde03567588..75d010aa7c39b20dcbab7cddfa82df8c23b22a7e 100644 (file)
 #ifndef INSET_BIBTEX_H
 #define INSET_BIBTEX_H
 
-#include "BiblioInfo.h"
 #include "InsetCommand.h"
 
-#include "support/FileNameList.h"
+namespace lyx {
 
-#include <map>
+class BiblioInfo;
 
-namespace lyx {
+namespace support {
+       class FileName;
+       class FileNameList;
+}
 
 /** Used to insert BibTeX's information
   */
index 26e0fe49046ef535bfec6853069769a0d012cdeb..e6495e72abe2cefa7711559367c52d1af04b6291 100644 (file)
@@ -13,6 +13,7 @@
 
 #include "InsetCitation.h"
 
+#include "BiblioInfo.h"
 #include "Buffer.h"
 #include "buffer_funcs.h"
 #include "BufferParams.h"
index a0845c639b18bdfc275909318b1a71aafcd4ac82..aedbd2e43b33a0c9d358795b0137a3283d31b1e1 100644 (file)
 #define INSET_CITATION_H
 
 #include "InsetCommand.h"
-#include "InsetCode.h"
-
-#include "BiblioInfo.h"
 
+#include "Citation.h"
 
 namespace lyx {
 
index 3264f5ccd382f8a9e3f4c61895b3c6927ff325da..b66a21b829ff578eec61ff8a02d1c7c4e557553b 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: