24
|
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 |
#ifndef CCTSYDISPATCHERFACTORY_H
|
|
18 |
#define CCTSYDISPATCHERFACTORY_H
|
|
19 |
|
|
20 |
#include <ctsy/mltsyfactory.h>
|
|
21 |
|
|
22 |
class CMessageRouter;
|
|
23 |
|
|
24 |
class CCtsyDispatcherFactoryV1 : public CBase, public MLtsyFactoryV1
|
|
25 |
{
|
|
26 |
public:
|
|
27 |
static CCtsyDispatcherFactoryV1* NewL();
|
|
28 |
virtual ~CCtsyDispatcherFactoryV1();
|
|
29 |
|
|
30 |
public: // from MLtsyFactoryBase
|
|
31 |
TCtsyInterfaceVersion Version();
|
|
32 |
void Release();
|
|
33 |
|
|
34 |
public: // from MLtsyFactoryV1
|
|
35 |
MMessageRouter* GetMessageRouter(MmMessageManagerCallback& aMessageManager);
|
|
36 |
CTsySatMessagingBase* GetSatMessagingService(MCtsySatService& aSatMessagingService);
|
|
37 |
|
|
38 |
protected:
|
|
39 |
CTsySatMessagingBase* GetSatMessagingServiceL(MCtsySatService& aSatMessagingService);
|
|
40 |
|
|
41 |
protected:
|
|
42 |
CCtsyDispatcherFactoryV1();
|
|
43 |
void ConstructL();
|
|
44 |
|
|
45 |
private:
|
|
46 |
|
|
47 |
CMessageRouter* iMessageRouter;
|
|
48 |
RLibrary iloadedLib;
|
|
49 |
}; // class CCtsyDispatcherFactoryV1
|
|
50 |
|
|
51 |
#endif // CCTSYDISPATCHERFACTORY_H
|