diff -r ebdbd102c78a -r 2eacb6118286 phoneapp/phonemediatorcenter/inc/cphonemediatormessagefactory.h --- a/phoneapp/phonemediatorcenter/inc/cphonemediatormessagefactory.h Fri May 14 15:51:57 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,78 +0,0 @@ -/* -* Copyright (c) 2008 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: -* Factory for creating Mediator Message objects. -* -*/ - - -#ifndef CPHONEMEDIATORMESSAGEFACTORY_H -#define CPHONEMEDIATORMESSAGEFACTORY_H - -// INCLUDES -#include - -// FORWARD DECLARATIONS -class MPhoneMediatorMessage; -class MPEEngineInfo; - -// CLASS DECLARATION - -class CPhoneMediatorMessageFactory : public CBase - { - public: - - /** - * Destructor. - */ - virtual ~CPhoneMediatorMessageFactory(); - - /** - * Two-phased constructor. - */ - static CPhoneMediatorMessageFactory* NewL( MPEEngineInfo& aEngineInfo ); - - /** - * Creates the concrete Mediator Message object. - * @param aMessage - Message from Phone Engine (EPEMessage). - * @param aCallId - Caller id - * @return MPhoneMediatorMessage object or NULL if no associate object found for - * EPEMessage. - */ - MPhoneMediatorMessage* CreateMessageL( const TInt aMessage, TInt aCallId ); - - - private: - - /** - * C++ default constructor. - */ - CPhoneMediatorMessageFactory( MPEEngineInfo& aEngineInfo ); - - /** - * By default EPOC constructor is private. - */ - void ConstructL(); - - - private: - - // Reference to Engine Info - MPEEngineInfo& iEngineInfo; - - }; - -#endif // CPHONEMEDIATORMESSAGEFACTORY_H - -// End of File