Add ResourceLoaderAppDirMacOS

This commit is contained in:
Georg Hagen
2024-10-10 21:11:26 +02:00
parent 3ee2297dfd
commit 565fdafbeb
2 changed files with 76 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
/*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/
#pragma once
#include "Host/ResourceLoader.hpp"
namespace OpenVulkano
{
class ResourceLoaderAppDirMacOS final : public ResourceLoader
{
public:
std::string GetResourcePath(const std::string& resourceName) override;
Array<char> GetResource(const std::string& resourceName) override;
};
}