to add imgcapcontroller.cpp