webengine/widgetengine/inc/WidgetJSObjectProtector.h
changeset 13 10e98eab6f85
child 16 a359256acfc6
equal deleted inserted replaced
8:7c90e6132015 13:10e98eab6f85
       
     1 /*
       
     2 * Copyright (c) 2004 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 __WIDGETJSOBJECTPROTECTOR_H__
       
    19 #define __WIDGETJSOBJECTPROTECTOR_H__
       
    20 
       
    21 namespace KJS {
       
    22 	class JSValue;
       
    23 }
       
    24 
       
    25 class MJSObjectProtector
       
    26 {
       
    27 public:
       
    28 	virtual void Protect(KJS::JSValue*) = 0;
       
    29 	virtual void Unprotect(KJS::JSValue*) = 0;
       
    30 };
       
    31 
       
    32 #endif // !__WIDGETJSOBJECTPROTECTOR_H__