equal
deleted
inserted
replaced
367 case NPNVasdEnabledBool: // Tells whether SmartUpdate (former name: ASD) is enabled; |
367 case NPNVasdEnabledBool: // Tells whether SmartUpdate (former name: ASD) is enabled; |
368 // true=SmartUpdate enabled, false=not enabled |
368 // true=SmartUpdate enabled, false=not enabled |
369 case NPNVisOfflineBool: // Tells whether offline mode is enabled; |
369 case NPNVisOfflineBool: // Tells whether offline mode is enabled; |
370 // true=offline mode enabled, false=not enabled |
370 // true=offline mode enabled, false=not enabled |
371 |
371 |
372 case NPNNetworkAccess: |
372 case NPNNetworkAccess: { |
373 PluginWin* pluginWin = (PluginWin*)aInstance->ndata; |
373 PluginWin* pluginWin = (PluginWin*)aInstance->ndata; |
374 TInt apId = -1; |
374 TInt apId = -1; |
375 if (pluginWin) { |
375 if (pluginWin) { |
376 apId = pluginWin->pluginSkin()->handleNetworkAccess(); |
376 apId = pluginWin->pluginSkin()->handleNetworkAccess(); |
377 } |
377 } |
378 *((TInt*) aRetValue) = apId; |
378 *((TInt*) aRetValue) = apId; |
379 break; |
379 break; |
380 |
380 } |
381 case NPNVGenericParameter: { |
381 case NPNVGenericParameter: { |
382 PluginWin* pluginWin = (PluginWin*)aInstance->ndata; |
382 PluginWin* pluginWin = (PluginWin*)aInstance->ndata; |
383 if (pluginWin) { |
383 if (pluginWin) { |
384 void **v = (void **)aRetValue; |
384 void **v = (void **)aRetValue; |
385 *v = pluginWin->pluginSkin()->genericElementArray(); |
385 *v = pluginWin->pluginSkin()->genericElementArray(); |