ARC SDK
ArcLocation.h
1 // -*- indent-tabs-mode: nil -*-
2 
3 #ifndef __ARC_ARCLOCATION_H__
4 #define __ARC_ARCLOCATION_H__
5 
6 #include <string>
7 #include <list>
8 
9 namespace Arc {
10 
12 
14  class ArcLocation {
15  public:
17 
21  static void Init(std::string path);
23  static const std::string& Get();
25 
27  static std::list<std::string> GetPlugins();
29 
32  static std::string GetDataDir();
34 
37  static std::string GetLibDir();
39 
42  static std::string GetToolsDir();
43  private:
44  static std::string& location(void);
45  };
46 
47 } // namespace Arc
48 
49 #endif // __ARC_ARCLOCATION_H__
Arc namespace contains all core ARC classes.
Definition: ArcConfig.h:11
static std::string GetLibDir()
Returns location of ARC system libraries, e.g. $ARC_LOCATION/lib/arc.
static void Init(std::string path)
Initializes location information.
static std::string GetDataDir()
Returns location of ARC system data, e.g. $ARC_LOCATION/share/arc.
static const std::string & Get()
Returns ARC installation location.
Determines ARC installation location.
Definition: ArcLocation.h:14
static std::list< std::string > GetPlugins()
Returns ARC plugins directory location.
static std::string GetToolsDir()
Returns location of ARC system tools, e.g. $ARC_LOCATION/libexec/arc.