how to move sprite left and right when left and right arrow is click

void HelloWorld::moveForward(CCObject* pSender){
}
void HelloWorld::moveBackward(CCObject* pSender){
}

I have this two callbacks above, so what I want to do is when I want to move the sprite to left or right i need to trigger it using the above callbacks
I really need your help thanks

@ranger

You could try to make a CCCallFun Object to wrap your callbacks above or you can call them directly via this pointer of HelloWorld.