(Sorry my English)
I try to do it, but don't work. Maybe I don't understand  the article "Code::Blocks SDK events", if you have any example or everything else I appreciate that.
The Errors are:
borrar1/alfre.cpp:54:     error:       ‘class Manager’ has no member named ‘RegisterEventSink’
borrar1/alfre.cpp:54:     error:        expected type-specifier before ‘cbFunctorBase’
borrar1/alfre.cpp:54:     error:        expected `)' before ‘cbFunctorBase’
borrar1/alfre.cpp:54:     error:        expected primary-expression before ‘>’ token
                                          THANKS for your time