Continueed playing around with the buildsystem.
[aesalon.git] / include / monitor / module / Loader.h
blob3a13097abc92be33f376f838e40f64838bf5eaf0
1 /**
2 Aesalon, a tool to visualize a program's behaviour at run-time.
3 Copyright (C) 2010, Aesalon Development Team.
5 Aesalon is distributed under the terms of the GNU GPLv3. For more
6 licensing information, see the file LICENSE included with the distribution.
8 @file include/monitor/module/Loader.h
12 #ifndef AesalonMonitor_Module_Loader_H
13 #define AesalonMonitor_Module_Loader_H
15 #include <string>
17 #include "common/ModuleID.h"
18 #include "module/List.h"
20 namespace Monitor {
22 namespace Module {
24 class Loader {
25 private:
26 static ModuleID m_last;
27 Config::Vault *m_vault;
28 List *m_moduleList;
29 public:
30 Loader();
31 ~Loader();
33 List *moduleList() const { return m_moduleList; }
35 void loadModules();
36 private:
37 void loadModule(std::string name);
40 } // namespace Module
41 } // namespace Monitor
43 #endif