calendarui/organizerplugin/aiagendapluginengine/inc/CalEngineCallback.h
changeset 0 f979ecb2b13e
equal deleted inserted replaced
-1:000000000000 0:f979ecb2b13e
       
     1 /*
       
     2 * Copyright (c) 2002-2004 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  *
       
    16 */
       
    17 
       
    18 #ifndef CALENGCALLBACK_H
       
    19 #define CALENGCALLBACK_H
       
    20 
       
    21 // INCLUDES
       
    22 #include <e32base.h>
       
    23 
       
    24 
       
    25 class MCalenEngineGeneralCallback
       
    26 {
       
    27 public:
       
    28     virtual void HandleError(TInt aError) = 0;
       
    29 };
       
    30 
       
    31 class MCalenEngineOpenCallback : public MCalenEngineGeneralCallback
       
    32 {
       
    33 public:
       
    34     virtual void OpenDatabaseCompleted() = 0;
       
    35 };
       
    36 
       
    37 class MCalenEngineEntryFetchCallback : public MCalenEngineGeneralCallback
       
    38 {
       
    39 public:
       
    40     virtual void GetEntriesCompleted() = 0;
       
    41     virtual void GetTodosCompleted() = 0;
       
    42     virtual void GetFutureEventCompleted() = 0;
       
    43     virtual void GetCalendarDataCompleted() = 0;
       
    44 };
       
    45 
       
    46 class MCalenEngineListener : 
       
    47     public MCalenEngineOpenCallback,
       
    48     public MCalenEngineEntryFetchCallback
       
    49 {
       
    50 };
       
    51 
       
    52 #endif // CALENGCALLBACK_H
       
    53 
       
    54 
       
    55 // End of File