|
1 /* |
|
2 * Copyright (c) 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: Ringing state |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef CVTENGSTATERINGING_H |
|
21 #define CVTENGSTATERINGING_H |
|
22 |
|
23 // INCLUDES |
|
24 #include "CVtEngStateBase.h" |
|
25 |
|
26 // CONSTANTS |
|
27 |
|
28 // MACROS |
|
29 |
|
30 // DATA TYPES |
|
31 |
|
32 // FUNCTION PROTOTYPES |
|
33 |
|
34 // FORWARD DECLARATIONS |
|
35 class CVtEngStateManager; |
|
36 |
|
37 // CLASS DECLARATION |
|
38 |
|
39 /** |
|
40 * Ringing state class |
|
41 * |
|
42 * @lib videoteleng |
|
43 * @since 2.6 |
|
44 */ |
|
45 NONSHARABLE_CLASS( CVtEngStateRinging ) : public CVtEngStateBase |
|
46 { |
|
47 public: // Constructors and destructor |
|
48 |
|
49 /** |
|
50 * C++ constructor. |
|
51 */ |
|
52 CVtEngStateRinging( |
|
53 CVtEngStateManager& aStateManager, |
|
54 CVtEngEventManager& aEventManager ); |
|
55 |
|
56 |
|
57 /** |
|
58 * Destructor. |
|
59 */ |
|
60 virtual ~CVtEngStateRinging(); |
|
61 |
|
62 public: // From CVtEngStateBase |
|
63 |
|
64 /** |
|
65 * Updates state. May result to state transition |
|
66 */ |
|
67 virtual void UpdateL(); |
|
68 |
|
69 /** |
|
70 * Validates a command. |
|
71 */ |
|
72 TBool ValidateCommand( |
|
73 const TVtEngCommandId aCommandId ); |
|
74 |
|
75 /** |
|
76 * @see CVtEngStateBase |
|
77 */ |
|
78 virtual MVtEngSessionInfo::TSessionState State() const; |
|
79 |
|
80 private: |
|
81 |
|
82 /** |
|
83 * Handles state transition to ringing. |
|
84 */ |
|
85 void DoOpenL(); |
|
86 |
|
87 }; |
|
88 |
|
89 #endif // CVTENGSTATERINGING_H |
|
90 |
|
91 // End of File |