improved messages
This commit is contained in:
parent
86ec4be6fc
commit
d844699afc
|
@ -15,7 +15,7 @@ public:
|
|||
};
|
||||
|
||||
void EventsPlugin::onLoad() {
|
||||
std::cout << "Events::onload();" << std::endl;
|
||||
std::cout << "Events::onLoad();" << std::endl;
|
||||
}
|
||||
|
||||
void EventsPlugin::onEnable() {
|
||||
|
@ -27,7 +27,6 @@ void EventsPlugin::onDisable() {
|
|||
}
|
||||
|
||||
CppPlugin* init() {
|
||||
std::cout << "init im plugin!" << std::endl;
|
||||
return new EventsPlugin();
|
||||
}
|
||||
|
||||
|
|
|
@ -15,19 +15,18 @@ public:
|
|||
};
|
||||
|
||||
void SimplePlugin::onLoad() {
|
||||
std::cout << "onload();" << std::endl;
|
||||
std::cout << "SimplePLugin::onLoad();" << std::endl;
|
||||
}
|
||||
|
||||
void SimplePlugin::onEnable() {
|
||||
std::cout << "onEnable();" << std::endl;
|
||||
std::cout << "SimplePLugin::onEnable();" << std::endl;
|
||||
}
|
||||
|
||||
void SimplePlugin::onDisable() {
|
||||
std::cout << "onDisable();" << std::endl;
|
||||
std::cout << "SimplePLugin::onDisable();" << std::endl;
|
||||
}
|
||||
|
||||
CppPlugin* init() {
|
||||
std::cout << "init im plugin!" << std::endl;
|
||||
return new SimplePlugin();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue