Exemple #1
0
SetCurrentFrame::SetCurrentFrame(FileConstHandle file, FrameID current_frame)
    : file_(file), old_frame_(file.get_current_frame()) {
    file.set_current_frame(current_frame);
}
RestoreCurrentFrame::RestoreCurrentFrame(FileConstHandle file)
    : file_(file), old_frame_(file.get_current_frame()) {}