]> git.lyx.org Git - lyx.git/blobdiff - src/graphics/PreviewImage.h
Trivial fixes to some warnings thrown up by MSVS.Net 2003.
[lyx.git] / src / graphics / PreviewImage.h
index 4c459756d01b7a8e61a8c5751c447dc9b25cf1f2..c4de71bfc896de0ac1c7e4ffca8424cfe43a4010 100644 (file)
@@ -1,24 +1,22 @@
 // -*- C++ -*-
 /**
- *  \file PreviewImage.h
+ * \file PreviewImage.h
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
  * \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
 
-#include "LString.h"
 #include <boost/scoped_ptr.hpp>
+#include <string>
 
-class Inset;
-class BufferView;
-
-namespace grfx {
+namespace lyx {
+namespace graphics {
 
 class PreviewLoader;
 class Image;
@@ -29,14 +27,14 @@ public:
         *  descent = height * (1 - ascent_frac)
         */
        PreviewImage(PreviewLoader & parent,
-                    string const & latex_snippet,
-                    string const & bitmap_file,
+                    std::string const & latex_snippet,
+                    std::string const & bitmap_file,
                     double ascent_frac);
        ///
        ~PreviewImage();
 
        ///
-       string const & snippet() const;
+       std::string const & snippet() const;
        ///
        int ascent() const;
        ///
@@ -56,6 +54,7 @@ private:
        boost::scoped_ptr<Impl> const pimpl_;
 };
 
-} // namespace grfx
+} // namespace graphics
+} // namespace lyx
 
 #endif // PREVIEWIMAGE_H