voiceui/vcommand/inc/vcmodelappuiinterface.h
branchRCL_3
changeset 19 e36f3802f733
parent 0 bf1d17376201
equal deleted inserted replaced
18:cad71a31b7fc 19:e36f3802f733
       
     1 /*
       
     2 * Copyright (c) 2007 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:  Interface implemented by the application ui class to abstract
       
    15 *                the relation with the model class
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 #ifndef MVCMODELAPPUIINTERFACE_H
       
    21 #define MVCMODELAPPUIINTERFACE_H
       
    22 
       
    23 // CLASS DECLARATION
       
    24 
       
    25 class MVcModelAppUiInterface
       
    26     {
       
    27     public: 
       
    28         /**
       
    29         * Notifies the the command set has changed and the view may need to be
       
    30         * updated
       
    31         */
       
    32         virtual void CommandSetChanged() = 0;
       
    33         
       
    34         /**
       
    35         * Called before starting VCommandHandler operations that should be
       
    36         * executed fully before application can be exited. Leave safe operation.
       
    37         * A subsequent call to CleanupStack::PopAndDestroy should be done
       
    38         * after such operations have completed
       
    39         */
       
    40         virtual void StartAtomicOperationLC() = 0;
       
    41     };
       
    42 
       
    43 #endif  // MVCMODELAPPUIINTERFACE_H
       
    44 
       
    45 // End of File
       
    46 
       
    47