pimprotocols/pbap/inc/pbappanic.h
changeset 0 e686773b3f54
equal deleted inserted replaced
-1:000000000000 0:e686773b3f54
       
     1 // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 #ifndef PBAPPANIC_H
       
    17 #define PBAPPANIC_H
       
    18 _LIT(KPbapServerPanic, "PBAP Server");
       
    19 
       
    20 enum TPbapServerPanicCode
       
    21 	{
       
    22 	EPbapServerPanicBadDescriptor,
       
    23 	EPbapServerPanicIllegalFunction,
       
    24 	EPbapServerPanicUnexpectedError,
       
    25 	EPbapServerPanicSDPRecordExists,
       
    26 	EPbapServerPanicInvalidViewSortOrder,
       
    27 	EPbapServerPanicNotReadyForExport,
       
    28 	EPbapServerPanicInvalidTargetHeader,
       
    29 	EPbapServerPanicExportInProgress,
       
    30 	EPbapServerPanicNoCurrentFolder,
       
    31 	EPbapServerPanicUnrecoverableObexError,
       
    32 	EPbapServerPanicNameViewExists,
       
    33 	EPbapServerPanicPhoneticViewExists,
       
    34 	EPbapServerPanicInvalidViewSearchState,
       
    35 	EPbapServerPanicInvalidFieldSearchState,
       
    36 	EPbapServerPanicIndexOutOfBoundry,
       
    37 	EPbapServerPanicOwnCardNotFound,
       
    38 	EPbapServerPanicNullObserver,
       
    39 	
       
    40 	EVirtualFolderAlreadyInPlace,
       
    41 	EVirtualFolderSubtreeAlreadyExists,
       
    42 	EVirtualFolderExportInProgress,
       
    43 	EVirtualFolderSearchInProgress,
       
    44 	EVirtualFolderCachedIndexes,
       
    45 	EVirtualFolderNullAppHeader,
       
    46 	EVirtualFolderAppHeaderExists,
       
    47 	EVirtualFolderIncompleteViews,
       
    48 	EVirtualFolderNotReadyToExport,
       
    49 	EVirtualFolderExportAlreadyPending,
       
    50 	EVirtualFolderChExportAlreadyExists,
       
    51 	EVirtualFolderPbExportAlreadyExists,
       
    52 	
       
    53 	EPbapChViewInconsistency,
       
    54 	EPbapChCountExporterFetchingFails
       
    55 	};
       
    56 
       
    57 
       
    58 void Panic(TPbapServerPanicCode aPanic);
       
    59 
       
    60 #endif // PBAPPANIC_H