browserplugins/browseraudiovideoplugin/inc/BavpNPObject.h
branchRCL_3
changeset 64 6385c4c93049
parent 63 4baee4f15982
child 65 8e6fa1719340
equal deleted inserted replaced
63:4baee4f15982 64:6385c4c93049
     1 /*
       
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of the License "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: 
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef BAVPNPOBJECT
       
    19 #define BAVPNPOBJECT
       
    20 
       
    21 #include <e32base.h>
       
    22 #include <npscript.h>
       
    23 
       
    24 class CBavpPlugin;
       
    25 
       
    26 typedef struct
       
    27 {
       
    28     NPObject object;
       
    29     CBavpPlugin *plugin;
       
    30     NPObject* stateChangedCallback;
       
    31     NPP nppInstance;
       
    32 } BavpNPObject;  
       
    33 
       
    34 BavpNPObject* BavpNPObject_new(NPP instance);
       
    35 void BavpNPObject_stateChanged(BavpNPObject* obj, char* state);
       
    36 
       
    37 #endif