foobar2000 SDK
2015-08-03
|
#include <chapterizer.h>
Public Member Functions | |
virtual void | get_chapters (const char *p_path, chapter_list &p_list, abort_callback &p_abort)=0 |
virtual bool | is_our_path (const char *p_path)=0 |
virtual void | set_chapters (const char *p_path, chapter_list const &p_list, abort_callback &p_abort)=0 |
virtual bool | supports_pregaps ()=0 |
Public Member Functions inherited from service_base | |
template<typename outPtr_t > | |
bool | cast (outPtr_t &outPtr) |
virtual int | service_add_ref ()=0 throw () |
virtual bool | service_query (service_ptr_t< service_base > &p_out, const GUID &p_guid) |
template<class T > | |
bool | service_query_t (service_ptr_t< T > &p_out) |
virtual int | service_release ()=0 throw () |
Static Public Member Functions | |
static bool | g_find (service_ptr_t< chapterizer > &p_out, const char *p_path) |
static bool | g_is_pregap_capable (const char *p_path) |
Private Member Functions | |
FB2K_MAKE_SERVICE_INTERFACE_ENTRYPOINT (chapterizer) | |
Additional Inherited Members | |
Public Types inherited from service_base | |
typedef service_base | t_interface |
Protected Member Functions inherited from service_base | |
service_base () | |
~service_base () | |
This service implements chapter list editing operations for various file formats, e.g. for MP4 chapters or CD images with embedded cuesheets. Used by converter "encode single file with chapters" feature.
Definition at line 59 of file chapterizer.h.
|
private |
|
static |
Static helper, tries to find chapterizer interface that supports specified file.
Definition at line 11 of file chapterizer.cpp.
|
static |
Definition at line 24 of file chapterizer.cpp.
|
pure virtual |
Retrieves chapter list from specified file.
p_path | Path of file to examine. |
p_list | Object receiving chapter list. |
p_abort | abort_callback object signaling user aborting the operation. |
Implemented in cue_parser::chapterizer_impl_t< I >, and cue_parser::chapterizer_impl_t< t_input_impl >.
|
pure virtual |
Tests whether specified path is supported by this implementation.
p_ext | Extension of the file being processed. |
Implemented in cue_parser::chapterizer_impl_t< I >, and cue_parser::chapterizer_impl_t< t_input_impl >.
|
pure virtual |
Writes new chapter list to specified file.
p_path | Path of file to modify. |
p_list | New chapter list to write. |
p_abort | abort_callback object signaling user aborting the operation. |
Implemented in cue_parser::chapterizer_impl_t< I >, and cue_parser::chapterizer_impl_t< t_input_impl >.
|
pure virtual |
Implemented in cue_parser::chapterizer_impl_t< I >, and cue_parser::chapterizer_impl_t< t_input_impl >.