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: Panic codes for Storage |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef TCASTORAGEPANICS_H |
|
20 #define TCASTORAGEPANICS_H |
|
21 |
|
22 // CONSTANTS |
|
23 _LIT( KChatStoragePanicString, "WV Storage" ); |
|
24 |
|
25 // DATA TYPES |
|
26 enum TCAStoragePanics |
|
27 { |
|
28 ENoSuitableIdentification, // for some reason contact identification is NULL |
|
29 EObserverIsNull, // Storage manager panics if given observer is NULL |
|
30 EStreamLengthIsZero, // if read stream length is zero during internalizing |
|
31 ENoSuitableUserId, // for some reason contact userID is NULL |
|
32 ESortingCorupted, // Sorting of the contact has failed |
|
33 EContactsArrayOutOfSync // Two arrays of the contact list are out of synchronization |
|
34 }; |
|
35 |
|
36 // FUNCTION PROTOTYPES |
|
37 |
|
38 // ---------------------------------------------------- |
|
39 // Panic |
|
40 // Panic handler |
|
41 // ---------------------------------------------------- |
|
42 // |
|
43 GLDEF_C void Panic( TCAStoragePanics aPanic ); |
|
44 |
|
45 #endif // TCASTORAGEPANICS_H |