epoc32/include/app/calinterimapipanic.h
author William Roberts <williamr@symbian.org>
Wed, 31 Mar 2010 12:27:01 +0100
branchSymbian2
changeset 3 e1b950c65cb4
parent 2 epoc32/include/calinterimapipanic.h@2fe1408b6811
child 4 837f303aceeb
permissions -rw-r--r--
Attempt to represent the S^2->S^3 header reorganisation as a series of "hg rename" operations
williamr@2
     1
// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
williamr@2
     2
// All rights reserved.
williamr@2
     3
// This component and the accompanying materials are made available
williamr@2
     4
// under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
williamr@2
     5
// which accompanies this distribution, and is available
williamr@2
     6
// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
williamr@2
     7
//
williamr@2
     8
// Initial Contributors:
williamr@2
     9
// Nokia Corporation - initial contribution.
williamr@2
    10
//
williamr@2
    11
// Contributors:
williamr@2
    12
//
williamr@2
    13
// Description:
williamr@2
    14
//
williamr@2
    15
williamr@2
    16
/**
williamr@2
    17
 @file
williamr@2
    18
 @publishedAll
williamr@2
    19
 @released
williamr@2
    20
*/
williamr@2
    21
williamr@2
    22
#ifndef __CALINTERIMAPIPANIC_H__
williamr@2
    23
#define __CALINTERIMAPIPANIC_H__
williamr@2
    24
williamr@2
    25
 /**
williamr@2
    26
Panics raised from CallinterimAPI
williamr@2
    27
 */
williamr@2
    28
enum TCalInterimApiPanicCode
williamr@2
    29
	{
williamr@2
    30
williamr@2
    31
	/**
williamr@2
    32
	Trying to create a CCalCategory object and a wrong type is passed.
williamr@2
    33
	*/
williamr@2
    34
	EInvalidCategoryParameter		= 0,
williamr@2
    35
williamr@2
    36
	/**
williamr@2
    37
	Attempt to pass wrong type of TChangeEntryType.
williamr@2
    38
	*/
williamr@2
    39
	EInvalidChangeEntryType			= 1,
williamr@2
    40
williamr@2
    41
	/**
williamr@2
    42
	Trying to fetch an undefined TStatus/TCalStatus of an Entry.
williamr@2
    43
	*/
williamr@2
    44
	EInvalidEntryStatus				= 2,
williamr@2
    45
williamr@2
    46
	/**
williamr@2
    47
	The TType of an Entry dosen't match the standard types
williamr@2
    48
	*/
williamr@2
    49
	EInvalidEntryType				= 3,
williamr@2
    50
williamr@2
    51
	/**
williamr@2
    52
	Atttempt to create an object using NULL object of type CCalEntry.
williamr@2
    53
	*/
williamr@2
    54
	EInstanceCreatedFromNullEntry	= 4,
williamr@2
    55
williamr@2
    56
	/**
williamr@2
    57
	Passed invalid Recurrence Range.
williamr@2
    58
	*/
williamr@2
    59
	EInvalidRecurrenceRangeParameter= 5,
williamr@2
    60
williamr@2
    61
	/**
williamr@2
    62
	Attempt to pass a NULL object of type CCalInstance.
williamr@2
    63
	*/
williamr@2
    64
	ENullInstanceParameter			= 6,
williamr@2
    65
williamr@2
    66
	/**
williamr@2
    67
	Wrong CCalEntry TType passed to API
williamr@2
    68
	*/
williamr@2
    69
	EInvalidEntryTypeParameter		= 7,
williamr@2
    70
williamr@2
    71
	/**
williamr@2
    72
	Attempt to create an invalid repeat rule.
williamr@2
    73
	*/
williamr@2
    74
	ERepeatRuleBitFailure			= 8,
williamr@2
    75
williamr@2
    76
	/**
williamr@2
    77
	Attempt to pass incorrect TCalRRule TType.
williamr@2
    78
	*/
williamr@2
    79
	EInvalidRepeatRuleType			= 9,
williamr@2
    80
		
williamr@2
    81
	/**
williamr@2
    82
    Trying to set a repeat rule while one has already been set.
williamr@2
    83
	*/
williamr@2
    84
	ERepeatRuleTypeAlreadySet		= 10,
williamr@2
    85
williamr@2
    86
	/**
williamr@2
    87
	Raised by the Class CCalSession's destructor if all the opened references
williamr@2
    88
	have not been closed before destruction of CCalSession object.
williamr@2
    89
	*/
williamr@2
    90
	ESessionHasOpenReferences		= 11,
williamr@2
    91
williamr@2
    92
	/**
williamr@2
    93
	The type of CCalAttachment is unknown.
williamr@2
    94
	*/
williamr@2
    95
	EInvalidAttachmentType			= 12,
williamr@2
    96
	
williamr@2
    97
	/**
williamr@2
    98
	The instance iterator index is corrupt.
williamr@2
    99
	*/
williamr@2
   100
	EInstanceIteratorIndexCorrupt	= 13
williamr@2
   101
	
williamr@2
   102
	};
williamr@2
   103
williamr@2
   104
#endif