logsui/EngineInc/MLogsConfig.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 *     Defines abstract interface for Logs configuration
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 #ifndef __MLogsConfig_H_
       
    21 #define __MLogsConfig_H_
       
    22 
       
    23 // INCLUDES
       
    24 #include <logcli.h>
       
    25 #include "LogsEng.hrh"
       
    26 
       
    27 // MACROS
       
    28 
       
    29 // DATA TYPES
       
    30 
       
    31 // FUNCTION PROTOTYPES
       
    32 
       
    33 // FORWARD DECLARATIONS
       
    34 class MLogsObserver;
       
    35 
       
    36 // CLASS DECLARATION
       
    37 
       
    38 /**
       
    39  *	Defines abstract interface for Logs configuration
       
    40  */
       
    41 class MLogsConfig
       
    42     {
       
    43     public:
       
    44     
       
    45         virtual ~MLogsConfig() {};
       
    46 
       
    47     public:
       
    48 
       
    49         /**
       
    50          * Set configuration
       
    51          *
       
    52          * @param aConfig reference to configuration structure
       
    53          */
       
    54         virtual void SetConfig( const TLogConfig& aConfig ) = 0;
       
    55 
       
    56         /**
       
    57          * Get configuration
       
    58          *
       
    59          * @param aConfig reference to configuration structure
       
    60          */
       
    61         virtual void GetConfig( TLogConfig& aConfig ) = 0;
       
    62 
       
    63         /**
       
    64          *   Observer setter
       
    65          *
       
    66          *   @param  aObserver   pointer to observer
       
    67          */
       
    68         virtual void SetObserver( MLogsObserver* aObserver ) = 0; 
       
    69     };
       
    70 
       
    71             
       
    72 #endif
       
    73 
       
    74 // End of File  __MLogsConfig_H_