1 /* |
|
2 * Copyright (c) 2008 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: Contact list container implementation |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef TVIMPSTSTORAGEPANICS_H |
|
20 #define TVIMPSTSTORAGEPANICS_H |
|
21 |
|
22 // CONSTANTS |
|
23 _LIT( KPanicCategory, "vimpststorage" ); |
|
24 _LIT( KViewUnInitialised, "vimpststorage - View Uninitialised" ); |
|
25 |
|
26 |
|
27 #define KLIBNOTINITIALIZED KErrBadLibraryEntryPoint |
|
28 #define KVIEWNOTREADY KErrNotReady |
|
29 |
|
30 // DATA TYPES |
|
31 enum TVIMPSTStoragePanics |
|
32 { |
|
33 ENoSuitableIdentification, // for some reason contact identification is NULL |
|
34 EObserverIsNull, // Storage manager panics if given observer is NULL |
|
35 EStreamLengthIsZero, // if read stream length is zero during internalizing |
|
36 ENoSuitableUserId, // for some reason contact userID is NULL |
|
37 ESortingCorupted, // Sorting of the contact has failed |
|
38 EContactsArrayOutOfSync // Two arrays of the contact list are out of synchronization |
|
39 }; |
|
40 |
|
41 // FUNCTION PROTOTYPES |
|
42 |
|
43 // ---------------------------------------------------- |
|
44 // Panic |
|
45 // Panic handler |
|
46 // ---------------------------------------------------- |
|
47 // |
|
48 GLDEF_C void Panic( TVIMPSTStoragePanics aPanic ); |
|
49 |
|
50 #endif // TVIMPSTSTORAGEPANICS_H |
|