Refactoring the logging interface to remove dependence on NPP.

This commit is contained in:
Derek Sollenberger
2009-11-30 11:52:06 -05:00
parent 04b3e9a6c6
commit e62ce17ac9
7 changed files with 79 additions and 79 deletions

View File

@@ -85,7 +85,7 @@ BallAnimation::BallAnimation(NPP inst) : SubPlugin(inst) {
ANPEventFlags flags = kTouch_ANPEventFlag;
NPError err = browser->setvalue(inst, kAcceptEvents_ANPSetValue, &flags);
if (err != NPERR_NO_ERROR) {
gLogI.log(inst, kError_ANPLogType, "Error selecting input events.");
gLogI.log(kError_ANPLogType, "Error selecting input events.");
}
}