2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
+ * pch.h: dont include <boost/function/function0.hpp>
+
* Makefile.am (lyx_SOURCES): remove ShareContainer.h
* paragraph_pimpl.h: remove usage of ShareContainer
+2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
+
+ * pch.h: include <boost/function.hpp> instead of
+ <boost/function/function0.hpp>
+
+ * GraphicsImage.C: Use preferred calling of boost::function
+ * GraphicsImage.h: ditto
+
2004-08-16 José Matos <jamatos@lyx.org>
* PreviewLoader.C (Impl::startLoading): remove space at end of line.
// This is to be connected to a function that will return a new
// instance of a viable derived class.
-boost::function0<Image::ImagePtr> Image::newImage;
+boost::function<Image::ImagePtr()> Image::newImage;
/// Return the list of loadable formats.
-boost::function0<Image::FormatList> Image::loadableFormats;
+boost::function<Image::FormatList()> Image::loadableFormats;
std::pair<unsigned int, unsigned int>
#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 <vector>
*/
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;
+ static boost::function<FormatList()> loadableFormats;
///
virtual ~Image() {}
#include <config.h>
-#include <boost/function/function0.hpp>
+#include <boost/function.hpp>
#include <boost/scoped_ptr.hpp>
#include <boost/shared_ptr.hpp>
#include <boost/signals/signal0.hpp>
+2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
+
+ * ExternalTransforms.h: User preferred calling of Boost.Function
+
2004-09-24 Andreas Vox <vox@isp.uni-luebeck.de>
* insetref.C (docbook): fixing problem where Docbook XML output
* pch.h: new file
- * Makefile.am: support pch
+ * Makefile.am: support pch
2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
};
-typedef boost::function1<TransformOption::ptr_type, ClipData>
+typedef boost::function<TransformOption::ptr_type(ClipData)>
ClipOptionFactory;
-typedef boost::function1<TransformOption::ptr_type, std::string>
+typedef boost::function<TransformOption::ptr_type(std::string)>
ExtraOptionFactory;
-typedef boost::function1<TransformOption::ptr_type, ResizeData>
+typedef boost::function<TransformOption::ptr_type(ResizeData)>
ResizeOptionFactory;
-typedef boost::function1<TransformOption::ptr_type, RotationData>
+typedef boost::function<TransformOption::ptr_type(RotationData)>
RotationOptionFactory;
-typedef boost::function1<TransformCommand::ptr_type, ResizeData>
+typedef boost::function<TransformCommand::ptr_type(ResizeData)>
ResizeCommandFactory;
-typedef boost::function1<TransformCommand::ptr_type, RotationData>
+typedef boost::function<TransformCommand::ptr_type(RotationData)>
RotationCommandFactory;
#include <boost/cregex.hpp>
#include <boost/current_function.hpp>
// #include <boost/format.hpp> // mult def symbols problem (_1, _2 etc)
-#include <boost/function/function0.hpp>
#include <boost/function.hpp>
#include <boost/iterator/indirect_iterator.hpp>
#include <boost/optional.hpp>
+2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
+
+ * forkedcall.h: remove include of <boost/function/funtion0.hpp>
+ * pch.h: ditto
+
2004-09-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
* textutils.h (IsLetterCharOrDigit): remove
#include <boost/shared_ptr.hpp>
#include <boost/signals/signal2.hpp>
-#include <boost/function/function0.hpp>
#include <sys/types.h>
#include <boost/assert.hpp>
#include <boost/crc.hpp>
// #include <boost/format.hpp> // mult def symbols problem (_1,_2 etc)
-#include <boost/function/function0.hpp>
#include <boost/regex.hpp>
#include <boost/scoped_array.hpp>
#include <boost/scoped_ptr.hpp>