The Battle for Wesnoth  1.15.2+dev
Public Member Functions | Public Attributes | List of all members
filesystem::other_version_dir Struct Reference

#include <filesystem.hpp>

Public Member Functions

 other_version_dir (const std::string &v, const std::string &p)
 

Public Attributes

std::string version
 Here the version is given as a string instead of a version_info, because the logic of how many components are significant ("1.16" rather than "1.16.0") is encapsulated in find_other_version_saves_dirs(). More...
 
std::string path
 

Detailed Description

Definition at line 175 of file filesystem.hpp.

Constructor & Destructor Documentation

◆ other_version_dir()

filesystem::other_version_dir::other_version_dir ( const std::string &  v,
const std::string &  p 
)
inline

Member Data Documentation

◆ path

std::string filesystem::other_version_dir::path

Definition at line 183 of file filesystem.hpp.

◆ version

std::string filesystem::other_version_dir::version

Here the version is given as a string instead of a version_info, because the logic of how many components are significant ("1.16" rather than "1.16.0") is encapsulated in find_other_version_saves_dirs().

Definition at line 182 of file filesystem.hpp.


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