|
1 /* |
|
2 * Copyright (c) 2004-2007 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: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 // INCLUDE FILES |
|
20 #include "vuicvoicerecog.h" |
|
21 |
|
22 #include "rubydebug.h" |
|
23 |
|
24 // ================= MEMBER FUNCTIONS ======================= |
|
25 |
|
26 // ----------------------------------------------------------------------------- |
|
27 // CVoiceRecog::CVoiceRecog |
|
28 // C++ default constructor can NOT contain any code, that |
|
29 // might leave. |
|
30 // ----------------------------------------------------------------------------- |
|
31 // |
|
32 CVoiceRecog::CVoiceRecog() |
|
33 { |
|
34 } |
|
35 |
|
36 // ----------------------------------------------------------------------------- |
|
37 // CVoiceRecog::ConstructL |
|
38 // Symbian 2nd phase constructor can leave. |
|
39 // ----------------------------------------------------------------------------- |
|
40 // |
|
41 void CVoiceRecog::ConstructL() |
|
42 { |
|
43 RUBY_DEBUG_BLOCK( "CVoiceRecog::ConstructL" ); |
|
44 } |
|
45 |
|
46 // --------------------------------------------------------------------------- |
|
47 // CVoiceRecog::NewLC |
|
48 // Symbian OS two-phased constructor |
|
49 // --------------------------------------------------------------------------- |
|
50 // |
|
51 EXPORT_C CVoiceRecog* CVoiceRecog::NewLC() |
|
52 { |
|
53 CVoiceRecog* self = new (ELeave) CVoiceRecog(); |
|
54 CleanupStack::PushL( self ); |
|
55 self->ConstructL(); |
|
56 return self; |
|
57 } |
|
58 |
|
59 // --------------------------------------------------------------------------- |
|
60 // CVoiceRecog::NewL |
|
61 // Symbian OS two-phased constructor |
|
62 // --------------------------------------------------------------------------- |
|
63 // |
|
64 EXPORT_C CVoiceRecog* CVoiceRecog::NewL() |
|
65 { |
|
66 CVoiceRecog* self = NewLC(); |
|
67 CleanupStack::Pop( self ); |
|
68 return self; |
|
69 } |
|
70 |
|
71 // Destructor |
|
72 CVoiceRecog::~CVoiceRecog() |
|
73 { |
|
74 RUBY_DEBUG0( "CVoiceRecog::~CVoiceRecog START" ); |
|
75 |
|
76 RUBY_DEBUG0( "CVoiceRecog::~CVoiceRecog EXIT" ); |
|
77 } |
|
78 |
|
79 // End of File |