|
1 /* |
|
2 * Copyright (c) 2010 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 #include <ssm/ssmstateawaresession.h> |
|
19 #include <ssm/ssmdomaindefs.h> |
|
20 #include <ssm/ssmstate.h> |
|
21 #include <ssm/ssmsubstates.hrh> |
|
22 |
|
23 static TSsmState iState(ESsmNormal, ESsmNormalSubState); |
|
24 |
|
25 RSsmStateAwareSession::RSsmStateAwareSession() |
|
26 { |
|
27 |
|
28 } |
|
29 |
|
30 TInt RSsmStateAwareSession::Connect(TDmDomainId aId) |
|
31 { |
|
32 TDmDomainId value = aId; |
|
33 return KErrNone; |
|
34 } |
|
35 |
|
36 TSsmState RSsmStateAwareSession::State() const |
|
37 { |
|
38 return iState; |
|
39 } |
|
40 |
|
41 void RSsmStateAwareSession::AcknowledgeAndRequestStateNotification(TInt aError, TRequestStatus& aStatus) |
|
42 { |
|
43 (void)aError; |
|
44 TRequestStatus* stat = &aStatus; |
|
45 User::RequestComplete( stat, KErrNone); |
|
46 } |
|
47 |
|
48 void RSsmStateAwareSession::AcknowledgeStateNotification(TInt aError) |
|
49 { |
|
50 (void)aError; |
|
51 } |
|
52 |
|
53 void RSsmStateAwareSession::Close() |
|
54 { |
|
55 |
|
56 } |
|
57 |
|
58 void RSsmStateAwareSession::RequestStateNotification(TRequestStatus& aStatus) |
|
59 { |
|
60 TRequestStatus* stat = &aStatus; |
|
61 User::RequestComplete( stat, KErrNone); |
|
62 } |
|
63 |
|
64 void RSsmStateAwareSession::RequestStateNotificationCancel() |
|
65 { |
|
66 } |
|
67 |