logsui/AppSrc/TLogsDummyExtensionFactory.h
changeset 0 e686773b3f54
equal deleted inserted replaced
-1:000000000000 0:e686773b3f54
       
     1 /*
       
     2 * Copyright (c) 2002 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 *       Dummy extension factory. Provides default implementations.
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 #ifndef TLogsDummyExtensionFactory_H
       
    21 #define TLogsDummyExtensionFactory_H
       
    22 
       
    23 
       
    24 //  INCLUDES
       
    25 #include "MLogsExtensionFactory.h"
       
    26 #include "TLogsDummyViewExtension.h"
       
    27 #include "TLogsDummyUiControlExtension.h"
       
    28 
       
    29 
       
    30 // CLASS DECLARATION
       
    31 
       
    32 /**
       
    33  * Dummy extension factory. Provides default implementations.
       
    34  */
       
    35 class TLogsDummyExtensionFactory :  public MLogsExtensionFactory                                    
       
    36     {
       
    37     public: // Constructor
       
    38         /**
       
    39          * Creates a new TPLogsDummyExtensionFactory.
       
    40          */
       
    41         static TLogsDummyExtensionFactory* NewL();
       
    42 
       
    43         void Release();
       
    44         
       
    45     public: // From MLogsExtensionFactory
       
    46         MLogsViewExtension* CreateLogsViewExtensionL
       
    47                 (CPbkContactEngine& aEngine, MLogsExtObserver* aObserver);
       
    48         MLogsUiControlExtension* CreateLogsUiControlExtensionL();
       
    49 
       
    50     private:
       
    51         TLogsDummyExtensionFactory();
       
    52 
       
    53     private: // Data
       
    54         /// Own: dummy view extension
       
    55         TLogsDummyViewExtension iDummyViewExtension;
       
    56         /// Own: dummy app ui extension
       
    57         TLogsDummyUiControlExtension iDummyUiControlExtension;    
       
    58     };
       
    59 
       
    60 #endif
       
    61             
       
    62 
       
    63 // End of File