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