logsui/EngineInc/CLogsGetEventFactory.h
author Arnaud Lenoir
Mon, 11 Oct 2010 13:34:41 +0100
branchRCL_3
changeset 76 a7e7933e67a8
parent 0 e686773b3f54
permissions -rw-r--r--
Added sf_test directory to start the work related to the guidlines for package test organisation (http://developer.symbian.org/wiki/index.php/Guidelines_for_Package_Test_Organisation).

/*
* Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description: 
*     Produces objects that implement MLogsGetEvent
*
*/


#ifndef __Logs_Engine_CLogsGetEventFactory_H__
#define __Logs_Engine_CLogsGetEventFactory_H__

//  INCLUDES
#include <e32base.h>
#include <f32file.h>
#include "LogsEng.hrh"

// FORWARD DECLARATION

// CLASS DECLARATION
class MLogsGetEvent;
class MLogsObserver;
class MLogsEventArray;
struct TLogsEventStrings;

/**
 *  Produces objects that implement MLogsConfig
 */
class CLogsGetEventFactory :  public CBase
    {

    public:

       /**
        * produces MLogsGetEvent implementation object
        *
        * @param aFsSession file server session
        * @param aStrings     log client constants
        * @param aObserver observer
        * @return   MLogsGetEvent implementation object
        */
        static MLogsGetEvent* LogsGetEventL( RFs& aFsSession, 
                                    TLogsEventStrings& aStrings,
                                    MLogsObserver* aObserver = NULL );     

	   /**
        * produces MLogsEventArray implementation object
        *
        * @param	aModel Logs model for the event array
		* @param	aGranularity granularity for the event array
        * @return   MLogsEventArray implementation object
        */
        static MLogsEventArray* LogsEventArrayL( TLogsModel aModel, 
                                     TInt aGranularity);     

    };

#endif      // __Logs_Engine_CLogsGetEventFactory_H__



// End of File