]> git.lyx.org Git - lyx.git/blobdiff - src/graphics/PreviewImage.h
Removed all redundant using directives from the source.
[lyx.git] / src / graphics / PreviewImage.h
index 4d8829d55ac3d5c60ee459fa133576123582218c..1289fde12f12cc841cdcfdde55bcd76ec8dfebd6 100644 (file)
@@ -1,27 +1,24 @@
 // -*- C++ -*-
 /**
- *  \file PreviewImage.h
- *  Read the file COPYING
+ * \file PreviewImage.h
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
- * \author Angus Leeming 
+ * \author Angus Leeming
  *
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
  */
 
 #ifndef PREVIEWIMAGE_H
 #define PREVIEWIMAGE_H
 
-#ifdef __GNUG__
-#pragma interface
-#endif
-
-#include "LString.h"
+#include "support/std_string.h"
 #include <boost/scoped_ptr.hpp>
 
-class Inset;
-class BufferView;
+class InsetOld;
 
-namespace grfx {
+namespace lyx {
+namespace graphics {
 
 class PreviewLoader;
 class Image;
@@ -49,10 +46,8 @@ public:
 
        /** If the image is not yet loaded (WaitingToLoad), then this method
         *  triggers that.
-        *  inset and bv are passed so we can choose to load only
-        *  those insets that are visible.
         */
-       Image const * image(Inset const & inset, BufferView const & bv) const;
+       Image const * image() const;
 
 private:
        /// Use the Pimpl idiom to hide the internals.
@@ -61,6 +56,7 @@ private:
        boost::scoped_ptr<Impl> const pimpl_;
 };
 
-} // namespace grfx
+} // namespace graphics
+} // namespace lyx
 
 #endif // PREVIEWIMAGE_H