]> git.lyx.org Git - lyx.git/blobdiff - src/graphics/PreviewLoader.h
Purely mechanical: move fragile into LatexRunParams.
[lyx.git] / src / graphics / PreviewLoader.h
index edad57b640b240a9d6d864a1a8dc5e37b52ca008..93ea8da64b3e0b9ccd66b35aa6c362697c3cefb4 100644 (file)
@@ -1,25 +1,23 @@
 // -*- C++ -*-
 /**
  *  \file PreviewLoader.h
- *  Copyright 2002 the LyX Team
- *  Read the file COPYING
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
- * \author Angus Leeming <leeming@lyx.org>
+ * \author Angus Leeming
+ *
+ * Full author contact details are available in file CREDITS
  *
  *  grfx::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 readyToDisplay signal
- *  to inform the initiating process.
+ *  to be loaded back into LyX, the PreviewLoader emits a signal to inform
+ *  the initiating process.
  */
 
 #ifndef PREVIEWLOADER_H
 #define PREVIEWLOADER_H
 
-#ifdef __GNUG__
-#pragma interface
-#endif
-
 #include "LString.h"
 #include <boost/utility.hpp>
 #include <boost/scoped_ptr.hpp>
@@ -84,6 +82,9 @@ public:
         */
        void emitSignal(PreviewImage const &) const;
 
+       /// Which buffer owns this loader.
+       Buffer const & buffer() const;
+
 private:
        /// Use the Pimpl idiom to hide the internals.
        class Impl;