|
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: Interface for Connection observers. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef MSATCONNECTIONOBSERVER_H |
|
21 #define MSATCONNECTIONOBSERVER_H |
|
22 |
|
23 // INCLUDES |
|
24 #include <e32std.h> |
|
25 |
|
26 // CLASS DECLARATION |
|
27 |
|
28 /** |
|
29 * Interface for Connection observers. These observers are notified, when |
|
30 * connection is fully up, or an error occurs during connection stage. |
|
31 * |
|
32 * @lib SatEngine |
|
33 * @since Series 60 3.0 |
|
34 */ |
|
35 class MSatConnectionObserver |
|
36 { |
|
37 public: // Constructors and destructor |
|
38 |
|
39 /** |
|
40 * C++ default constructor. |
|
41 */ |
|
42 MSatConnectionObserver() {}; |
|
43 |
|
44 /** |
|
45 * Destructor. |
|
46 */ |
|
47 virtual ~MSatConnectionObserver() {}; |
|
48 |
|
49 public: // New functions |
|
50 |
|
51 /** |
|
52 * Notification of connection stage |
|
53 * @param aError Indicates the status of connection. |
|
54 */ |
|
55 virtual void ConnectionNotification( const TInt aError ) = 0; |
|
56 |
|
57 private: |
|
58 |
|
59 // Prohibit copy constructor if not deriving from CBase. |
|
60 MSatConnectionObserver( const MSatConnectionObserver& ); |
|
61 |
|
62 // Prohibit assigment operator if not deriving from CBase. |
|
63 MSatConnectionObserver& operator=( const MSatConnectionObserver& ); |
|
64 |
|
65 }; |
|
66 |
|
67 #endif // MSATSENDDATAOBSERVER_H |
|
68 |
|
69 // End of File |