javauis/mmapi_qt/baseline/inc/cmmasnapshotevent.h
changeset 23 98ccebc37403
equal deleted inserted replaced
21:2a9601315dfc 23:98ccebc37403
       
     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 #ifndef CMMASNAPSHOTEVENT_H
       
    20 #define CMMASNAPSHOTEVENT_H
       
    21 
       
    22 //  INCLUDES
       
    23 #include "cmmaevent.h"
       
    24 
       
    25 //  CLASS DECLARATION
       
    26 /**
       
    27 *   This class is used to post events to the java.
       
    28 *
       
    29 *
       
    30 */
       
    31 NONSHARABLE_CLASS(CMMASnapshotEvent): public CMMAEvent
       
    32 {
       
    33 public:
       
    34     CMMASnapshotEvent(jobject aNotifyObject,
       
    35     jmethodID aHandleEventMethod,
       
    36     TInt aError,
       
    37     HBufC8* aImage,
       
    38     TDisposability aDisposable = EDisposableEvent);
       
    39 
       
    40     ~CMMASnapshotEvent();
       
    41 
       
    42 private: // from CJavaEvent
       
    43     void Dispatch(JNIEnv& aJni);
       
    44 
       
    45 private: // data
       
    46     HBufC8* iImageBuffer;
       
    47 };
       
    48 
       
    49 #endif // CMMASNAPSHOTEVENT_H