telephonyserverplugins/ctsydispatchlayer/inc/cctsydispatcherfactory.h
changeset 0 3553901f7fa8
child 24 6638e7f4bd8f
equal deleted inserted replaced
-1:000000000000 0:3553901f7fa8
       
     1 // Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 /**
       
    17  @file
       
    18  @internalAll 
       
    19 */
       
    20 
       
    21 #ifndef CCTSYDISPATCHERFACTORY_H
       
    22 #define CCTSYDISPATCHERFACTORY_H
       
    23 
       
    24 #include <ctsy/mltsyfactory.h>
       
    25 
       
    26 class CMessageRouter;
       
    27 
       
    28 class CCtsyDispatcherFactoryV1 : public CBase, public MLtsyFactoryV1
       
    29 	{
       
    30 public:
       
    31 	static CCtsyDispatcherFactoryV1* NewL();
       
    32 	virtual ~CCtsyDispatcherFactoryV1();
       
    33 		
       
    34 public:	// from MLtsyFactoryBase
       
    35 	TCtsyInterfaceVersion Version();
       
    36 	void Release();
       
    37 
       
    38 public: // from MLtsyFactoryV1
       
    39 	MMessageRouter* GetMessageRouter(MmMessageManagerCallback& aMessageManager);
       
    40 	CTsySatMessagingBase* GetSatMessagingService(MCtsySatService& aSatMessagingService);
       
    41 	
       
    42 protected:
       
    43 	CTsySatMessagingBase* GetSatMessagingServiceL(MCtsySatService& aSatMessagingService);
       
    44 
       
    45 protected:
       
    46 	CCtsyDispatcherFactoryV1();
       
    47 	void ConstructL();
       
    48 	
       
    49 private:
       
    50 
       
    51 	CMessageRouter* iMessageRouter;	
       
    52 	RLibrary iloadedLib;
       
    53 	}; // class CCtsyDispatcherFactoryV1
       
    54 
       
    55 #endif // CCTSYDISPATCHERFACTORY_H