logsui/EngineInc/CLogsReaderConfigFactory.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 *     Produces objects that implement MLogsReaderConfig
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 #ifndef __Logs_Engine_CLogsReaderConfigFactory_H__
       
    21 #define __Logs_Engine_CLogsReaderConfigFactory_H__
       
    22 
       
    23 //  INCLUDES
       
    24 #include <e32base.h>
       
    25 #include "LogsEng.hrh"
       
    26 
       
    27 // FORWARD DECLARATION
       
    28 
       
    29 // CLASS DECLARATION
       
    30 class MLogsReaderConfig;
       
    31 
       
    32 /**
       
    33  *  Produces objects that implement MLogsReaderConfig
       
    34  */
       
    35 class CLogsReaderConfigFactory :  public CBase
       
    36     {
       
    37 
       
    38     public:
       
    39 
       
    40        /**
       
    41         * Produces MLogsReaderConfig implementation object.Reader configuration 
       
    42         * for filtering all events by event type.
       
    43         *
       
    44         * @param    aFilter filter
       
    45         * @return   MLogsReaderConfig implementation object
       
    46         */
       
    47         IMPORT_C static MLogsReaderConfig* LogsReaderConfigLC( 
       
    48                                                 const TLogsFilter aFilter );
       
    49        /**
       
    50         * Produces MLogsReaderConfig implementation object.Reader configuration 
       
    51         * for filtering events from specified name and number.
       
    52         *
       
    53         * @param    aNumber number
       
    54         * @param    aRemoteParty remote party
       
    55         * @return   MLogsReaderConfig implementation object
       
    56         */
       
    57         IMPORT_C static MLogsReaderConfig* LogsReaderConfigLC( 
       
    58                                                 const TDesC* aNumber,
       
    59                                                 const TDesC* aRemoteParty );
       
    60 
       
    61 
       
    62        /**
       
    63         * Produces MLogsReaderConfig implementation object. Reader configuration 
       
    64         * for filtering all events with same number.
       
    65         *
       
    66         * @param    aNumber number
       
    67         * @return   MLogsReaderConfig implementation object
       
    68         */
       
    69         IMPORT_C static MLogsReaderConfig* LogsReaderConfigLC( 
       
    70                                                 const TDesC* aNumber );
       
    71 
       
    72        /**
       
    73         * Produces MLogsReaderConfig implementation object.Reader configuration 
       
    74         * for filtering events from specified name, number or contact link.
       
    75         *
       
    76         * @param    aNumber number
       
    77         * @param    aRemoteParty remote party
       
    78         * @param    aContactLink contact link
       
    79         * @return   MLogsReaderConfig implementation object
       
    80         */
       
    81         IMPORT_C static MLogsReaderConfig* LogsReaderConfigLC( 
       
    82                                                         const TDesC* aNumber,
       
    83                                                         const TDesC* aRemoteParty,
       
    84                                                         const TDesC8* aContactLink );
       
    85         
       
    86     };
       
    87 
       
    88 #endif      // __Logs_Engine_CLogsReaderConfigFactory_H__
       
    89 
       
    90 
       
    91 
       
    92 // End of File