|
1 /* |
|
2 * Copyright (c) 2005 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: A factory class which can create instances of |
|
15 * MBlidSettings. |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 // INCLUDE FILES |
|
21 #include "BlidModelFactory.h" |
|
22 #include "CBlidSettings.h" |
|
23 #include "CBlidLocation.h" |
|
24 #include "CBlidRouter.h" |
|
25 |
|
26 // ============================ MEMBER FUNCTIONS ============================== |
|
27 // ---------------------------------------------------------------------------- |
|
28 // BlidModelFactory::SettingsL |
|
29 // ---------------------------------------------------------------------------- |
|
30 // |
|
31 MBlidSettings* BlidModelFactory::SettingsL() |
|
32 { |
|
33 return CBlidSettings::NewL(); |
|
34 } |
|
35 |
|
36 // ---------------------------------------------------------------------------- |
|
37 // BlidModelFactory::LocationL |
|
38 // ---------------------------------------------------------------------------- |
|
39 // |
|
40 MBlidLocation* BlidModelFactory::LocationL( RPositionServer& aServer, CBlidEng& aEngine ) |
|
41 { |
|
42 return CBlidLocation::NewL(aServer, aEngine); |
|
43 } |
|
44 |
|
45 // ---------------------------------------------------------------------------- |
|
46 // BlidModelFactory::RouterL |
|
47 // ---------------------------------------------------------------------------- |
|
48 // |
|
49 MBlidRouter* BlidModelFactory::RouterL() |
|
50 { |
|
51 return CBlidRouter::NewL(); |
|
52 } |
|
53 |
|
54 // End of File |