The Battle for Wesnoth  1.13.10+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
filesystem::binary_paths_manager Struct Reference

The paths manager is responsible for recording the various paths that binary files may be located at. More...

#include <filesystem.hpp>

Public Member Functions

 binary_paths_manager ()
 binary_paths_manager (const config &cfg)
 ~binary_paths_manager ()
void set_paths (const config &cfg)

Private Member Functions

 binary_paths_manager (const binary_paths_manager &o)
binary_paths_manageroperator= (const binary_paths_manager &o)
void cleanup ()

Private Attributes

std::vector< std::string > paths_

Detailed Description

The paths manager is responsible for recording the various paths that binary files may be located at.

It should be passed a config object which holds binary path information. This is in the format

*    [binary_path]
*      path=<path>
*    [/binary_path]
*  Binaries will be searched for in [wesnoth-path]/data/<path>/images/

Definition at line 279 of file filesystem.hpp.

Constructor & Destructor Documentation

filesystem::binary_paths_manager::binary_paths_manager ( )

Definition at line 1090 of file filesystem_boost.cpp.

filesystem::binary_paths_manager::binary_paths_manager ( const config cfg)

Definition at line 1093 of file filesystem_boost.cpp.

References set_paths().

filesystem::binary_paths_manager::~binary_paths_manager ( )

Definition at line 1098 of file filesystem_boost.cpp.

References cleanup().

filesystem::binary_paths_manager::binary_paths_manager ( const binary_paths_manager o)

Member Function Documentation

void filesystem::binary_paths_manager::cleanup ( )

Definition at line 1123 of file filesystem_boost.cpp.

References i, and paths_.

Referenced by set_paths(), and ~binary_paths_manager().

binary_paths_manager& filesystem::binary_paths_manager::operator= ( const binary_paths_manager o)
void filesystem::binary_paths_manager::set_paths ( const config cfg)

Member Data Documentation

std::vector<std::string> filesystem::binary_paths_manager::paths_

Definition at line 293 of file filesystem.hpp.

Referenced by cleanup(), and set_paths().

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