Ubuntu TV Media Scanner
A centralized index for removable media content.
|
#include <mediascanner/taskfacades.h>
Public Types | |
typedef std::function< void(MediaIndexType *media_index)> | TaskFunction |
typedef std::function< void(const std::string &message)> | ErrorFunction |
Public Member Functions | |
MediaIndexFacade (MediaRootManagerPtr root_manager) | |
MediaIndexFacade (MediaRootManagerPtr root_manager, const FileSystemPath &path) | |
~MediaIndexFacade () | |
void | set_media_index_path (const FileSystemPath &path) |
FileSystemPath | media_index_path () const |
MediaRootManagerPtr | root_manager () const |
TaskManager::TaskFunction | bind (const TaskFunction &task, const ErrorFunction &report_error) |
Protected Member Functions | |
void | Run (const TaskFunction &run_task, const ErrorFunction &report_error) |
typedef std::function<void(const std::string &message)> mediascanner::MediaIndexFacade< T >::ErrorFunction |
typedef std::function<void(MediaIndexType *media_index)> mediascanner::MediaIndexFacade< T >::TaskFunction |
|
explicit |
|
explicit |
mediascanner::MediaIndexFacade< T >::~MediaIndexFacade | ( | ) |
|
inline |
FileSystemPath mediascanner::MediaIndexFacade< T >::media_index_path | ( | ) | const |
MediaRootManagerPtr mediascanner::MediaIndexFacade< T >::root_manager | ( | ) | const |
|
protected |
void mediascanner::MediaIndexFacade< T >::set_media_index_path | ( | const FileSystemPath & | path) |