|
| enum class | FromType { Local = 0
, Yandex
} |
| enum class | Type { Directory = 0
, Track = 1
, Radio = 2
} |
|
|
| AppFile (Client &client, const std::string &name, fs::path path, const std::string &location_id, File::Type type, int playlistID=-1) |
| virtual std::string | GetFromType () const override |
|
| File (Client &client, const std::string &name, fs::path path, const std::string &location_id, File::Type type, int playlistId=-1) |
|
virtual void | NewFile (File_Ptr newFile) |
| | File::NewFile - substitute current file with a new file.
Used to navigate between directories/folders.
Will be processed by it's specific client.
|
| virtual std::vector< File_Ptr > | GetDirFiles (bool noDirs=false, bool onlyMusicExtensions=false, bool recursively=false) |
| | File::GetDirFiles - get files in current directory/folder.
Will be processed by it's specific client.
|
|
virtual std::pair< std::string, std::string > | GetSongData () |
|
|
static File_Ptr | InitFile (Client &client) |
|
static File_Ptr | ConvertFromDBTrack (DBTrack track) |
|
static File_Ptr | ConvertFromDBPlaylist (DBPlaylist playlist) |
|
|
Client & | client |
|
std::string | name |
|
fs::path | path |
|
std::string | location_id |
|
int | playlistId |
|
File::Type | type |
◆ GetFromType()
| std::string AppFile::GetFromType |
( |
| ) |
const |
|
overridevirtual |
The documentation for this class was generated from the following files:
- /home/archer/sweet_home/MyGithub/supported/YCLIMP/include/FileManager.hpp
- /home/archer/sweet_home/MyGithub/supported/YCLIMP/src/FileManager.cpp