The Battle for Wesnoth  1.19.5+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 189 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

Definition at line 200 of file filesystem.hpp.

Member Data Documentation

◆ path

std::string filesystem::other_version_dir::path

Definition at line 197 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 196 of file filesystem.hpp.


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