equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2005-2006 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: fcconnectionnotifier.h |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 #ifndef __MFCCONNECTIONNOTIFIER_H__ |
|
22 #define __MFCCONNECTIONNOTIFIER_H__ |
|
23 |
|
24 // INCLUDES |
|
25 #include <e32std.h> |
|
26 |
|
27 /** |
|
28 * an interface for observing connection |
|
29 * |
|
30 * MFCConnectionNotifier defines an interface for observing connection |
|
31 * for RSocketServer. |
|
32 * @lib FCTBCP.lib |
|
33 * @since S60 v3.0 |
|
34 */ |
|
35 class MFCConnectionNotifier |
|
36 { |
|
37 protected: // Constructors and destructors |
|
38 /** |
|
39 * Virtual destructor. Prohibit deletion through this interface. |
|
40 */ |
|
41 virtual ~MFCConnectionNotifier() {}; |
|
42 |
|
43 public: // Abstract methods |
|
44 /** |
|
45 * Called by a CFCConnectionContainer |
|
46 * @param aError KErrNone if connection succesfully, otherwise |
|
47 * one of the system-wide error codes. |
|
48 */ |
|
49 virtual void ConnectionStarted( TInt aError ) = 0; |
|
50 }; |
|
51 |
|
52 #endif // __MFCCONNECTIONNOTIFIER_H__ |