C++ and gPhoto for managing Nikon D7000 and slideshow