meetingrequest/mrdb/inc/cesmrcaldbnormal.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 for normal agenda database operations
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef CESMRCALDBNORMAL_H
       
    19 #define CESMRCALDBNORMAL_H
       
    20 
       
    21 //  INCLUDE FILES
       
    22 #include <e32base.h>
       
    23 #include "cesmrcaldbbase.h"
       
    24 
       
    25 // FORWARD DECLARATIONS
       
    26 class CCalSession;
       
    27 
       
    28 // CLASS DECLARATION
       
    29 
       
    30 /**
       
    31  * This class wraps the normal agenda database.
       
    32  */
       
    33 NONSHARABLE_CLASS(CESMRCalDbNormal) : public CESMRCalDbBase
       
    34     {
       
    35 public: // Constructors and destructors
       
    36     /**
       
    37      * Symbian two-phased constructor.
       
    38      * @param aCalSession calendar session reference
       
    39      * @param aDbObserver database event/status observer
       
    40      * @param aCmdObserver asynchronous cmd progress observer
       
    41      */
       
    42     static CESMRCalDbNormal* NewL(
       
    43             CCalSession& aCalSession,
       
    44             MESMRCalDbObserver& aDbObserver,
       
    45             MCalProgressCallBack& aCmdObserver );
       
    46 
       
    47     /**
       
    48      * Destructor.
       
    49      */
       
    50     ~CESMRCalDbNormal();
       
    51 
       
    52 public: // From MCalProgressCallBack
       
    53     void Completed(
       
    54             TInt aError );
       
    55 
       
    56 private: // Constructors and destructors
       
    57     CESMRCalDbNormal(
       
    58             CCalSession& aCalSession,
       
    59             MESMRCalDbObserver& aDbObserver,
       
    60             MCalProgressCallBack& aCmdObserver );
       
    61     void ConstructL();
       
    62     };
       
    63 
       
    64 #endif // CESMRCALDBNORMAL_H
       
    65 
       
    66 // End of File