mirror of
https://github.com/Almamu/linux-wallpaperengine.git
synced 2025-09-14 13:56:48 +08:00

Window mode now has extra settings for setting the position and size Fixed audio not muting when --silent was used Signed-off-by: Alexis Maiquez <almamu@almamu.com>
25 lines
602 B
C++
25 lines
602 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
#include <stdexcept>
|
|
#include <map>
|
|
#include <filesystem>
|
|
|
|
#include "CContainer.h"
|
|
#include "CFileEntry.h"
|
|
|
|
namespace WallpaperEngine::Assets
|
|
{
|
|
class CDirectory : public CContainer
|
|
{
|
|
public:
|
|
explicit CDirectory (std::filesystem::path basepath);
|
|
~CDirectory ();
|
|
|
|
std::filesystem::path resolveRealFile (std::string filename) const override;
|
|
const void* readFile (std::string filename, uint32_t* length) const override;
|
|
private:
|
|
std::filesystem::path m_basepath;
|
|
std::map <std::string, CFileEntry> m_cache;
|
|
};
|
|
} |