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: MNssDeleteTagClient provides the public callback interfaces for |
|
15 * clients that want to delete tags from the VAS Db. The client must |
|
16 * inherit and override the DeleteTagCompleted() and DeleteTagFailed() |
|
17 * methods to handle VAS Db responses for deleting tag(s). |
|
18 * |
|
19 */ |
|
20 |
|
21 |
|
22 #ifndef MNSSDELETETAGCLIENT_H |
|
23 #define MNSSDELETETAGCLIENT_H |
|
24 #include <e32std.h> |
|
25 |
|
26 // CLASS DECLARATIONS |
|
27 /** |
|
28 * MNssDeleteTagClient defines the call back methods used by VAS DB |
|
29 * in response to an asynchronous DeleteTag() request. |
|
30 * @lib NssVASApi.lib |
|
31 * @since 2.0 |
|
32 */ |
|
33 class MNssDeleteTagClient |
|
34 { |
|
35 public: |
|
36 |
|
37 /*enum TNssDeleteTagClientFailCode |
|
38 { |
|
39 EVASDBItemNotFound = 1, |
|
40 EVASDBNoMemory, |
|
41 EVASDBDiskFull, |
|
42 EVASDBFailure, |
|
43 EVASSRSFailure |
|
44 };*/ |
|
45 /** |
|
46 * Callback to indicate a tag was deleted successfully. |
|
47 * @since 2.0 |
|
48 * @param aErrorCode KErrNone if deletetion was successfull |
|
49 * @return |
|
50 */ |
|
51 virtual void DeleteTagCompleted( TInt aErrorCode )=0; |
|
52 /** |
|
53 * Callback to indicate deleting a tag failed. |
|
54 * @since 2.0 |
|
55 * @param aFailCode - The reason the deletion failed |
|
56 * @return |
|
57 */ |
|
58 //virtual void DeleteTagFailed(TNssDeleteTagClientFailCode aFailCode)=0; |
|
59 |
|
60 }; |
|
61 |
|
62 #endif |
|