equal
deleted
inserted
replaced
|
1 // Copyright (c) 2010 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 // Factories for the GSM 06.10 encoder and decoder. |
|
15 // |
|
16 |
|
17 #include "gsm610common.h" |
|
18 #include "gsm610fr.h" |
|
19 |
|
20 EXPORT_C MGSM610FR_Encoder* GSM610FR_EncoderFactory::CreateEncoderL() |
|
21 { |
|
22 CGSM610FR_Encoder* encoder = new (ELeave) CGSM610FR_Encoder; |
|
23 CleanupStack::PushL(encoder); |
|
24 encoder->ConstructL(); |
|
25 CleanupStack::Pop(encoder); |
|
26 return encoder; |
|
27 } |
|
28 |
|
29 EXPORT_C MGSM610FR_Decoder* GSM610FR_DecoderFactory::CreateDecoderL() |
|
30 { |
|
31 CGSM610FR_Decoder* decoder = new (ELeave) CGSM610FR_Decoder; |
|
32 CleanupStack::PushL(decoder); |
|
33 decoder->ConstructL(); |
|
34 CleanupStack::Pop(decoder); |
|
35 return decoder; |
|
36 } |