equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2002-2006 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: The TNssSpeechItemConstant provides constant values used by internal |
|
15 * VASAPI methods. |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 #ifndef NSSVASTSPEECHITEMCONSTANT_H |
|
21 #define NSSVASTSPEECHITEMCONSTANT_H |
|
22 |
|
23 /** |
|
24 * The TNssSpeechItemConstant provides constant values used by internal VASAPI |
|
25 * methods. |
|
26 * |
|
27 * @lib NssVasApi.lib |
|
28 * @since 2.0 |
|
29 */ |
|
30 class TNssSpeechItemConstant |
|
31 { |
|
32 public: |
|
33 |
|
34 // The states for SpeechItem object |
|
35 enum TNssState |
|
36 { |
|
37 EIdle, |
|
38 EBusy, |
|
39 EPlayMemoryStart, |
|
40 EPlayMemoryComplete, |
|
41 EPlayStart, |
|
42 EPlayComplete, |
|
43 ETrainStart, |
|
44 ETrainComplete, |
|
45 ESaveToSrsStart, |
|
46 ESaveToSrsComplete, |
|
47 EDeleteToSrsStart, |
|
48 EDeleteToSrsComplete, |
|
49 ETerminate, |
|
50 ECommitComplete, |
|
51 EAddPronounciationComplete, |
|
52 EAddRuleComplete, |
|
53 ERemoveRuleComplete, |
|
54 ERemovePronounciationComplete, |
|
55 ERemoveModelCompelete, |
|
56 EWaitForCommitChanges |
|
57 }; |
|
58 |
|
59 // The results for the SpeechItem operations |
|
60 enum TNssResult |
|
61 { |
|
62 EErrorNone, |
|
63 EInvalidState, |
|
64 EInvalidEventHandler |
|
65 }; |
|
66 |
|
67 }; |
|
68 |
|
69 #endif // NSSVASTSPEECHITEMCONSTANT |
|
70 |
|
71 // End of file |