#include "graphics/GraphicsParams.h"
+#include "support/any.h"
#include "support/Length.h"
#include "support/unique_ptr.h"
-#include <boost/any.hpp>
-
#include <functional>
#include <map>
#include <memory>
enum TransformID {
+ None = -1,
Rotate,
Resize,
Clip,
*/
template <typename Factory>
TransformStore(TransformID id_, Factory const & factory)
- : id(id_), any_factory(boost::any(factory)) {}
+ : id(id_), any_factory(any(factory)) {}
typedef TransformCommand::ptr_type ComPtr;
typedef TransformOption::ptr_type OptPtr;
private:
TransformID id;
- boost::any any_factory;
+ any any_factory;
};
} // namespace external