Rev | Line | |
---|
[1] | 1 | //----------------------------------------------------------- |
---|
| 2 | // Copyright Christian Arnault LAL-Orsay CNRS |
---|
| 3 | // arnault@lal.in2p3.fr |
---|
| 4 | // See the complete license in cmt_license.txt "http://www.cecill.info". |
---|
| 5 | //----------------------------------------------------------- |
---|
| 6 | |
---|
| 7 | #ifndef __cmt_install_area_h__ |
---|
| 8 | #define __cmt_install_area_h__ |
---|
| 9 | |
---|
| 10 | class CmtInstallPathPattern |
---|
| 11 | { |
---|
| 12 | public: |
---|
| 13 | cmt_string m_name; |
---|
| 14 | cmt_string m_definition; |
---|
| 15 | }; |
---|
| 16 | |
---|
| 17 | class CmtInstallAreaMgr |
---|
| 18 | { |
---|
| 19 | public: |
---|
| 20 | static CmtInstallAreaMgr& instance (); |
---|
| 21 | |
---|
| 22 | public: |
---|
| 23 | void setup_current_installarea (); |
---|
| 24 | void setup (); |
---|
| 25 | void config () const; |
---|
| 26 | const cmt_string& get_installarea () const; |
---|
| 27 | |
---|
| 28 | private: |
---|
| 29 | cmt_string build_current_installarea () const; |
---|
| 30 | |
---|
| 31 | cmt_vector <CmtInstallPathPattern> m_patterns; |
---|
| 32 | cmt_string m_installarea; |
---|
| 33 | }; |
---|
| 34 | |
---|
| 35 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.