How do I setup a delegate for ScrollView in an older version of cocos2dx

From this link here it states that the type ScrollView has the method

void setDelegate	(ScrollViewDelegate * pDelegate)		

However that is for cocos2dx 3.0 Alpha.
I believe I am using an older version of cocos2dx 1.5. My question is how do I setup a delegate in 1.5 ?

My bad after exploring a little I noticed that I chose the wrong type.
I was using

cocos2d::ui::ScrollView::create()

Instead I should be using from

cocos2d::extension::ScrollView::create()

Ahh the joys of using the auto keyword.