equal
deleted
inserted
replaced
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: Stub implementations for RSatSession and RSatUiSession |
|
15 * (used in unit testing the SAT APP) |
|
16 * |
|
17 * |
|
18 */ |
|
19 |
|
20 |
|
21 #include <msatuiobserver.h> |
|
22 #include <rsatuisession.h> |
|
23 #include <rsatsession.h> |
|
24 #include <msatuiadapter.h> |
|
25 |
|
26 // adapter |
|
27 class CSatCCommandProcessor: public MSatUiAdapter { |
|
28 void MenuSelection(TInt aMenuItem, TBool aHelpRequested) |
|
29 { |
|
30 } |
|
31 |
|
32 void SessionTerminated(TInt8 aType) |
|
33 { |
|
34 } |
|
35 }; |
|
36 |
|
37 |
|
38 // RSatSession |
|
39 |
|
40 RSatSession::RSatSession() |
|
41 { |
|
42 } |
|
43 |
|
44 void RSatSession::ConnectL() |
|
45 { |
|
46 } |
|
47 |
|
48 // RSatUiSession |
|
49 |
|
50 RSatUiSession::RSatUiSession() |
|
51 { |
|
52 } |
|
53 |
|
54 void RSatUiSession::RegisterL(const RSatSession&,MSatUiObserver*) |
|
55 { |
|
56 iCommandProcessor = new CSatCCommandProcessor(); |
|
57 } |
|
58 |
|
59 void RSatUiSession::Close() |
|
60 { |
|
61 delete iCommandProcessor; |
|
62 } |
|
63 |
|
64 MSatUiAdapter* RSatUiSession::Adapter() const |
|
65 { |
|
66 return iCommandProcessor; |
|
67 } |
|
68 |
|
69 |
|
70 |
|
71 //End of file |
|