|
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: Accessors for different kind of sessions in SatServer |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef MSATSSESSIONS_H |
|
21 #define MSATSSESSIONS_H |
|
22 |
|
23 // INCLUDES |
|
24 #include <e32std.h> |
|
25 #include "MSatRefreshSubSession.h" |
|
26 |
|
27 // FORWARD DECLARATION |
|
28 class MSatUiSession; |
|
29 |
|
30 // CLASS DECLARATION |
|
31 |
|
32 /** |
|
33 * Accessors for SatServer sessions. |
|
34 * |
|
35 * @lib SatServer |
|
36 * @since Series 60 3.0 |
|
37 */ |
|
38 class MSatSSessions |
|
39 { |
|
40 protected: // Constructors and destructor |
|
41 |
|
42 /** |
|
43 * C++ default constructor. |
|
44 */ |
|
45 MSatSSessions() {}; |
|
46 |
|
47 /** |
|
48 * Destructor. |
|
49 */ |
|
50 virtual ~MSatSSessions() {}; |
|
51 |
|
52 public: // New functions |
|
53 |
|
54 /** |
|
55 * Gives ui session interface. May be NULL. |
|
56 * @return Interface for ui session |
|
57 */ |
|
58 virtual MSatUiSession* UiSession() = 0; |
|
59 |
|
60 /** |
|
61 * Gives all refresh sub sessions. |
|
62 * @return Pointer array of MSatRefreshSubSessions |
|
63 */ |
|
64 virtual const RPointerArray<MSatRefreshSubSession>& |
|
65 RefreshSubSessions() = 0; |
|
66 |
|
67 private: |
|
68 |
|
69 // Prohibit copy constructor if not deriving from CBase. |
|
70 MSatSSessions( const MSatSSessions& ); |
|
71 |
|
72 // Prohibit assigment operator if not deriving from CBase. |
|
73 MSatSSessions& operator=( const MSatSSessions& ); |
|
74 |
|
75 }; |
|
76 |
|
77 #endif // MSATSSESSIONS_H |
|
78 |
|
79 // End of File |