#include "foobar2000.h" #include "chapterizer.h" void chapter_list::copy(const chapter_list & p_source) { t_size n, count = p_source.get_chapter_count(); set_chapter_count(count); for(n=0;n & p_out,const char * p_path) { service_ptr_t ptr; service_enum_t e; while(e.next(ptr)) { if (ptr->is_our_path(p_path)) { p_out = ptr; return true; } } return false; } bool chapterizer::g_is_pregap_capable(const char * p_path) { service_ptr_t ptr; service_enum_t e; while(e.next(ptr)) { if (ptr->supports_pregaps() && ptr->is_our_path(p_path)) { return true; } } return false; } #endif