javauis/mmapi_qt/baseline/src/cmmadeleterefevent.cpp
branchRCL_3
changeset 17 0fd27995241b
equal deleted inserted replaced
15:f9bb0fca356a 17:0fd27995241b
       
     1 /*
       
     2 * Copyright (c) 2002 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 "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:  This class is used to post events to the java.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 //  INCLUDE FILES
       
    20 #include <logger.h>
       
    21 
       
    22 #include "cmmadeleterefevent.h"
       
    23 
       
    24 CMMADeleteRefEvent::CMMADeleteRefEvent(jobject aDeleteRefObject):
       
    25         CMMAEvent(EDisposableEvent)
       
    26 {
       
    27     iDeleteRefObject = aDeleteRefObject;
       
    28 }
       
    29 
       
    30 // from CJavaEvent
       
    31 void CMMADeleteRefEvent::Dispatch(JNIEnv& aJni)
       
    32 {
       
    33     LOG( EJavaMMAPI, EInfo, "MMA::CMMADeleteRefEvent::Dispatch");
       
    34     aJni.DeleteGlobalRef(iDeleteRefObject);
       
    35 }
       
    36 
       
    37 //  END OF FILE