1 #ifndef _MAIN_MMANAGER_H_
2 #define _MAIN_MMANAGER_H_
7 #include "module_manager.h"
8 #include "manes/type.h"
9 #include "libs/delegate.h"
12 class main_mmanager
: public module_manager
{
14 list
<module
*> loaded_modules
;
16 manes::kernel_state
*kstate
;
18 services::service_manager
*srv_man
;
19 resources::resource_manager
*res_man
;
20 actors::actor_manager
*act_man
;
22 arch::lowlevel
*llevel
;
25 static main_mmanager
*instance
;
27 static module_manager
*get_instance();
29 bool require(const char *);
31 manes::kernel_state
*get_state();
33 services::service_manager
*get_services();
34 resources::resource_manager
*get_resources();
35 actors::actor_manager
*get_actors();
37 arch::lowlevel
*get_lowlevel();
39 void *get_memory(unsigned int);