Clip* MediaCabinet::getLastClip(){ Clip* clip = cabinet[lastItem]; cout << "returning a clip named - " << clip->getName() << endl; return cabinet[lastItem]; }
Clip* MediaCabinet::getClip(string _name){ Clip* clip = cabinet[_name]; cout << "returning a clip named - " << clip->getName() << endl; //cout << "MediaCabinet return clip of length - " << clip->getDuration() << endl; return clip; }