Store Sequence sequence location in a shared_ptr class
[mussa.git] / py / annotation_colors.cpp
1 #include <boost/python.hpp>
2 #include <boost/python/register_ptr_to_python.hpp>
3 using namespace boost::python;
4
5 #include <boost/shared_ptr.hpp>
6
7 #include "alg/annotation_colors.hpp"
8
9 void export_annotation_colors()
10 {
11   class_<AnnotationColors>("AnnotationColors")
12     .def("clear", &AnnotationColors::clear)
13     .add_property("color", &AnnotationColors::color,
14                            &AnnotationColors::setColor,
15                            "access default color for this color mapper")
16   ;
17
18   register_ptr_to_python< boost::shared_ptr<AnnotationColors> >();
19 }