Sound Bakery  v0.1.0
Open-source audio middleware for games
Loading...
Searching...
No Matches
sbk::editor::project_configuration Struct Reference

Handles file and folder paths for a project. More...

#include <project_configuration.h>

Public Member Functions

 project_configuration (const std::filesystem::path &projectFile)
 Opens an project existing project file.
 
 project_configuration (const std::filesystem::directory_entry &projectDirectory, const std::string &projectName)
 Creates a new project inside the chosen directory.
 
std::filesystem::path source_folder () const
 
std::filesystem::path object_folder () const
 
std::filesystem::path build_folder () const
 
std::filesystem::path saved_folder () const
 
std::filesystem::path encoded_folder () const
 
std::filesystem::path log_folder () const
 
std::filesystem::path project_file () const
 
std::filesystem::path project_folder () const
 
std::string_view project_name () const
 
std::filesystem::path type_folder (const rttr::type &type) const
 
bool is_valid () const
 

Static Public Member Functions

static std::string get_filename_for_id (sbk::core::database_object *databaseObject, std::optional< std::string > extensionOverride=std::nullopt)
 

Static Public Attributes

static constexpr std::string_view projectExtension = "bakery"
 
static constexpr std::string_view projectExtensionWithDot = ".bakery"
 
static constexpr std::string_view outputBankExtension = "bnk"
 
static constexpr std::string_view outputBankExtensionWithDot = ".bnk"
 

Detailed Description

Handles file and folder paths for a project.


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