javauis/mmapi_qt/volumekeys/src/cmmaforegroundevent.cpp
branchRCL_3
changeset 17 0fd27995241b
equal deleted inserted replaced
15:f9bb0fca356a 17:0fd27995241b
       
     1 /*
       
     2 * Copyright (c) 2006 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 "cmmaforegroundevent.h"
       
    23 
       
    24 CMMAForegroundEvent::CMMAForegroundEvent(jobject aNotifyObject,
       
    25         jmethodID aHandleEventMethod,
       
    26         TDisposability aDisposable):
       
    27         CMMAEvent(aNotifyObject, aHandleEventMethod, aDisposable)
       
    28 {
       
    29 
       
    30 }
       
    31 
       
    32 void CMMAForegroundEvent::Dispatch(JNIEnv& aJni)
       
    33 {
       
    34     aJni.CallVoidMethod(iListenerObject,
       
    35                         iHandleEventMethod);
       
    36 }
       
    37 
       
    38 //  END OF FILE