LeechCraft  %{LEECHCRAFT_VERSION}
Modular cross-platform feature rich live environment.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Media::ITagsFetcher Class Referenceabstract

Interface for plugins fetching tags for untagged files. More...

#include "itagsfetcher.h"

Public Member Functions

virtual ~ITagsFetcher ()
 
virtual IPendingTagsFetchFetchTags (const QString &filename)=0
 Requests fetching tags for the given file. More...
 

Detailed Description

Interface for plugins fetching tags for untagged files.

If a plugin is able to fetch tags from a tags database by, for example, an audio fingerprint (like AcoustID/MusicBrainz database) it should implement this interface.

Definition at line 97 of file itagsfetcher.h.

Constructor & Destructor Documentation

virtual Media::ITagsFetcher::~ITagsFetcher ( )
inlinevirtual

Definition at line 100 of file itagsfetcher.h.

Member Function Documentation

virtual IPendingTagsFetch* Media::ITagsFetcher::FetchTags ( const QString &  filename)
pure virtual

Requests fetching tags for the given file.

This function initiates a search for tags for the given file and returns a handle that can be used to obtain the results. The handle owns itself and deletes itself after results are available — see its documentation for details.

Parameters
[in]filenameThe name of the file to search tags for.
Returns
The pending tags fetch handle.

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