equal
deleted
inserted
replaced
1 /* |
|
2 * Copyright (c) 2002 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: MNssDeleteContextClient provides the public callback interfaces for |
|
15 * clients that want to delete contexts from the VAS Db. The client |
|
16 * must inherit and override the DeleteContextCompleted() and |
|
17 * DeleteContextFailed() methods to handle VAS Db responses for |
|
18 * deleting context(s). |
|
19 * |
|
20 */ |
|
21 |
|
22 |
|
23 #ifndef MNSSDELETECONTEXTCLIENT_H |
|
24 #define MNSSDELETECONTEXTCLIENT_H |
|
25 |
|
26 #include <e32std.h> |
|
27 |
|
28 |
|
29 // CLASS DECLARATIONS |
|
30 /** |
|
31 * MNssDeleteContextClient defines the call back methods used by VAS DB |
|
32 * when replying to an asynchronous DeleteContext() request. |
|
33 * @lib NssVASApi.lib |
|
34 * @since 2.0 |
|
35 */ |
|
36 class MNssDeleteContextClient |
|
37 { |
|
38 public: |
|
39 |
|
40 /*enum TNssDeleteContextClientFailCode |
|
41 { |
|
42 EVASDBItemNotFound = 1, |
|
43 EVASDBNoMemory, |
|
44 EVASDBDiskFull, |
|
45 EVASDBFailure, |
|
46 EVASSRSFailure |
|
47 };*/ |
|
48 |
|
49 /** |
|
50 * Callback to indicate a context was deleted successfully. |
|
51 * @since 2.0 |
|
52 * @param |
|
53 * @return |
|
54 */ |
|
55 virtual void DeleteContextCompleted( TInt aErrorCode ) = 0; |
|
56 |
|
57 /** |
|
58 * Callback to indicate deleting a context failed. |
|
59 * @since 2.0 |
|
60 * @param aFailCode - The reason the deletion failed |
|
61 * @return None |
|
62 */ |
|
63 //virtual void DeleteContextFailed(TNssDeleteContextClientFailCode aFailCode)=0; |
|
64 |
|
65 |
|
66 |
|
67 |
|
68 |
|
69 |
|
70 |
|
71 }; |
|
72 |
|
73 #endif |
|