equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2002-2005 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: Command interface for use of ui session. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef MSATCOMMAND_H |
|
21 #define MSATCOMMAND_H |
|
22 |
|
23 // INCLUDES |
|
24 #include <e32std.h> |
|
25 |
|
26 // CLASS DECLARATION |
|
27 |
|
28 /** |
|
29 * Command interface. Offers accessors for command id and command data. |
|
30 * |
|
31 * @lib SatEngine |
|
32 * @since Series 60 3.0 |
|
33 */ |
|
34 class MSatCommand |
|
35 { |
|
36 public: // Enums |
|
37 |
|
38 enum TSatCmdId |
|
39 { |
|
40 ESetUpMenuCmdId, |
|
41 ESetUpCallCmdId, |
|
42 ESelectItemCmdId, |
|
43 ESimSessionEndCmdId, |
|
44 ESendSmCmdId, |
|
45 ELaunchBrowserCmdId, |
|
46 EDisplayTextCmdId, |
|
47 EGetInputCmdId, |
|
48 EGetInkeyCmdId, |
|
49 ECallControlCmdId, |
|
50 EMoSmControlCmdId, |
|
51 ESetUpEventListCmdId, |
|
52 ESetUpIdleModeTextCmdId, |
|
53 ESendDtmfCmdId, |
|
54 ESendSsCmdId, |
|
55 ESendUssdCmdId, |
|
56 EPlayToneCmdId, |
|
57 ERefreshCmdId |
|
58 }; |
|
59 |
|
60 protected: // Constructors and destructor |
|
61 |
|
62 /** |
|
63 * C++ default constructor. |
|
64 */ |
|
65 MSatCommand() {}; |
|
66 |
|
67 /** |
|
68 * Destructor. |
|
69 */ |
|
70 virtual ~MSatCommand() {}; |
|
71 |
|
72 public: // New functions |
|
73 |
|
74 /** |
|
75 * Response from client. |
|
76 */ |
|
77 virtual void ClientResponse() = 0; |
|
78 |
|
79 private: |
|
80 |
|
81 // Prohibit copy constructor if not deriving from CBase. |
|
82 MSatCommand( const MSatCommand& ); |
|
83 |
|
84 // Prohibit assigment operator if not deriving from CBase. |
|
85 MSatCommand& operator=( const MSatCommand& ); |
|
86 |
|
87 }; |
|
88 |
|
89 #endif // MSATCOMMAND_H |
|
90 |
|
91 // End of File |