equal
deleted
inserted
replaced
399 } |
399 } |
400 |
400 |
401 // ----------------------------------------------------------------------------- |
401 // ----------------------------------------------------------------------------- |
402 // BavpEvent NOT SUPPORTED |
402 // BavpEvent NOT SUPPORTED |
403 // ----------------------------------------------------------------------------- |
403 // ----------------------------------------------------------------------------- |
404 int16 BavpEvent( NPP /*instance*/, |
404 int16 BavpEvent( NPP instance, |
405 void* /*event*/ ) |
405 void* event ) |
406 { |
406 { |
407 // Not implemented |
407 TInt ret = EFalse; |
408 return NPERR_NO_ERROR; |
408 if (instance) |
|
409 { |
|
410 CBavpPlugin *plugin = static_cast<CBavpPlugin*>(instance->pdata); |
|
411 NPEvent *ev = static_cast<NPEvent*>(event); |
|
412 |
|
413 if (plugin) |
|
414 { |
|
415 if (ev->event == ENppEventPointer) |
|
416 { |
|
417 NPEventPointer *evp =static_cast<NPEventPointer*> (ev->param); |
|
418 ret = plugin->HandleGesture(evp->reserved); |
|
419 } |
|
420 } |
|
421 } |
|
422 return ret; |
409 } |
423 } |
410 |
424 |
411 // ----------------------------------------------------------------------------- |
425 // ----------------------------------------------------------------------------- |
412 // BavpUrlnotify NOT SUPPORTED |
426 // BavpUrlnotify NOT SUPPORTED |
413 // ----------------------------------------------------------------------------- |
427 // ----------------------------------------------------------------------------- |