YCLIMP
Yandex Command Line Interface Music Player
Loading...
Searching...
No Matches
FsFile Class Reference
Inheritance diagram for FsFile:
Collaboration diagram for FsFile:

Public Member Functions

 FsFile (Client &client, const std::string &name, fs::path path, const std::string &location_id, File::Type type)
virtual std::string GetFromType () const override
Public Member Functions inherited from File
 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 Public Member Functions

static File_Ptr InitFile (Client &client)

Additional Inherited Members

Public Types inherited from File
enum class  Type { Directory = 0 , Track = 1 , Radio = 2 }
Public Attributes inherited from File
Clientclient
std::string name
fs::path path
std::string location_id
int playlistId
File::Type type

Member Function Documentation

◆ GetFromType()

std::string FsFile::GetFromType ( ) const
overridevirtual

Reimplemented from File.


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