foobar2000 SDK  2015-08-03
Public Member Functions
foobar2000_io::archiveabstract

#include <filesystem.h>

+ Inheritance diagram for foobar2000_io::archive:

Public Member Functions

virtual void archive_list (const char *p_path, const service_ptr_t< file > &p_reader, archive_callback &p_callback, bool p_want_readers)=0
 
 FB2K_MAKE_SERVICE_INTERFACE (archive, filesystem)
 
- Public Member Functions inherited from foobar2000_io::filesystem
void copy_directory (const char *p_src, const char *p_dst, abort_callback &p_abort)
 
virtual void create_directory (const char *p_path, abort_callback &p_abort)=0
 
virtual bool get_canonical_path (const char *p_path, pfc::string_base &p_out)=0
 
virtual bool get_display_path (const char *p_path, pfc::string_base &p_out)=0
 
virtual void get_stats (const char *p_path, t_filestats &p_stats, bool &p_is_writeable, abort_callback &p_abort)=0
 
virtual bool is_our_path (const char *p_path)=0
 
virtual bool is_remote (const char *p_src)=0
 
virtual void list_directory (const char *p_path, directory_callback &p_out, abort_callback &p_abort)=0
 
virtual void move (const char *p_src, const char *p_dst, abort_callback &p_abort)=0
 
virtual void open (service_ptr_t< file > &p_out, const char *p_path, t_open_mode p_mode, abort_callback &p_abort)=0
 
virtual bool relative_path_create (const char *file_path, const char *playlist_path, pfc::string_base &out)
 
virtual bool relative_path_parse (const char *relative_path, const char *playlist_path, pfc::string_base &out)
 
virtual void remove (const char *p_path, abort_callback &p_abort)=0
 
void remove_directory_content (const char *path, abort_callback &abort)
 
void remove_object_recur (const char *path, abort_callback &abort)
 
virtual bool supports_content_types ()=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 ()
 

Additional Inherited Members

- Public Types inherited from foobar2000_io::filesystem
enum  t_open_mode { open_mode_read, open_mode_write_existing, open_mode_write_new }
 
- Public Types inherited from service_base
typedef service_base t_interface
 
- Static Public Member Functions inherited from foobar2000_io::filesystem
static void g_copy (const char *p_src, const char *p_dst, abort_callback &p_abort)
 
static void g_copy_directory (const char *p_src, const char *p_dst, abort_callback &p_abort)
 
static void g_copy_timeout (const char *p_src, const char *p_dst, double p_timeout, abort_callback &p_abort)
 
static void g_create_directory (const char *p_path, abort_callback &p_abort)
 
static bool g_exists (const char *p_path, abort_callback &p_abort)
 
static bool g_exists_writeable (const char *p_path, abort_callback &p_abort)
 
static void g_get_canonical_path (const char *path, pfc::string_base &out)
 
static void g_get_display_path (const char *path, pfc::string_base &out)
 
static bool g_get_interface (service_ptr_t< filesystem > &p_out, const char *path)
 
static filesystem::ptr g_get_interface (const char *path)
 
static bool g_get_native_path (const char *path, pfc::string_base &out)
 
static void g_get_stats (const char *p_path, t_filestats &p_stats, bool &p_is_writeable, abort_callback &p_abort)
 
static bool g_is_empty_directory (const char *path, abort_callback &p_abort)
 
static bool g_is_recognized_and_remote (const char *p_path)
 
static bool g_is_recognized_path (const char *p_path)
 
static bool g_is_remote (const char *p_path)
 
static bool g_is_remote_or_unrecognized (const char *p_path)
 
static bool g_is_remote_safe (const char *p_path)
 
static bool g_is_valid_directory (const char *path, abort_callback &p_abort)
 
static void g_link (const char *p_src, const char *p_dst, abort_callback &p_abort)
 
static void g_link_timeout (const char *p_src, const char *p_dst, double p_timeout, abort_callback &p_abort)
 
static void g_list_directory (const char *p_path, directory_callback &p_out, abort_callback &p_abort)
 
static void g_move (const char *p_src, const char *p_dst, abort_callback &p_abort)
 
static void g_move_timeout (const char *p_src, const char *p_dst, double p_timeout, abort_callback &p_abort)
 
static void g_open (service_ptr_t< file > &p_out, const char *p_path, t_open_mode p_mode, abort_callback &p_abort)
 
static void g_open_precache (service_ptr_t< file > &p_out, const char *path, abort_callback &p_abort)
 
static void g_open_read (service_ptr_t< file > &p_out, const char *path, abort_callback &p_abort)
 
static void g_open_temp (service_ptr_t< file > &p_out, abort_callback &p_abort)
 
static void g_open_tempmem (service_ptr_t< file > &p_out, abort_callback &p_abort)
 
static file::ptr g_open_tempmem ()
 
static void g_open_timeout (service_ptr_t< file > &p_out, const char *p_path, t_open_mode p_mode, double p_timeout, abort_callback &p_abort)
 
static void g_open_write_new (service_ptr_t< file > &p_out, const char *p_path, abort_callback &p_abort)
 
static bool g_relative_path_create (const char *p_file_path, const char *p_playlist_path, pfc::string_base &out)
 
static bool g_relative_path_parse (const char *p_relative_path, const char *p_playlist_path, pfc::string_base &out)
 
static void g_remove (const char *p_path, abort_callback &p_abort)
 
static void g_remove_object_recur (const char *path, abort_callback &abort)
 
static void g_remove_object_recur_timeout (const char *path, double timeout, abort_callback &abort)
 
static void g_remove_timeout (const char *p_path, double p_timeout, abort_callback &p_abort)
 
static FILE * streamio_open (const char *p_path, const char *p_flags)
 
- Protected Member Functions inherited from service_base
 service_base ()
 
 ~service_base ()
 

Detailed Description

Interface for archive reader services. When implementing, derive from archive_impl rather than from deriving from archive directly.

Definition at line 519 of file filesystem.h.

Member Function Documentation

virtual void foobar2000_io::archive::archive_list ( const char *  p_path,
const service_ptr_t< file > &  p_reader,
archive_callback p_callback,
bool  p_want_readers 
)
pure virtual

Implemented in foobar2000_io::archive_impl.

foobar2000_io::archive::FB2K_MAKE_SERVICE_INTERFACE ( archive  ,
filesystem   
)

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