|
1 /* |
|
2 * Copyright (c) 2002-2004 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: Implementation of the ProEngFactory. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 // INCLUDE FILES |
|
21 #include <ProEngFactory.h> |
|
22 #include "CProEngEngineImpl.h" |
|
23 #include "CProEngNotifyHandlerImpl.h" |
|
24 #include "CProEngAlertToneSeekerImpl.h" |
|
25 |
|
26 // ============================ MEMBER FUNCTIONS =============================== |
|
27 |
|
28 // ----------------------------------------------------------------------------- |
|
29 // ProEngFactory::NewEngineL |
|
30 // ----------------------------------------------------------------------------- |
|
31 // |
|
32 EXPORT_C MProEngEngine* ProEngFactory::NewEngineL() |
|
33 { |
|
34 return CProEngEngineImpl::NewL(); |
|
35 } |
|
36 |
|
37 // ----------------------------------------------------------------------------- |
|
38 // ProEngFactory::NewEngineLC |
|
39 // ----------------------------------------------------------------------------- |
|
40 // |
|
41 EXPORT_C MProEngEngine* ProEngFactory::NewEngineLC() |
|
42 { |
|
43 return CProEngEngineImpl::NewLC(); |
|
44 } |
|
45 |
|
46 // ----------------------------------------------------------------------------- |
|
47 // ProEngFactory::NewEngineL |
|
48 // ----------------------------------------------------------------------------- |
|
49 // |
|
50 EXPORT_C MProEngEngine* ProEngFactory::NewEngineL( RFs& aFs ) |
|
51 { |
|
52 return CProEngEngineImpl::NewL( aFs ); |
|
53 } |
|
54 |
|
55 // ----------------------------------------------------------------------------- |
|
56 // ProEngFactory::NewEngineLC |
|
57 // ----------------------------------------------------------------------------- |
|
58 // |
|
59 EXPORT_C MProEngEngine* ProEngFactory::NewEngineLC( RFs& aFs ) |
|
60 { |
|
61 return CProEngEngineImpl::NewLC( aFs ); |
|
62 } |
|
63 |
|
64 // ----------------------------------------------------------------------------- |
|
65 // ProEngFactory::NewNotifyHandlerL |
|
66 // ----------------------------------------------------------------------------- |
|
67 // |
|
68 EXPORT_C MProEngNotifyHandler* ProEngFactory::NewNotifyHandlerL() |
|
69 { |
|
70 return CProEngNotifyHandlerImpl::NewL(); |
|
71 } |
|
72 |
|
73 // ----------------------------------------------------------------------------- |
|
74 // ProEngFactory::NewAlertToneSeekerL |
|
75 // ----------------------------------------------------------------------------- |
|
76 // |
|
77 EXPORT_C MProEngAlertToneSeeker* ProEngFactory::NewAlertToneSeekerL() |
|
78 { |
|
79 return CProEngAlertToneSeekerImpl::NewL(); |
|
80 } |
|
81 |
|
82 // End of File |
|
83 |