voicerecorder/AppSrc/MVREmbeddedObserver.h
branchRCL_3
changeset 24 072a5fa0c63b
parent 23 2f5c9ee7098c
child 25 c6bafb5162d8
equal deleted inserted replaced
23:2f5c9ee7098c 24:072a5fa0c63b
     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: 
       
    15 *     An observer class used to notify objects that embedded recording
       
    16 *	  was completed
       
    17 *
       
    18 */
       
    19 
       
    20 
       
    21 #ifndef MVREMBEDDEDOBSERVER_H
       
    22 #define MVREMBEDDEDOBSERVER_H
       
    23 
       
    24 // INCLUDES
       
    25 #include <w32std.h>
       
    26 
       
    27 // CLASS DECLARATION
       
    28 /**
       
    29 * An observer class used to notify objects that embedded recording
       
    30 * was completed
       
    31 */
       
    32 class MVREmbeddedObserver 
       
    33     {
       
    34 
       
    35     public: // new methods
       
    36 
       
    37 		/**
       
    38 		* This function is called when application wants to notify
       
    39 		* the observer that embedded clip was recorded
       
    40 		* @param aName The name of the file that was recorded
       
    41 		*              or EEventKeyDown
       
    42 		* @return Can we close the application
       
    43 		*/
       
    44 		virtual TBool FileCompleteL( const TDesC& aName ) = 0;
       
    45 		
       
    46 		/**
       
    47 		* This function may be used to inform server to abort transfer.
       
    48 		* If operation already has completed, nothing is done.
       
    49 		*/
       
    50 		virtual void AbortL() = 0;
       
    51     };
       
    52 
       
    53 #endif // MVREMBEDDEDOBSERVER_H