epoc32/include/app/calinterimapipanic.h
author William Roberts <williamr@symbian.org>
Wed, 31 Mar 2010 12:33:34 +0100
branchSymbian3
changeset 4 837f303aceeb
parent 3 e1b950c65cb4
permissions -rw-r--r--
Current Symbian^3 public API header files (from PDK 3.0.h)
This is the epoc32/include tree with the "platform" subtrees removed, and
all but a selected few mbg and rsg files removed.
     1 // Copyright (c) 2005-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 /**
    17  @file
    18  @publishedAll
    19  @released
    20 */
    21 
    22 #ifndef __CALINTERIMAPIPANIC_H__
    23 #define __CALINTERIMAPIPANIC_H__
    24 
    25  /**
    26 Panics raised from CallinterimAPI
    27  */
    28 enum TCalInterimApiPanicCode
    29 	{
    30 
    31 	/**
    32 	Trying to create a CCalCategory object and a wrong type is passed.
    33 	*/
    34 	EInvalidCategoryParameter		= 0,
    35 
    36 	/**
    37 	Attempt to pass wrong type of TChangeEntryType.
    38 	*/
    39 	EInvalidChangeEntryType			= 1,
    40 
    41 	/**
    42 	Trying to fetch an undefined TStatus/TCalStatus of an Entry.
    43 	*/
    44 	EInvalidEntryStatus				= 2,
    45 
    46 	/**
    47 	The TType of an Entry dosen't match the standard types
    48 	*/
    49 	EInvalidEntryType				= 3,
    50 
    51 	/**
    52 	Atttempt to create an object using NULL object of type CCalEntry.
    53 	*/
    54 	EInstanceCreatedFromNullEntry	= 4,
    55 
    56 	/**
    57 	Passed invalid Recurrence Range.
    58 	*/
    59 	EInvalidRecurrenceRangeParameter= 5,
    60 
    61 	/**
    62 	Attempt to pass a NULL object of type CCalInstance.
    63 	*/
    64 	ENullInstanceParameter			= 6,
    65 
    66 	/**
    67 	Wrong CCalEntry TType passed to API
    68 	*/
    69 	EInvalidEntryTypeParameter		= 7,
    70 
    71 	/**
    72 	Attempt to create an invalid repeat rule.
    73 	*/
    74 	ERepeatRuleBitFailure			= 8,
    75 
    76 	/**
    77 	Attempt to pass incorrect TCalRRule TType.
    78 	*/
    79 	EInvalidRepeatRuleType			= 9,
    80 		
    81 	/**
    82     Trying to set a repeat rule while one has already been set.
    83 	*/
    84 	ERepeatRuleTypeAlreadySet		= 10,
    85 
    86 	/**
    87 	Raised by the Class CCalSession's destructor if all the opened references
    88 	have not been closed before destruction of CCalSession object.
    89 	*/
    90 	ESessionHasOpenReferences		= 11,
    91 
    92 	/**
    93 	The type of CCalAttachment is unknown.
    94 	*/
    95 	EInvalidAttachmentType			= 12,
    96 	
    97 	/**
    98 	The instance iterator index is corrupt.
    99 	*/
   100 	EInstanceIteratorIndexCorrupt	= 13,
   101 	
   102 	/**
   103 	Trying to pass an array of CCalSession whose elements have different server handles when creating CCalInstanceView.
   104 	*/
   105 	EInvalidServerHandle			= 14,
   106 	
   107 	/**
   108 	Instance given does not say which file it comes from.
   109 	*/
   110 	EAmbiguousInstance				= 15,
   111 	
   112 	/**
   113     A property on a CCalCalendarInfo has a NULL stream Id.
   114     */
   115     ECalendarInfoNullStreamId       = 16
   116 	};
   117 
   118 #endif