Skip to content

File resources.hpp

File List > lib > utilities > resources.hpp

Go to the documentation of this file

#pragma once

#include "utilities/filesystem.hpp"

// Absolute path of the running executable.
fs::path get_executable_path();

class AssetRetriever {
 public:
  static fs::path get_asset(const fs::path& asset);
};

class LocalDataRetriever {
 public:
  static fs::path get_local_data(const fs::path& asset);
};