summaryrefslogtreecommitdiff
path: root/src/include/tools.h
blob: 67ed91ea9c1f7cd574b9250f358d0e4d367c2f26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/**  --------------------------------------------------------------------
 *  @file tools.h
 *  @brief Declaration of miscellaneous tools.
 *  @author Andreas Aardal Hanssen
 *  @date 2002-2005
 *  -----------------------------------------------------------------  **/
#include <string>

namespace Binc {

  class Tools {
  private:
    Tools(void);

  public:
    void setenv(const std::string &key, const std::string &value) const;
    std::string getenv(const std::string &key) const;

    //--
    static Tools &getInstance(void);
  };

}