]> git.lyx.org Git - lyx.git/blobdiff - src/graphics/PreviewImage.h
Purely mechanical: move fragile into LatexRunParams.
[lyx.git] / src / graphics / PreviewImage.h
index 67b67ed856cb84472f32dfc53201637bfcce3e38..4c459756d01b7a8e61a8c5751c447dc9b25cf1f2 100644 (file)
@@ -1,22 +1,23 @@
 // -*- C++ -*-
 /**
  *  \file PreviewImage.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 <a.leeming@ic.ac.uk>
+ * \author Angus Leeming
+ *
+ * Full author contact details are available in file CREDITS
  */
 
 #ifndef PREVIEWIMAGE_H
 #define PREVIEWIMAGE_H
 
-#ifdef __GNUG__
-#pragma interface
-#endif
-
 #include "LString.h"
 #include <boost/scoped_ptr.hpp>
 
+class Inset;
+class BufferView;
+
 namespace grfx {
 
 class PreviewLoader;
@@ -34,9 +35,6 @@ public:
        ///
        ~PreviewImage();
 
-       /// We are explicit about when we begin the loading process.
-       void startLoading();
-
        ///
        string const & snippet() const;
        ///
@@ -45,7 +43,10 @@ public:
        int descent() const;
        ///
        int width() const;
-       ///
+
+       /** If the image is not yet loaded (WaitingToLoad), then this method
+        *  triggers that.
+        */
        Image const * image() const;
 
 private: