equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2003 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: This interface defines the call back methods used by VAS DB |
|
15 * when replying to an asynchronous DeleteContext() request. |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 #ifndef MNSSVASDATABASECLIENT_H |
|
21 #define MNSSVASDATABASECLIENT_H |
|
22 |
|
23 #include <e32std.h> |
|
24 #include "nssvasccontext.h" |
|
25 #include "nssvasctag.h" |
|
26 #include "nssvasctagreference.h" |
|
27 |
|
28 |
|
29 // CLASS DECLARATIONS |
|
30 /** |
|
31 * MNssVASDatabaseClient defines the call back methods from the VAS DB |
|
32 * @lib NssVASApi.lib |
|
33 * @since 2.0 |
|
34 */ |
|
35 class MNssVASDatabaseClient |
|
36 { |
|
37 public: |
|
38 |
|
39 enum TNssVASDBClientReturnCode |
|
40 { |
|
41 EVASDBSuccess, |
|
42 EVASDBItemNotFound, |
|
43 EVASDBNoMemory, |
|
44 EVASDBDiskFull, |
|
45 EVASDBFailure |
|
46 }; |
|
47 |
|
48 /** |
|
49 * Callback from VAS DB |
|
50 * @param aEvent |
|
51 * @return None |
|
52 */ |
|
53 virtual void VASDatabaseComplete( CArrayPtrFlat<CNssContext>* aContextList, |
|
54 CArrayPtrFlat<CNssTag>* aTagList, |
|
55 CArrayPtrFlat<CNssTagReference>* aTagRefList, |
|
56 TNssVASDBClientReturnCode aCode ) = 0; |
|
57 |
|
58 }; |
|
59 |
|
60 #endif |