meetingrequest/mricalviewer/inc/mesmricalviewerasynccommand.h
changeset 0 8466d47a6819
equal deleted inserted replaced
-1:000000000000 0:8466d47a6819
       
     1 /*
       
     2 * Copyright (c) 2007-2009 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 definition for esmricalviewer command
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef MESMRICALVIEWERASYNCCOMMAND_H
       
    19 #define MESMRICALVIEWERASYNCCOMMAND_H
       
    20 
       
    21 //<cmail>
       
    22 #include "esmricalvieweropcodes.hrh"
       
    23 //</cmail>
       
    24 
       
    25 /**
       
    26  *  MESMRIcalViewerCommand defines the interface for smricalviewer commands.
       
    27  */
       
    28 class MESMRIcalViewerAsyncCommand
       
    29     {
       
    30 public: // Destruction
       
    31     /**
       
    32      * Virtual destructor
       
    33      */
       
    34     virtual ~MESMRIcalViewerAsyncCommand() {}
       
    35 
       
    36 public: // Interface
       
    37 
       
    38     /**
       
    39      *  Executes the command. Leaves with system wide error code on error.
       
    40      */
       
    41     virtual void ExecuteAsyncCommandL() = 0;
       
    42 
       
    43     /**
       
    44      * Cancel command execution.
       
    45      */
       
    46     virtual void CancelAsyncCommand() = 0;
       
    47     };
       
    48 
       
    49 #endif // MESMRICALVIEWERASYNCCOMMAND_H
       
    50 
       
    51 // EOF