Exemplo n.º 1
0
Clip* MediaCabinet::getLastClip(){
    Clip* clip = cabinet[lastItem];
    cout << "returning a clip named - " << clip->getName() << endl;
    return cabinet[lastItem];
}
Exemplo n.º 2
0
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;
}