]> git.lyx.org Git - lyx.git/blobdiff - src/graphics/GraphicsLoader.C
Use UTF8 for LaTeX export.
[lyx.git] / src / graphics / GraphicsLoader.C
index 391fac6ac5380b3207cb90ef2e7f362ed61ccd91..bea847426a961b48801a6ea18cdfba1af9c67122 100644 (file)
@@ -5,29 +5,29 @@
  *
  * \author Angus Leeming
  *
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
  */
 
 #include <config.h>
 
 #include "GraphicsLoader.h"
 
-#include "GraphicsCache.h"
 #include "GraphicsCacheItem.h"
 #include "GraphicsImage.h"
 #include "GraphicsParams.h"
 #include "LoaderQueue.h"
 
-#include "frontends/LyXView.h"
-
 #include <boost/bind.hpp>
-#include <boost/signals/trackable.hpp>
 
-#include <list>
 
-namespace grfx {
+using std::string;
+
 
-struct Loader::Impl : boost::signals::trackable {
+namespace lyx {
+namespace graphics {
+
+class Loader::Impl : public boost::signals::trackable {
+public:
        ///
        Impl();
        ///
@@ -52,7 +52,7 @@ struct Loader::Impl : boost::signals::trackable {
        /// We modify a local copy of the image once it is loaded.
        Image::ImagePtr image_;
        /// This signal is emitted when the image loading status changes.
-       boost::signal0<void> signal_;
+       boost::signal<void()> signal_;
 
 private:
        ///
@@ -62,7 +62,6 @@ private:
 
        ///
        Params params_;
-
 };
 
 
@@ -296,4 +295,5 @@ void Loader::Impl::startLoading()
 }
 
 
-} // namespace grfx
+} // namespace graphics
+} // namespace lyx