Custom preset handler helper.
More...
#include <sound4cl.hpp>
|
| CPresetLoader ()=default |
|
virtual | ~CPresetLoader ()=default |
|
virtual bool | IsReadOnly ()=0 |
|
virtual bool | Exists (const std::filesystem::path &name)=0 |
|
virtual bool | Remove (const std::filesystem::path &name)=0 |
|
virtual bool | Rename (const std::filesystem::path &from, const std::filesystem::path &to)=0 |
|
virtual std::vector< std::filesystem::path > | GetAll ()=0 |
|
virtual std::string | Read (const std::filesystem::path &filename)=0 |
|
virtual bool | Write (const std::filesystem::path &filename, const std::string &content)=0 |
|
Derive from this class and call CInstance::SetPresetManager
Definition at line 850 of file sound4cl.hpp.
◆ CPresetLoader()
sound4::CPresetLoader::CPresetLoader |
( |
| ) |
|
|
default |
◆ ~CPresetLoader()
virtual sound4::CPresetLoader::~CPresetLoader |
( |
| ) |
|
|
virtualdefault |
◆ Exists()
virtual bool sound4::CPresetLoader::Exists |
( |
const std::filesystem::path & |
name | ) |
|
|
pure virtual |
◆ GetAll()
virtual std::vector< std::filesystem::path > sound4::CPresetLoader::GetAll |
( |
| ) |
|
|
pure virtual |
◆ IsReadOnly()
virtual bool sound4::CPresetLoader::IsReadOnly |
( |
| ) |
|
|
pure virtual |
◆ Read()
virtual std::string sound4::CPresetLoader::Read |
( |
const std::filesystem::path & |
filename | ) |
|
|
pure virtual |
◆ Remove()
virtual bool sound4::CPresetLoader::Remove |
( |
const std::filesystem::path & |
name | ) |
|
|
pure virtual |
◆ Rename()
virtual bool sound4::CPresetLoader::Rename |
( |
const std::filesystem::path & |
from, |
|
|
const std::filesystem::path & |
to |
|
) |
| |
|
pure virtual |
◆ Write()
virtual bool sound4::CPresetLoader::Write |
( |
const std::filesystem::path & |
filename, |
|
|
const std::string & |
content |
|
) |
| |
|
pure virtual |
The documentation for this class was generated from the following file: