Bayeux  3.4.1
Core Foundation library for SuperNEMO
reloc.h
Go to the documentation of this file.
1 // -*- mode: c++; -*-
10 //
11 // Copyright (c) 2013 by François Mauger <mauger@lpccaen.in2p3.fr>
12 //
13 // This file is part of Bayeux.
14 //
15 // Bayeux is free software: you can redistribute it and/or modify
16 // it under the terms of the GNU General Public License as published by
17 // the Free Software Foundation, either version 3 of the License, or
18 // (at your option) any later version.
19 //
20 // Bayeux is distributed in the hope that it will be useful,
21 // but WITHOUT ANY WARRANTY; without even the implied warranty of
22 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23 // GNU General Public License for more details.
24 //
25 // You should have received a copy of the GNU General Public License
26 // along with Bayeux. If not, see <http://www.gnu.org/licenses/>.
27 
28 #ifndef BAYEUX_RELOC_H
29 #define BAYEUX_RELOC_H
30 
31 // Standard Library:
32 #include <iosfwd>
33 
34 namespace bayeux {
35 
37  int init_directories();
38 
40  std::string get_prefix_dir();
41 
43  std::string get_binary_dir();
44 
46  std::string get_library_dir();
47 
49  std::string get_data_dir();
50 
52  std::string get_resource_dir();
53 
54 } // end of namespace bayeux
55 
56 #endif // BAYEUX_RELOC_H
57 
58 /*
59 ** Local Variables: --
60 ** mode: c++ --
61 ** c-file-style: "gnu" --
62 ** tab-width: 2 --
63 ** End: --
64 */
std::string get_library_dir()
Return URL, i.e. a path, to the directory where Bayeux's libraries are installed.
std::string get_resource_dir()
Return URL, i.e. a path, to the base directory where Bayeux's modules' resource files are installed.
std::string get_prefix_dir()
Return URL, i.e. a path, to the installation directory where Bayeux is installed.
Top-level namespace of the Bayeux library.
Definition: bayeux.h:42
std::string get_binary_dir()
Return URL, i.e. a path, to the directory where Bayeux's executable are installed.
int init_directories()
Init directories.
std::string get_data_dir()
Return URL, i.e. a path, to the base directory where Bayeux's data are installed.