]> git.lyx.org Git - lyx.git/blobdiff - src/graphics/GraphicsImage.h
Use UTF8 for LaTeX export.
[lyx.git] / src / graphics / GraphicsImage.h
index 9723d4388bf3a5b1afb63dfb87c371d5914101fe..5364aa1dbb7263c3e3321f5514cf2addbb4fcc21 100644 (file)
@@ -24,9 +24,9 @@
 #ifndef GRAPHICSIMAGE_H
 #define GRAPHICSIMAGE_H
 
+#include <boost/function.hpp>
 #include <boost/shared_ptr.hpp>
-#include <boost/function/function0.hpp>
-#include <boost/signals/signal1.hpp>
+#include <boost/signal.hpp>
 
 #include <vector>
 #include <utility>
@@ -43,12 +43,12 @@ public:
         */
        typedef boost::shared_ptr<Image> ImagePtr;
        ///
-       static boost::function0<ImagePtr> newImage;
+       static boost::function<ImagePtr()> newImage;
 
-       /// Return the list of loadable formats.
-       typedef std::vector<std::string> FormatList;
        ///
-       static boost::function0<FormatList> loadableFormats;
+       typedef std::vector<std::string> FormatList;
+       /// Return the list of loadable formats.
+       static boost::function<FormatList()> loadableFormats;
 
        ///
        virtual ~Image() {}
@@ -66,9 +66,9 @@ public:
        bool isDrawable() const;
 
        /** At the end of the loading process inform the outside world
-        *  by emitting a signal.
+        *  by emitting a signal
         */
-       typedef boost::signal1<void, bool> SignalType;
+       typedef boost::signal<void(bool)> SignalType;
        ///
        SignalType finishedLoading;