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: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 #ifndef M_SHAREDSECRETOBSERVER_H |
|
22 #define M_SHAREDSECRETOBSERVER_H |
|
23 |
|
24 // INCLUDES |
|
25 #include <e32def.h> |
|
26 |
|
27 // FORWARD DECLARATIONS |
|
28 |
|
29 // CLASS DECLARATION |
|
30 |
|
31 /** |
|
32 * Defines the callback functions from CSTUNSharedSecret to the object using |
|
33 * it. |
|
34 */ |
|
35 class MSharedSecretObserver |
|
36 { |
|
37 public: |
|
38 |
|
39 /** |
|
40 * Destructor |
|
41 */ |
|
42 virtual ~MSharedSecretObserver() {} |
|
43 |
|
44 /** |
|
45 * A shared secret has been successfully obtained from a STUN server. |
|
46 */ |
|
47 virtual void SharedSecretObtainedL() = 0; |
|
48 |
|
49 /** |
|
50 * Failure experienced while trying to get a shared secret. |
|
51 * |
|
52 * @param aError Reason for the failure. |
|
53 */ |
|
54 virtual void SharedSecretErrorL( TInt aError ) = 0; |
|
55 }; |
|
56 |
|
57 #endif // M_SHAREDSECRETOBSERVER_H |