diff options
author | Marius Kintel <marius@kintel.net> | 2012-02-17 22:05:36 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2012-02-17 22:05:36 (GMT) |
commit | 2316127e62ba4c4c0e49cd35d869fcaeca357a29 (patch) | |
tree | d4876248cb049d58583d97bb1b716db6815904b2 /src/module.h | |
parent | 6845399e497726958d51170f906474e2624848c4 (diff) |
Handle include dependencies
Diffstat (limited to 'src/module.h')
-rw-r--r-- | src/module.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/module.h b/src/module.h index a490129..cd25287 100644 --- a/src/module.h +++ b/src/module.h @@ -3,6 +3,7 @@ #include <string> #include <vector> +#include <list> #include <boost/unordered_map.hpp> #include "value.h" @@ -67,7 +68,10 @@ public: typedef boost::unordered_map<std::string, class Module*> ModuleContainer; ModuleContainer usedlibs; - void handleDependencies(); + void registerInclude(const std::string &filename); + typedef boost::unordered_map<std::string, time_t> IncludeContainer; + IncludeContainer includes; + bool handleDependencies(); std::vector<std::string> assignments_var; std::vector<Expression*> assignments_expr; |