|
1 |
|
2 // Copyright (c) 2004-2009 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 // INCLUDES |
|
20 #include "SIPExStateRegistering.h" |
|
21 #include "SIPExGameEngine.h" |
|
22 |
|
23 // ----------------------------------------------------------------------------- |
|
24 // TSIPExStateRegistering::ProfileEnabled |
|
25 // Sets info text to the UI and changes the active state to the Registered. |
|
26 // ----------------------------------------------------------------------------- |
|
27 // |
|
28 void TSIPExStateRegistering::ProfileEnabled( |
|
29 CSIPExEngine* aContext, |
|
30 TUint32 /*aSIPProfileId*/ ) |
|
31 { |
|
32 Info( aContext, KProfileEnabled() ); |
|
33 ChangeState( aContext, aContext->iStateRegistered ); |
|
34 } |
|
35 |
|
36 // ----------------------------------------------------------------------------- |
|
37 // TSIPExStateRegistering::ProfileError |
|
38 // Sets info text to the UI and changes the active state to the Idle. |
|
39 // ----------------------------------------------------------------------------- |
|
40 // |
|
41 void TSIPExStateRegistering::ProfileError( |
|
42 CSIPExEngine* aContext, |
|
43 TInt /*aError*/ ) |
|
44 { |
|
45 Info( aContext, KProfEnabError() ); |
|
46 ChangeState( aContext, aContext->iStateIdle ); |
|
47 } |
|
48 |
|
49 // End of file |