Rev | Line | |
---|
[1] | 1 | #ifndef __cmt_install_area_h__ |
---|
| 2 | #define __cmt_install_area_h__ |
---|
| 3 | |
---|
| 4 | class CmtInstallPathPattern |
---|
| 5 | { |
---|
| 6 | public: |
---|
| 7 | cmt_string m_name; |
---|
| 8 | cmt_string m_definition; |
---|
| 9 | }; |
---|
| 10 | |
---|
| 11 | class CmtInstallAreaMgr |
---|
| 12 | { |
---|
| 13 | public: |
---|
| 14 | static CmtInstallAreaMgr& instance (); |
---|
| 15 | |
---|
| 16 | public: |
---|
| 17 | void setup_current_install_area (); |
---|
| 18 | void setup (); |
---|
| 19 | void config () const; |
---|
| 20 | const cmt_string& get_install_area () const; |
---|
| 21 | |
---|
| 22 | private: |
---|
| 23 | cmt_string build_current_install_area () const; |
---|
| 24 | |
---|
| 25 | cmt_vector <CmtInstallPathPattern> m_patterns; |
---|
| 26 | cmt_string m_install_area; |
---|
| 27 | }; |
---|
| 28 | |
---|
| 29 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.