Tweaks to facilitate osgWrapper build

This commit is contained in:
Robert Osfield
2008-09-17 14:21:47 +00:00
parent 7ec5632bcc
commit 5c5ab84420
10 changed files with 13 additions and 26 deletions

View File

@@ -206,6 +206,10 @@ class FunctionCallback: public CallbackInterface
class OSGWIDGET_EXPORT Callback
{
public:
Callback():_type(EVENT_NONE),_data(0) {}
Callback(const Callback& rhs):_type(rhs._type),_data(rhs._data),_callback(rhs._callback) {}
// Creates a Callback that is bound to a member function.
template<typename T>
Callback(bool (T::*function)(Event&), T* obj, EventType type, void* data=0):