equal
deleted
inserted
replaced
|
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 #ifndef CSATTSYFACTORY_H |
|
17 #define CSATTSYFACTORY_H |
|
18 |
|
19 #include <e32std.h> |
|
20 #include <e32base.h> |
|
21 |
|
22 class MMessageRouter; |
|
23 class MCtsySatService; |
|
24 class MmMessageManagerCallback; |
|
25 class CTsySatMessagingBase; |
|
26 |
|
27 //IMPORT_C |
|
28 |
|
29 class CSatTsyFactory : public CBase |
|
30 { |
|
31 public: |
|
32 struct TSatTsyPtrContainer |
|
33 { |
|
34 CTsySatMessagingBase* iSatTsy; |
|
35 MmMessageManagerCallback* iSatTsyMessageManagerCallback; |
|
36 }; |
|
37 public: |
|
38 static CSatTsyFactory* NewL(); |
|
39 IMPORT_C static CSatTsyFactory* NewLC(); |
|
40 virtual ~CSatTsyFactory(); |
|
41 virtual TSatTsyPtrContainer CreateSatTsyL(MMessageRouter& aMmMessageRouter, MCtsySatService& aSatService); |
|
42 |
|
43 protected: |
|
44 CSatTsyFactory(); |
|
45 }; |
|
46 |
|
47 #endif |