layers are redundant
This commit is contained in:
@@ -12,14 +12,11 @@ namespace Archimedes {
|
||||
class GuiModule : public Module {
|
||||
|
||||
public:
|
||||
typedef GuiModule* create_t(void*, App*);
|
||||
|
||||
GuiModule(void* h, App* a) : Module(h, a) {
|
||||
deps["WindowModule"] = new WindowModule(nullptr, a);
|
||||
GuiModule(App* a, void* h) : Module(a, h) {
|
||||
WindowModule* wm = new WindowModule(a);
|
||||
deps[wm->getName()] = wm;
|
||||
}
|
||||
virtual ~GuiModule() {}
|
||||
virtual void onLoad() = 0;
|
||||
virtual void run() = 0;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user