equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 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: See class definition below. |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef MSIPBEAREROWNER_H |
|
19 #define MSIPBEAREROWNER_H |
|
20 |
|
21 // INCLUDES |
|
22 #include <e32std.h> |
|
23 |
|
24 // FORWARD DECLARATIONS |
|
25 class CSIPBearerMonitor; |
|
26 |
|
27 // CLASS DECLARATION |
|
28 /** |
|
29 * @publishedPartner |
|
30 * |
|
31 * MSIPBearerOwner defines an internal interface |
|
32 * for observing bearer monitor state changes. |
|
33 */ |
|
34 class MSIPBearerOwner |
|
35 { |
|
36 protected: // Constructors and destructors |
|
37 |
|
38 /// Virtual destructor. Prohibit deletion through this interface. |
|
39 virtual ~MSIPBearerOwner() {}; |
|
40 |
|
41 public: // Abstract methods |
|
42 |
|
43 /** |
|
44 * Called by a CSIPBearerMonitor implementation when its state changes |
|
45 * |
|
46 * @param aBearer "this" pointer of the reporting implementation. |
|
47 * @param aError KErrNone if state was changed succesfully, otherwise |
|
48 * one of the system-wide error codes. |
|
49 */ |
|
50 virtual void BearerStateChanged( CSIPBearerMonitor* aBearer, |
|
51 TInt aError ) = 0; |
|
52 |
|
53 }; |
|
54 |
|
55 #endif // MSIPBEAREROWNER_H |