epoc32/include/frmconst.h
author William Roberts <williamr@symbian.org>
Wed, 31 Mar 2010 12:33:34 +0100
branchSymbian3
changeset 4 837f303aceeb
parent 2 2fe1408b6811
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.
williamr@4
     1
/*
williamr@4
     2
* Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
williamr@4
     3
* All rights reserved.
williamr@4
     4
* This component and the accompanying materials are made available
williamr@4
     5
* under the terms of "Eclipse Public License v1.0"
williamr@4
     6
* which accompanies this distribution, and is available
williamr@4
     7
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
williamr@4
     8
*
williamr@4
     9
* Initial Contributors:
williamr@4
    10
* Nokia Corporation - initial contribution.
williamr@4
    11
*
williamr@4
    12
* Contributors:
williamr@4
    13
*
williamr@4
    14
* Description: 
williamr@4
    15
* FOR INFORMATION ONLY (CONTAINS PANIC NUMBERS, ETC.) - NOT PART OF INTERFACE
williamr@4
    16
*
williamr@4
    17
*/
williamr@4
    18
williamr@2
    19
williamr@2
    20
#ifndef __FRMCONST_H__
williamr@2
    21
#define __FRMCONST_H__
williamr@2
    22
williamr@2
    23
#include <w32std.h>
williamr@2
    24
williamr@2
    25
/**
williamr@2
    26
@publishedAll
williamr@2
    27
@released
williamr@2
    28
*/
williamr@2
    29
enum TFormPanic
williamr@2
    30
	{
williamr@2
    31
	/** Not used 
williamr@2
    32
	*/
williamr@2
    33
	EFDummy = 0,				
williamr@2
    34
williamr@2
    35
	// Used in ASSERT_ALWAYS
williamr@2
    36
williamr@2
    37
	// Parameter errors
williamr@2
    38
	/** Document handle NULL has been passed in
williamr@2
    39
	*/
williamr@2
    40
	EFInvalidDocument = 200,	
williamr@2
    41
	/** A NULL layout handle has been passed in 
williamr@2
    42
	*/
williamr@2
    43
	EFInvalidLayout,			
williamr@2
    44
	/** The character edit type was unknown or incompatible with the format changed value 
williamr@2
    45
	*/
williamr@2
    46
	EFBadCharacterEditType,		
williamr@2
    47
	/** The horizontal scroll jump value has been set outside the allowable range (0,9999) 
williamr@2
    48
	*/
williamr@2
    49
	EFInvalidJumpValue,			
williamr@2
    50
williamr@2
    51
	// Document
williamr@2
    52
	/** No or negative document position specified or greater than current document length 
williamr@2
    53
	*/
williamr@2
    54
	EFInvalidDocPos = 300,		
williamr@2
    55
williamr@2
    56
	// Drawing
williamr@2
    57
	/** The function CTextView::SetLineCursorBitmap has not been called even though a line cursor is being used 
williamr@2
    58
	*/
williamr@2
    59
	EFLineCursorBitmapNotSet = 400,	
williamr@2
    60
williamr@2
    61
	// Pagination
williamr@2
    62
	/** No document to paginate 
williamr@2
    63
	*/
williamr@2
    64
	EFDocumentToPaginateNotSet = 500, 
williamr@2
    65
	/** Appending zero or negative characters per page to page list 
williamr@2
    66
	*/
williamr@2
    67
	EFInvalidNumberCharsOnPage,	
williamr@2
    68
	/** Page list should not be empty at this point 
williamr@2
    69
	*/
williamr@2
    70
	EFPageListEmpty,			
williamr@2
    71
williamr@2
    72
	// Printing
williamr@2
    73
	/** The array containing the number of characters per page has not been set or is defective 
williamr@2
    74
	*/
williamr@2
    75
	EFInvalidPageList = 600,	
williamr@2
    76
	/** A page requested that is outside the page list given 
williamr@2
    77
	*/
williamr@2
    78
	EFInvalidPageNumber,		 
williamr@2
    79
williamr@2
    80
	// Used only in ASSERT_DEBUG
williamr@2
    81
williamr@2
    82
	// Errors in internal format information
williamr@2
    83
	/** Format doesn't fill band but is not to end of document 
williamr@2
    84
	*/
williamr@2
    85
	EFNotEnoughFormat = 700,	
williamr@2
    86
	/** A lines says it has height zero 
williamr@2
    87
	*/
williamr@2
    88
	EFZeroHeightLine,			
williamr@2
    89
	/** The selected range flag is on but the selection has zero length 
williamr@2
    90
	*/
williamr@2
    91
	EFSelectedRangeZeroLen,		
williamr@2
    92
	/** The cursor is a document position that is outside the formatted range 
williamr@2
    93
	*/
williamr@2
    94
	EFCursorNotInCurrentFormat,	
williamr@2
    95
	/** GetLineRect pixel that was asked for 
williamr@2
    96
	*/
williamr@2
    97
	EFPixelNotInFormattedLine,	
williamr@2
    98
	/** The complete scroll should have been possible 
williamr@2
    99
	*/
williamr@2
   100
 	EFScrollCurtailed,			
williamr@2
   101
williamr@2
   102
	// Logic error during format process
williamr@2
   103
	/** Should not be calling HandleCharEdit when there is a selection 
williamr@2
   104
	*/
williamr@2
   105
	EFSelectionCannotCharEdit = 800,	
williamr@2
   106
	/** This function should not be called when the format is out of date 
williamr@2
   107
	*/
williamr@2
   108
	EFFormatOutOfDate,			
williamr@2
   109
	/** Background formatting should not be going on 
williamr@2
   110
	*/
williamr@2
   111
	EFBackgroundFormatting,		
williamr@2
   112
williamr@2
   113
	// Scrolling errors
williamr@2
   114
	/** The request for a scroll returned zero as the ammount to scroll by 
williamr@2
   115
	*/
williamr@2
   116
	EFScrollByZero1 = 900,		
williamr@2
   117
	/** A routine that does the scrolling is called with a value of zero or one having wrong sign 
williamr@2
   118
	*/
williamr@2
   119
	EFScrollByZero2,			
williamr@2
   120
	/** Algorithmic or assumption error in the scroll routine 
williamr@2
   121
	*/
williamr@2
   122
	EFScrollError,				
williamr@2
   123
	/** Error when scrolling text down 
williamr@2
   124
	*/
williamr@2
   125
	EFScrollDownError,			
williamr@2
   126
	/** Error when scrolling text up 
williamr@2
   127
	*/
williamr@2
   128
	EFScrollUpError,			
williamr@2
   129
	/** A scrolling routine was expecting a certain type of scroll and got a different one 
williamr@2
   130
	*/
williamr@2
   131
	EFInvalidScrollingType,		
williamr@2
   132
williamr@2
   133
	// Out of memory
williamr@2
   134
	/** Cannot do this when in no memory mode 
williamr@2
   135
	*/
williamr@2
   136
	EFNoMemory = 1000,			
williamr@2
   137
	/** Trying to recover from no_memory when no no_memory condition has occured 
williamr@2
   138
	*/
williamr@2
   139
	EFRecoverNoMemory,			
williamr@2
   140
williamr@2
   141
	// Cursor
williamr@2
   142
	/** The cursor has been moved to a position off the screen 
williamr@2
   143
	*/
williamr@2
   144
	EFCursorOffDisplay = 1100,	
williamr@2
   145
	/** Attempt to access the cursor navigation policy object when its pointer is 0 
williamr@2
   146
	*/
williamr@2
   147
	EFNoCursorPositionPolicy,	
williamr@2
   148
	/** Invalid positioning hint value supplied to API 
williamr@2
   149
	*/
williamr@2
   150
	EFPosHintInvalid,			
williamr@2
   151
	/** Curosr APIs found formatting not available for position supplied. 
williamr@2
   152
	*/
williamr@2
   153
	EFPositionNotFormatted,		
williamr@2
   154
	/** The document position was out of range for the current source document. 
williamr@2
   155
	*/
williamr@2
   156
	EFPositionInvalid,			
williamr@2
   157
williamr@2
   158
	// Drawing
williamr@2
   159
	/** Trying to toggle the highlight on part of the screen when the selection is not visible 
williamr@2
   160
	*/
williamr@2
   161
	EFSelectionNotVisible = 1200, 
williamr@2
   162
	/** Clearing bottom partial line when not needed
williamr@2
   163
	*/
williamr@2
   164
 	EFPartialLineClearError,    
williamr@2
   165
	/** The routine that does the display has been passed a null pointer to a graphics context 
williamr@2
   166
	*/
williamr@2
   167
	EFGcNotSet,					
williamr@2
   168
williamr@2
   169
	//Internal Coding Errors	   
williamr@2
   170
	/** SetViewL has put the text at the wrong vertical height 
williamr@2
   171
	*/
williamr@2
   172
	EFViewNotPositionedCorrectly = 1300, 
williamr@2
   173
	/** The function call should not leave in this situation 
williamr@2
   174
	*/
williamr@2
   175
	EFShouldNotLeave,			
williamr@2
   176
	/** Trying to move cursor using wrong function call 
williamr@2
   177
	*/
williamr@2
   178
	EFIncorrectCursorMovement,	
williamr@2
   179
	/** Should be current picture frame 
williamr@2
   180
	*/
williamr@2
   181
	EFNoPictureFrame,			
williamr@2
   182
	/** A value of a system constant has changed to a value that has broken this code 
williamr@2
   183
	*/
williamr@2
   184
	EFSystemConstantsChanged	
williamr@2
   185
	};
williamr@2
   186
williamr@4
   187
#ifndef SYMBIAN_ENABLE_SPLIT_HEADERS
williamr@4
   188
#include <frmconst_internal.h>
williamr@4
   189
#include <frmconst_partner.h>
williamr@4
   190
#endif
williamr@2
   191
williamr@2
   192
#endif // __FRMCONST_H__