calendarui/organizerplugin/aiagendapluginengine/inc/AIAgendaPluginEngine.h
changeset 0 f979ecb2b13e
equal deleted inserted replaced
-1:000000000000 0:f979ecb2b13e
       
     1 /*
       
     2 * Copyright (c) 2004-2006 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:  This is a wrapper class for Agenda Plugin Engine implementation
       
    15  *                to hide all the inclusion dependencies from anyone using it.
       
    16  *
       
    17 */
       
    18 
       
    19 
       
    20 #ifndef CAIAGENDAPLUGINENGINE_H
       
    21 #define CAIAGENDAPLUGINENGINE_H
       
    22 
       
    23 // INCLUDES
       
    24 #include "AIAgendaPluginEngineIf.h"
       
    25 
       
    26 // FORWARD DECLARATIONS
       
    27 class CAIAgendaPluginEngineImpl;
       
    28 
       
    29 // CLASS DECLARATION
       
    30 NONSHARABLE_CLASS( CAIAgendaPluginEngine ) : public CAIAgendaPluginEngineIf
       
    31 {
       
    32  public:
       
    33     /**
       
    34      * Two-phased constructor.
       
    35      * @since Series 60 3.1
       
    36      **/
       
    37     static CAIAgendaPluginEngine* NewL(TAny* aParams);
       
    38 
       
    39     /**
       
    40      * Destructor.
       
    41      **/
       
    42     virtual ~CAIAgendaPluginEngine(void);
       
    43 
       
    44  public: // API for clients
       
    45     /**
       
    46      * Start the state machine inside the CAIAgendaPluginEngineImpl.
       
    47      * @since S60 3.0
       
    48      **/
       
    49     void Refresh(void);
       
    50 
       
    51  private:
       
    52     /**
       
    53      * Symbian 2nd phase constructor.
       
    54      * @since Series 60 2.6
       
    55      * @param aDataChangeObserver  Reference to an observer.
       
    56      * @param aObserverType        Observer type.
       
    57      **/
       
    58     void ConstructL(MPluginDataChangeObserver& aDataChangeObserver, TObserverType aObserverType);
       
    59 
       
    60     /**
       
    61      * Hide default constructor.
       
    62      **/
       
    63     CAIAgendaPluginEngine(void){};
       
    64 
       
    65  private:  // Data members
       
    66     // Pointer to the actual engine implementation.
       
    67     // Implementation class is hidden to prevent any inclusion dependencies.
       
    68     CAIAgendaPluginEngineImpl* iEngineImpl;
       
    69 
       
    70 };
       
    71 
       
    72 #endif  // CAIAGENDAPLUGINENGINE_H
       
    73 
       
    74 
       
    75 // End of File