]> git.lyx.org Git - lyx.git/blobdiff - src/graphics/PreviewLoader.h
Preview fiddling (preparing the way for mathed previews).
[lyx.git] / src / graphics / PreviewLoader.h
index 3db6850b8fb6acb8be89a1861a8e6d074e1e02c3..ecb518f1a880423df1485f1ca14f875c412b1433 100644 (file)
@@ -1,24 +1,23 @@
 // -*- C++ -*-
 /**
- *  \file PreviewLoader.h
+ * \file PreviewLoader.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.
  *
- *  lyx::graphics::PreviewLoader collects latex snippets together. Then, on a
- *  startLoading() call, these are dumped to file and processed, converting
- *  each snippet to a separate bitmap image file. Once a bitmap file is ready
- *  to be loaded back into LyX, the PreviewLoader emits a signal to inform
- *  the initiating process.
+ * lyx::graphics::PreviewLoader collects latex snippets together. Then, on a
+ * startLoading() call, these are dumped to file and processed, converting
+ * each snippet to a separate bitmap image file. Once a bitmap file is ready
+ * to be loaded back into LyX, the PreviewLoader emits a signal to inform
+ * the initiating process.
  */
 
 #ifndef PREVIEWLOADER_H
 #define PREVIEWLOADER_H
 
-#include "LString.h"
 #include <boost/utility.hpp>
 #include <boost/scoped_ptr.hpp>
 #include <boost/signals/signal1.hpp>
@@ -42,7 +41,7 @@ public:
        /** Is there an image already associated with this snippet of LaTeX?
         *  If so, returns a pointer to it, else returns 0.
         */
-       PreviewImage const * preview(string const & latex_snippet) const;
+       PreviewImage const * preview(std::string const & latex_snippet) const;
 
        ///
        enum Status {
@@ -57,13 +56,13 @@ public:
        };
 
        /// How far have we got in loading the image?
-       Status status(string const & latex_snippet) const;
+       Status status(std::string const & latex_snippet) const;
 
        /// Add a snippet of LaTeX to the queue for processing.
-       void add(string const & latex_snippet) const;
+       void add(std::string const & latex_snippet) const;
 
        /// Remove this snippet of LaTeX from the PreviewLoader.
-       void remove(string const & latex_snippet) const;
+       void remove(std::string const & latex_snippet) const;
 
        /** We have accumulated several latex snippets with status "InQueue".
         *  Initiate their transformation into bitmap images.