00001 #ifndef __cmt_include_h__ 00002 #define __cmt_include_h__ 00003 00004 #include "cmt_parser.h" 00005 #include "cmt_system.h" 00006 00007 class Include 00008 { 00009 public: 00010 typedef cmt_vector<Include> IncludeVector; 00011 00012 static void action (const CmtSystem::cmt_string_vector& words, Use* use); 00013 static Include* find (const cmt_string& name, Use* use); 00014 static Include* add (const cmt_string& name, Use* use); 00015 static void print_all (PrintMode mode); 00016 static void print_filters (PrintMode mode); 00017 static void clear_all (); 00018 00019 public: 00020 Include (); 00021 ~Include (); 00022 00023 cmt_string name; 00024 Use* use; 00025 }; 00026 00027 #endif