Public Member Functions | Private Member Functions | Private Attributes

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>

Collaboration diagram for binary_paths_manager:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 binary_paths_manager ()
 binary_paths_manager (const class config &cfg)
 ~binary_paths_manager ()
void set_paths (const class 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 186 of file filesystem.hpp.


Constructor & Destructor Documentation

binary_paths_manager::binary_paths_manager (  ) 
binary_paths_manager::binary_paths_manager ( const class config cfg  ) 
binary_paths_manager::~binary_paths_manager (  ) 
binary_paths_manager::binary_paths_manager ( const binary_paths_manager o  )  [private]

Member Function Documentation

void binary_paths_manager::cleanup (  )  [private]
binary_paths_manager& binary_paths_manager::operator= ( const binary_paths_manager o  )  [private]
void binary_paths_manager::set_paths ( const class config cfg  ) 

Member Data Documentation

std::vector<std::string> binary_paths_manager::paths_ [private]

Definition at line 200 of file filesystem.hpp.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by doxygen 1.7.1 on Fri May 25 2012 01:11:42 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs