foobar2000 SDK
2015-08-03
|
#include <chapterizer.h>
Public Member Functions | |
void | copy (const chapter_list &p_source) |
virtual t_size | get_chapter_count () const =0 |
virtual const file_info & | get_info (t_size p_chapter) const =0 |
virtual double | get_pregap () const =0 |
const chapter_list & | operator= (const chapter_list &p_source) |
virtual void | set_chapter_count (t_size p_count)=0 |
virtual void | set_info (t_size p_chapter, const file_info &p_info)=0 |
virtual void | set_pregap (double val)=0 |
Protected Member Functions | |
chapter_list () | |
~chapter_list () | |
Interface for object storing list of chapters.
Definition at line 2 of file chapterizer.h.
|
inlineprotected |
Definition at line 27 of file chapterizer.h.
|
inlineprotected |
Definition at line 28 of file chapterizer.h.
void chapter_list::copy | ( | const chapter_list & | p_source | ) |
Copies contents of specified chapter_list object to this object.
Definition at line 3 of file chapterizer.cpp.
|
pure virtual |
Returns number of chapters.
Implemented in chapter_list_impl_t< file_info_ >.
Queries description of specified chapter.
p_chapter | Index of chapter to query, greater or equal zero and less than get_chapter_count() value. If p_chapter value is out of valid range, results are undefined (e.g. crash). |
Implemented in chapter_list_impl_t< file_info_ >.
|
pure virtual |
Implemented in chapter_list_impl_t< file_info_ >.
|
inline |
Definition at line 24 of file chapterizer.h.
|
pure virtual |
Sets number of chapters.
Implemented in chapter_list_impl_t< file_info_ >.
Modifies description of specified chapter.
p_chapter_index | Index of chapter to modify, greater or equal zero and less than get_chapter_count() value. If p_chapter value is out of valid range, results are undefined (e.g. crash). |
p_info | New chapter description. Note that length part of file_info is used to calculate chapter marks. |
Implemented in chapter_list_impl_t< file_info_ >.
|
pure virtual |
Implemented in chapter_list_impl_t< file_info_ >.