Rev | Line | |
---|
[1] | 1 | #ifndef __cmt_include_h__ |
---|
| 2 | #define __cmt_include_h__ |
---|
| 3 | |
---|
| 4 | #include "cmt_parser.h" |
---|
| 5 | #include "cmt_system.h" |
---|
| 6 | |
---|
| 7 | class Include |
---|
| 8 | { |
---|
| 9 | public: |
---|
| 10 | typedef cmt_vector<Include> IncludeVector; |
---|
| 11 | |
---|
| 12 | static void action (const CmtSystem::cmt_string_vector& words, Use* use); |
---|
| 13 | static Include* find (const cmt_string& name, Use* use); |
---|
| 14 | static Include* add (const cmt_string& name, Use* use); |
---|
| 15 | static void print_all (PrintMode mode); |
---|
| 16 | static void print_filters (PrintMode mode); |
---|
| 17 | static void clear_all (); |
---|
| 18 | |
---|
| 19 | public: |
---|
| 20 | Include (); |
---|
| 21 | ~Include (); |
---|
| 22 | |
---|
| 23 | cmt_string name; |
---|
| 24 | Use* use; |
---|
| 25 | }; |
---|
| 26 | |
---|
| 27 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.