equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2004-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: Base class for sub-sessions |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef CSATSSUBSESSION_H |
|
21 #define CSATSSUBSESSION_H |
|
22 |
|
23 // INCLUDES |
|
24 #include <e32base.h> |
|
25 |
|
26 // FORWARD DECLARAITION |
|
27 class CSatSSession; |
|
28 class CSatSServer; |
|
29 // CLASS DECLARATION |
|
30 |
|
31 /** |
|
32 * Base class for sub-sessions. |
|
33 * |
|
34 * @lib SatEngine.lib |
|
35 * @since 2.6 |
|
36 */ |
|
37 class CSatSSubSession : public CObject |
|
38 { |
|
39 public: // Constructors and destructor |
|
40 |
|
41 /** |
|
42 * Destructor. |
|
43 */ |
|
44 virtual ~CSatSSubSession(); |
|
45 |
|
46 public: // New functions |
|
47 |
|
48 /** |
|
49 * Handles the subsession functions. The opening and closing of |
|
50 * sub-session is handled by CSatSSession, so this method is not |
|
51 * called in opening or in closing of sub-session. |
|
52 * @param aMessage IPC message from client. |
|
53 */ |
|
54 virtual void HandleCommandL( const RMessage2& aMessage ) = 0; |
|
55 |
|
56 protected: |
|
57 |
|
58 /** |
|
59 * C++ default constructor. |
|
60 */ |
|
61 CSatSSubSession( CSatSSession& aSession ); |
|
62 |
|
63 protected: // Data |
|
64 // Session class |
|
65 CSatSSession& iSession; |
|
66 |
|
67 }; |
|
68 |
|
69 #endif // CSATSSUBSESSION_H |
|
70 |
|
71 // End of File |