#include <filesystem.h>
Definition at line 486 of file filesystem.h.
foobar2000_io::directory_callback_impl::directory_callback_impl |
( |
bool |
p_recur | ) |
|
|
inline |
t_size foobar2000_io::directory_callback_impl::get_count |
( |
| ) |
|
|
inline |
Definition at line 504 of file filesystem.h.
504 {
return m_data.get_count();}
pfc::list_t< pfc::rcptr_t< t_entry > > m_data
const char* foobar2000_io::directory_callback_impl::get_item |
( |
t_size |
n | ) |
const |
|
inline |
Definition at line 506 of file filesystem.h.
506 {
return m_data[n]->m_path;}
pfc::list_t< pfc::rcptr_t< t_entry > > m_data
const t_filestats& foobar2000_io::directory_callback_impl::get_item_stats |
( |
t_size |
n | ) |
const |
|
inline |
Definition at line 507 of file filesystem.h.
507 {
return m_data[n]->m_stats;}
pfc::list_t< pfc::rcptr_t< t_entry > > m_data
- Returns
- true to continue enumeration, false to abort.
Implements foobar2000_io::directory_callback.
Definition at line 488 of file filesystem.cpp.
490 if (is_subdirectory) {
493 owner->list_directory(url,*
this,p_abort);
494 }
catch(exception_io
const &) {}
497 m_data.add_item(pfc::rcnew_t<t_entry>(url,p_stats));
pfc::list_t< pfc::rcptr_t< t_entry > > m_data
const char* foobar2000_io::directory_callback_impl::operator[] |
( |
t_size |
n | ) |
const |
|
inline |
Definition at line 505 of file filesystem.h.
505 {
return m_data[n]->m_path;}
pfc::list_t< pfc::rcptr_t< t_entry > > m_data
void foobar2000_io::directory_callback_impl::sort |
( |
| ) |
|
|
inline |
Definition at line 508 of file filesystem.h.
static int sortfunc(const pfc::rcptr_t< const t_entry > &p1, const pfc::rcptr_t< const t_entry > &p2)
pfc::list_t< pfc::rcptr_t< t_entry > > m_data
Definition at line 499 of file filesystem.h.
pfc::string_simple m_path
int compare(t1 const &p1, t2 const &p2)
bool foobar2000_io::directory_callback_impl::m_recur |
|
private |
The documentation for this class was generated from the following files: