chapterizer Class Reference

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. More...

#include <chapterizer.h>

Inheritance diagram for chapterizer:

service_base cue_parser::chapterizer_impl_t< I >

List of all members.

Public Types

typedef chapterizer t_interface_entrypoint
typedef chapterizer t_interface
typedef service_base t_interface_parent

Public Member Functions

virtual bool is_our_file (const char *p_path, abort_callback &p_abort)=0
virtual void set_chapters (const char *p_path, chapter_list const &p_list, abort_callback &p_abort)=0
virtual void get_chapters (const char *p_path, chapter_list &p_list, abort_callback &p_abort)=0

Static Public Member Functions

static bool g_find (service_ptr_t< chapterizer > &p_out, const char *p_path, abort_callback &p_abort)
 Static helper, tries to find chapterizer interface that supports specified file.

Static Public Attributes

static const GUID class_guid


Detailed Description

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.

Member Typedef Documentation

Reimplemented from service_base.


Member Function Documentation

virtual bool chapterizer::is_our_file ( const char *  p_path,
abort_callback &  p_abort 
) [pure virtual]

Tests whether specified path is supported by this implementation.

Parameters:
p_path Path of file to examine.
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 >.

virtual void chapterizer::set_chapters ( const char *  p_path,
chapter_list const &  p_list,
abort_callback &  p_abort 
) [pure virtual]

Writes new chapter list to specified file.

Parameters:
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 >.

virtual void chapterizer::get_chapters ( const char *  p_path,
chapter_list p_list,
abort_callback &  p_abort 
) [pure virtual]

Retrieves chapter list from specified file.

Parameters:
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 >.

static bool chapterizer::g_find ( service_ptr_t< chapterizer > &  p_out,
const char *  p_path,
abort_callback &  p_abort 
) [static]

Static helper, tries to find chapterizer interface that supports specified file.


Member Data Documentation

const GUID chapterizer::class_guid [static]

Initial value:

{ 0x932ec96d, 0x4dfd, 0x4ed7, { 0xa0, 0x7c, 0x2a, 0x22, 0xbe, 0x77, 0x1, 0x85 } }


The documentation for this class was generated from the following files:

Generated on Fri Apr 18 13:56:49 2008 for foobar2000 SDK by  doxygen 1.5.5