epoc32/include/mw/aknedsts.h
author William Roberts <williamr@symbian.org>
Tue, 16 Mar 2010 16:12:26 +0000
branchSymbian2
changeset 2 2fe1408b6811
parent 1 666f914201fb
child 4 837f303aceeb
permissions -rw-r--r--
Final list of Symbian^2 public API header files
williamr@2
     1
/*
williamr@2
     2
* Copyright (c) 2002-2005 Nokia Corporation and/or its subsidiary(-ies).
williamr@2
     3
* All rights reserved.
williamr@2
     4
* This component and the accompanying materials are made available
williamr@2
     5
* 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
     6
* which accompanies this distribution, and is available
williamr@2
     7
* at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
williamr@2
     8
*
williamr@2
     9
* Initial Contributors:
williamr@2
    10
* Nokia Corporation - initial contribution.
williamr@2
    11
*
williamr@2
    12
* Contributors:
williamr@2
    13
*
williamr@2
    14
* Description:  Data structures to store current state of case
williamr@2
    15
*  		    	 modes.
williamr@2
    16
*
williamr@2
    17
*/
williamr@2
    18
williamr@2
    19
williamr@2
    20
// INCLUDES 
williamr@2
    21
#if !defined(__EIKEDSTS_H__)
williamr@2
    22
#define __EIKEDSTS_H__
williamr@2
    23
williamr@2
    24
#if !defined(__FEPBASE_H__)
williamr@2
    25
#include <FEPBASE.H>
williamr@2
    26
#endif
williamr@2
    27
williamr@2
    28
#if !defined(__AKNEDSTSOBS_H__)
williamr@2
    29
#include <AKNEDSTSOBS.H>
williamr@2
    30
#endif
williamr@2
    31
williamr@2
    32
#if !defined(__UIKON_HRH__)
williamr@2
    33
#include <UIKON.HRH>
williamr@2
    34
#endif
williamr@2
    35
williamr@2
    36
#include <Eikon.hrh>
williamr@2
    37
williamr@2
    38
#include <frmtlay.h>
williamr@2
    39
williamr@2
    40
// CLASS DECLARATION
williamr@2
    41
williamr@2
    42
/**
williamr@2
    43
*  Data structure to store current state of case modes.
williamr@2
    44
*  
williamr@2
    45
*  Data structure to hold the current state of all case state
williamr@2
    46
*  information currently held by the fep and applicable to an
williamr@2
    47
*  editor.
williamr@2
    48
*
williamr@2
    49
*  @since Series 60 0.9
williamr@2
    50
*/
williamr@2
    51
class TAknEditorCaseState
williamr@2
    52
	{
williamr@2
    53
public:
williamr@2
    54
	/**
williamr@2
    55
	* Flags that indicate states of the case.
williamr@2
    56
	*/
williamr@2
    57
	enum TCaseStateFlags
williamr@2
    58
		{
williamr@2
    59
		/** Has text been entered with current case. */
williamr@2
    60
		EFlagTextEnteredInCurrentCase	=0x00000001,    
williamr@2
    61
		
williamr@2
    62
		/** Initialisation is required. */
williamr@2
    63
		EFlagInitialiseRequired			=0x00000002,    
williamr@2
    64
		
williamr@2
    65
		/** Supress case's automatic update. */
williamr@2
    66
		EFlagSupressAutoUpdateCase		=0x00000004     
williamr@2
    67
		
williamr@2
    68
		};
williamr@2
    69
public:
williamr@2
    70
	        
williamr@2
    71
    /**
williamr@2
    72
    * C++ default constructor.
williamr@2
    73
    */
williamr@2
    74
	IMPORT_C TAknEditorCaseState();
williamr@2
    75
	        
williamr@2
    76
    /**
williamr@2
    77
    * Sets current case.
williamr@2
    78
    * @param aCase A new case.
williamr@2
    79
    */
williamr@2
    80
	IMPORT_C void SetCurrentCase(TUint aCase);
williamr@2
    81
	        
williamr@2
    82
    /**
williamr@2
    83
    * Sets previous case.
williamr@2
    84
    * @param aCase a Previously used case.
williamr@2
    85
    */
williamr@2
    86
	IMPORT_C void SetPreviousCase(TUint aCase);
williamr@2
    87
	        
williamr@2
    88
    /**
williamr@2
    89
    * Sets previous case used to enter text.
williamr@2
    90
    * @param aCase Previously used case to enter text.
williamr@2
    91
    */
williamr@2
    92
	IMPORT_C void SetPreviousCaseUsedToEnterText(TUint aCase);
williamr@2
    93
	
williamr@2
    94
		        
williamr@2
    95
    /**
williamr@2
    96
    * Gets current case.
williamr@2
    97
    * @return The current case.
williamr@2
    98
    */
williamr@2
    99
	IMPORT_C TUint CurrentCase() const;
williamr@2
   100
		        
williamr@2
   101
    /**
williamr@2
   102
    * Gets previous case.
williamr@2
   103
    * @return The previous case.
williamr@2
   104
    */
williamr@2
   105
	IMPORT_C TUint PreviousCase() const;
williamr@2
   106
		        
williamr@2
   107
    /**
williamr@2
   108
    * Gets previous case used to enter text.
williamr@2
   109
    * @return The previous case used to enter text.
williamr@2
   110
    */
williamr@2
   111
	IMPORT_C TUint PreviousCaseUsedToEnterText() const;
williamr@2
   112
williamr@2
   113
	// flags
williamr@2
   114
	        
williamr@2
   115
    /**
williamr@2
   116
    * Sets a flag.
williamr@2
   117
    * @param aFlag a Flag to be set.
williamr@2
   118
    */
williamr@2
   119
	IMPORT_C void SetFlag(TCaseStateFlags aFlag);
williamr@2
   120
	        
williamr@2
   121
    /**
williamr@2
   122
    * Clear the given flag. 
williamr@2
   123
    * @param aFlag a Flag to be cleared.
williamr@2
   124
    */
williamr@2
   125
	IMPORT_C void ClearFlag(TCaseStateFlags aFlag);
williamr@2
   126
	        
williamr@2
   127
    /**
williamr@2
   128
    * Tells whether the given flag is set or not.
williamr@2
   129
    * @param aFlag The flag to check.
williamr@2
   130
    * @return @c ETrue if flag is set, @c EFalse if not.
williamr@2
   131
    */
williamr@2
   132
	IMPORT_C TBool IsFlagSet(TCaseStateFlags aFlag) const;
williamr@2
   133
williamr@2
   134
private:
williamr@2
   135
	TUint8 iCurrentCase;
williamr@2
   136
	TUint8 iPreviousCase;
williamr@2
   137
	TUint8 iPreviousCaseUsedToEnterText;
williamr@2
   138
	TUint8 iFlags;
williamr@2
   139
williamr@2
   140
    TInt iSpare;
williamr@2
   141
	};
williamr@2
   142
williamr@2
   143
williamr@2
   144
// FORWARD DECLERATIONS
williamr@2
   145
class MEikCcpuEditor;
williamr@2
   146
class CEikButtonGroupContainer;
williamr@2
   147
class CEikMenuBar;
williamr@2
   148
class MObjectProvider;
williamr@2
   149
class CAknEdwinFormAccessor;
williamr@2
   150
williamr@2
   151
// CLASS DECLARATION
williamr@2
   152
williamr@2
   153
/**
williamr@2
   154
* Stores the (FEP) states of editor controls.
williamr@2
   155
* @since Series 60 0.9
williamr@2
   156
*/
williamr@2
   157
class CAknEdwinState : public MCoeFepAwareTextEditor_Extension1::CState
williamr@2
   158
	{
williamr@2
   159
public:
williamr@2
   160
    /**
williamr@2
   161
    * Control's button array and softkey command id's.
williamr@2
   162
    */
williamr@2
   163
	struct SEditorCbaState
williamr@2
   164
		{
williamr@2
   165
		/** A wrapper around the different button arrays used in both pen,
williamr@2
   166
		 and no-pen devices. */
williamr@2
   167
		CEikButtonGroupContainer* iCurrentCba;
williamr@2
   168
		/** Left softkey command id. */
williamr@2
   169
		TInt iLeftSoftkeyCommandId;
williamr@2
   170
		/** Right softkey command id. */
williamr@2
   171
		TInt iRightSoftkeyCommandId;
williamr@2
   172
		};
williamr@2
   173
public:
williamr@2
   174
    /** 
williamr@2
   175
    * Destructor
williamr@2
   176
    */
williamr@2
   177
	virtual ~CAknEdwinState();
williamr@2
   178
	
williamr@2
   179
	/**
williamr@2
   180
	* C++ constructor.
williamr@2
   181
	* @param aCcpuState Pointer to a control that implements @c MEikCcpuEditor
williamr@2
   182
	* interface.
williamr@2
   183
	* 
williamr@2
   184
	*/
williamr@2
   185
	CAknEdwinState(MEikCcpuEditor* aCcpuState);
williamr@2
   186
	
williamr@2
   187
	/**
williamr@2
   188
	* C++ default constructor.
williamr@2
   189
	*/
williamr@2
   190
	IMPORT_C CAknEdwinState();
williamr@2
   191
	
williamr@2
   192
public:
williamr@2
   193
    /**
williamr@2
   194
    * Sets an observer for this control.
williamr@2
   195
    * @param aObserver Pointer to an observer.
williamr@2
   196
    */
williamr@2
   197
	IMPORT_C void SetObserver(MAknEdStateObserver* aObserver);
williamr@2
   198
williamr@2
   199
    /**
williamr@2
   200
    * From @c MAknEdStateObserver. Sends an state event to control's observer.
williamr@2
   201
    * @param aEventType Event type.
williamr@2
   202
    */
williamr@2
   203
	IMPORT_C void ReportAknEdStateEventL(
williamr@2
   204
		MAknEdStateObserver::EAknEdwinStateEvent aEventType);
williamr@2
   205
williamr@2
   206
public:
williamr@2
   207
	// Accessors
williamr@2
   208
	
williamr@2
   209
    /**
williamr@2
   210
    * Returns control's flags.
williamr@2
   211
    * @return Flags.
williamr@2
   212
    */
williamr@2
   213
	IMPORT_C TInt Flags() const;
williamr@2
   214
williamr@2
   215
    /**
williamr@2
   216
    * Get default input mode for the editor. The input mode is used when 
williamr@2
   217
    * the editor is focused first time. 
williamr@2
   218
    * @return Initial input mode to be used in the editor.
williamr@2
   219
    */
williamr@2
   220
	IMPORT_C TInt DefaultInputMode() const;
williamr@2
   221
williamr@2
   222
    /**
williamr@2
   223
    * Get current input mode for the editor.
williamr@2
   224
    * @return Current input mode used in the editor.
williamr@2
   225
    */
williamr@2
   226
	IMPORT_C TInt CurrentInputMode() const;
williamr@2
   227
williamr@2
   228
    /**
williamr@2
   229
    * Get permitted input modes for the editor.
williamr@2
   230
    * @return Input modes that are allowed in the editor.
williamr@2
   231
    */
williamr@2
   232
	IMPORT_C TInt PermittedInputModes() const;
williamr@2
   233
williamr@2
   234
    /**
williamr@2
   235
    * Get default case for the editor. The case is used when the editor
williamr@2
   236
    * is focused first time. 
williamr@2
   237
    * @return Default character case.
williamr@2
   238
    */
williamr@2
   239
	IMPORT_C TInt DefaultCase() const;
williamr@2
   240
williamr@2
   241
    /**
williamr@2
   242
    * Get current character case for the editor.
williamr@2
   243
    * @return Current character case.
williamr@2
   244
    */
williamr@2
   245
	IMPORT_C TInt CurrentCase() const;
williamr@2
   246
williamr@2
   247
    /**
williamr@2
   248
    * Get permitted cases for the editor.
williamr@2
   249
    * @return Case modes that are permitted in the editor.
williamr@2
   250
    */
williamr@2
   251
	IMPORT_C TInt PermittedCases() const;
williamr@2
   252
williamr@2
   253
    /**
williamr@2
   254
    * T9 language codes are not anymore supported, use @c LocalLanguage() 
williamr@2
   255
    * instead.
williamr@2
   256
    * @return 0
williamr@2
   257
    */
williamr@2
   258
	IMPORT_C TInt DefaultLanguage() const;
williamr@2
   259
williamr@2
   260
    /**
williamr@2
   261
    * Get editor specific special character table resource ID. 
williamr@2
   262
    * @return Special character table dialog resource ID.
williamr@2
   263
    */
williamr@2
   264
	IMPORT_C TInt SpecialCharacterTableResourceId() const;
williamr@2
   265
williamr@2
   266
    /**
williamr@2
   267
    * Get number mode key mapping for '*' and '#' keys. The key mapping is used
williamr@2
   268
    * in editors when numeric input mode is used. Key mapping characters
williamr@2
   269
    * for '*' key are shown on special character table if also text input modes
williamr@2
   270
    * are allowed in the editor but the current input mode is numeric mode.
williamr@2
   271
    * @return Key mapping used in an editor with number input mode.
williamr@2
   272
    */
williamr@2
   273
	IMPORT_C TAknEditorNumericKeymap NumericKeymap() const;
williamr@2
   274
williamr@2
   275
    /**
williamr@2
   276
    * Get the cursor or cursor selection within a document.
williamr@2
   277
    * @return The cursor or cursor selection within a document.
williamr@2
   278
    */
williamr@2
   279
	IMPORT_C TCursorSelection CurrentInlineEditSpan() const;
williamr@2
   280
williamr@2
   281
    /**
williamr@2
   282
    * Get control's CBA state.
williamr@2
   283
    * @return Reference to @c SEditorCbaState struct.
williamr@2
   284
    */
williamr@2
   285
	IMPORT_C SEditorCbaState& CbaState();
williamr@2
   286
williamr@2
   287
    /**
williamr@2
   288
    * Get the control's menu bar.
williamr@2
   289
    * @return A pointer to the control's menu bar.
williamr@2
   290
    */
williamr@2
   291
	IMPORT_C CEikMenuBar* MenuBar() const;
williamr@2
   292
williamr@2
   293
    /**
williamr@2
   294
    * Get an interface that provides ccpu (cut, copy, paste and undo) 
williamr@2
   295
    * functionalities.
williamr@2
   296
    * @return A pointer to a ccpu interface for this control.
williamr@2
   297
    */
williamr@2
   298
	IMPORT_C MEikCcpuEditor* CcpuState() const;
williamr@2
   299
williamr@2
   300
    /**
williamr@2
   301
    * Get control's object provider.
williamr@2
   302
    * @return A pointer to control's object provider.
williamr@2
   303
    */
williamr@2
   304
	IMPORT_C MObjectProvider* ObjectProvider() const;
williamr@2
   305
williamr@2
   306
    /**
williamr@2
   307
    * Get the control's input language.
williamr@2
   308
    * @return Language identity.
williamr@2
   309
    */
williamr@2
   310
	IMPORT_C TLanguage LocalLanguage() const;
williamr@2
   311
williamr@2
   312
    /**
williamr@2
   313
    * Accessor for control's form.
williamr@2
   314
    * @since Series 60 2.0
williamr@2
   315
    * @return A pointer to to the form accessor of this control.
williamr@2
   316
    */
williamr@2
   317
	IMPORT_C CAknEdwinFormAccessor* FormAccessor() const;
williamr@2
   318
williamr@2
   319
williamr@2
   320
	// Setters
williamr@2
   321
williamr@2
   322
    /**
williamr@2
   323
    * Set initial editor flags for the editor.
williamr@2
   324
    * @param aFlags Avkon editor flags for the editor.
williamr@2
   325
    */
williamr@2
   326
	IMPORT_C void SetFlags(TInt aFlags);
williamr@2
   327
williamr@2
   328
    /**
williamr@2
   329
    * Set default input mode for the editor. The input mode is used when 
williamr@2
   330
    * the editor is focused first time. 
williamr@2
   331
    * @c EAknEditorTextInputMode is used if the initial input mode is not set 
williamr@2
   332
    * from EDWIN resource DEFAULT_INPUT_MODE or with this API.
williamr@2
   333
    * @param aInputMode Initial input mode to be used in the editor.
williamr@2
   334
    */
williamr@2
   335
	IMPORT_C void SetDefaultInputMode(TInt aInputMode);
williamr@2
   336
williamr@2
   337
    /**
williamr@2
   338
    * Updates editor input mode. FEP is automatically notified of the
williamr@2
   339
    * new input mode in editor state and FEP takes new input mode to use 
williamr@2
   340
    * immediatelly. Current inline editing is reset.
williamr@2
   341
    * This method should not be used for setting initial input mode for the 
williamr@2
   342
    * editor. Use @c SetDefaultInputMode() method instead for setting initial
williamr@2
   343
    * input mode.
williamr@2
   344
    * @param aInputMode New input mode for the editor.
williamr@2
   345
    */
williamr@2
   346
	IMPORT_C void SetCurrentInputMode(TInt aInputMode);
williamr@2
   347
williamr@2
   348
    /**
williamr@2
   349
    * Set permitted input modes for the editor. 
williamr@2
   350
    * All input modes are allowed ( @c EAknEditorAllInputModes ) if the value 
williamr@2
   351
    * is not set from EDWIN resource ALLOWED_INPUT_MODES or with this API.
williamr@2
   352
    * @param aInputModes Input modes that are allowed in the editor.
williamr@2
   353
    */
williamr@2
   354
	IMPORT_C void SetPermittedInputModes(TInt aInputModes);
williamr@2
   355
williamr@2
   356
    /**
williamr@2
   357
    * Set default case for the editor. The case is used when the editor
williamr@2
   358
    * is focused first time. Available case flags from @c uikon.hrh
williamr@2
   359
    * are @c EAknEditorUpperCase, @c EAknEditorLowerCase and 
williamr@2
   360
    * @EAknEditorTextCase. @c EAknEditorTextCase is used if the initial case is
williamr@2
   361
    * not set from EDWIN resource DEFAULT_CASE or with this API.
williamr@2
   362
    * @param aCase Initial case to be used in the editor.
williamr@2
   363
    */
williamr@2
   364
	IMPORT_C void SetDefaultCase(TInt aCase);
williamr@2
   365
williamr@2
   366
    /**
williamr@2
   367
    * Updates editor case. FEP is automatically notified of the
williamr@2
   368
    * case change in editor state and FEP takes new case to use immediately.
williamr@2
   369
    * Available case flags from @c uikon.hrh are @c EAknEditorUpperCase, 
williamr@2
   370
    * @c EAknEditorLowerCase and @c EAknEditorTextCase.
williamr@2
   371
    * This method should not be used to set initial case for the editor.
williamr@2
   372
    * Use @c SetDefaultCase() method instead for setting the initial case.
williamr@2
   373
    * @param aCase New case for the editor.
williamr@2
   374
    */
williamr@2
   375
	IMPORT_C void SetCurrentCase(TInt aCase);
williamr@2
   376
williamr@2
   377
    /**
williamr@2
   378
    * Set permitted cases for the editor.
williamr@2
   379
    * Possible flags from @c uikon.hrh are @c EAknEditorAllCaseModes, 
williamr@2
   380
    * @c EAknEditorUpperCase,@c EAknEditorLowerCase and @c EAknEditorTextCase.
williamr@2
   381
    * @c EAknEditorAllCaseModes is used if the value is not set from EDWIN
williamr@2
   382
    * resource ALLOWED_CASE_MODES or with this API.
williamr@2
   383
    * @param aCases Case modes that are available in the editor.
williamr@2
   384
    */
williamr@2
   385
	IMPORT_C void SetPermittedCases(TInt aCases);
williamr@2
   386
williamr@2
   387
    /**
williamr@2
   388
    * T9 language codes are not anymore supported. Use @c SetLocalLanguage() 
williamr@2
   389
    * instead.
williamr@2
   390
    */
williamr@2
   391
	IMPORT_C void SetDefaultLanguage(TInt aLanguage);
williamr@2
   392
williamr@2
   393
    /**
williamr@2
   394
    * Set editor specific special character table. 
williamr@2
   395
    * @param aResourceId Special character table dialog resource ID.
williamr@2
   396
    */
williamr@2
   397
	IMPORT_C void SetSpecialCharacterTableResourceId(TInt aResourceId);
williamr@2
   398
williamr@2
   399
    /**
williamr@2
   400
    * Set number mode key mapping for '*' and '#' keys. The key mapping is used
williamr@2
   401
    * in editors when numeric input mode is used. Key mapping characters
williamr@2
   402
    * for '*' key are shown on special character table if also the text input modes
williamr@2
   403
    * are allowed in the editor but the current input mode is numeric mode.
williamr@2
   404
    * @c EAknEditorStandardNumberModeKeymap is used in editors that allow only 
williamr@2
   405
    * numeric input if the mapping is not set from EDWIN resource NUMERIC_KEYMAP
williamr@2
   406
    * or with this API. @c EAknEditorAlphanumericNumberModeKeymap is used as 
williamr@2
   407
    * default if the editor allows also text input mode.
williamr@2
   408
    * @param aKeymap Key mapping used in an editor with number input mode.
williamr@2
   409
    */
williamr@2
   410
	IMPORT_C void SetNumericKeymap(TAknEditorNumericKeymap aKeymap);
williamr@2
   411
williamr@2
   412
    /**
williamr@2
   413
    * Set the cursor or cursor selection within a document.
williamr@2
   414
    * @param aCurrentInlineEditSpan New cursor or cursor selection within a 
williamr@2
   415
    * document.
williamr@2
   416
    */
williamr@2
   417
	IMPORT_C void SetInlineEditSpan(TCursorSelection aCurrentInlineEditSpan);
williamr@2
   418
williamr@2
   419
    /**
williamr@2
   420
    * Gets the control's button array from object provider and sets the softkey
williamr@2
   421
    * command id's to 0.
williamr@2
   422
    */
williamr@2
   423
	IMPORT_C void SetCba();
williamr@2
   424
williamr@2
   425
    /**
williamr@2
   426
    * Sets the menu bar from the object provider.
williamr@2
   427
    */
williamr@2
   428
	IMPORT_C void SetMenu();
williamr@2
   429
williamr@2
   430
    /**
williamr@2
   431
    * Set the object provider for the control.
williamr@2
   432
    * @param aObjectProvider A pointer to a class that implements an object 
williamr@2
   433
    * provider.
williamr@2
   434
    */
williamr@2
   435
	IMPORT_C void SetObjectProvider(MObjectProvider* aObjectProvider);
williamr@2
   436
williamr@2
   437
    /**
williamr@2
   438
    * Set new local input language for the editor. Global input language
williamr@2
   439
    * changes have not effect for the input language but the user can still
williamr@2
   440
    * change the input language from the edit menu.
williamr@2
   441
    * @param aLanguage Editor local input language.
williamr@2
   442
    */
williamr@2
   443
	IMPORT_C void SetLocalLanguage(TLanguage aLanguage);
williamr@2
   444
williamr@2
   445
    /**
williamr@2
   446
    * Set form accessor for this control.
williamr@2
   447
    * @since Series 60 2.0
williamr@2
   448
    * @param aFormAccessor Pointer to a form accessor.
williamr@2
   449
    */
williamr@2
   450
	IMPORT_C void SetFormAccessor(CAknEdwinFormAccessor* aFormAccessor);
williamr@2
   451
williamr@2
   452
	// non exported setters
williamr@2
   453
williamr@2
   454
    /**
williamr@2
   455
    * Set a control that implements ccpu (cut, copy, paste and undo) interface.
williamr@2
   456
    * @param aCcpuEditor Pointer to a control that implements @c MEikCcpuEditor
williamr@2
   457
    * interface.
williamr@2
   458
    */
williamr@2
   459
	IMPORT_C void SetCcpuState(MEikCcpuEditor* aCcpuEditor);
williamr@2
   460
	
williamr@2
   461
    /**
williamr@2
   462
    * Set middle sofkey command id.
williamr@2
   463
    * @since S60 V3.2
williamr@2
   464
    * @param aId New middle softkey command id.
williamr@2
   465
    */
williamr@2
   466
	IMPORT_C void SetMiddleSoftkeyCommandId(TInt aCommandId);
williamr@2
   467
williamr@2
   468
    /**
williamr@2
   469
    * Return middle sofkey command id.
williamr@2
   470
    * @since S60 V3.2
williamr@2
   471
    * @return Current middle softkey command id.
williamr@2
   472
    */
williamr@2
   473
	IMPORT_C TInt MiddleSoftkeyCommandId() const;
williamr@2
   474
williamr@2
   475
private:
williamr@2
   476
	IMPORT_C void SetCurrentCaseWithNoInitialisation(TInt aCase);
williamr@2
   477
	IMPORT_C TAknEditorCaseState& CaseState();
williamr@2
   478
williamr@2
   479
private:
williamr@2
   480
	void CheckLRCursorAndT9Consistency();
williamr@2
   481
williamr@2
   482
private:
williamr@2
   483
	friend class CT9FepControl;  // dependency to be removed?
williamr@2
   484
	friend class CT9FepCaseManager;  // dependency to be removed?
williamr@2
   485
	friend class CAknFepCaseManager;  // dependency to be removed?
williamr@2
   486
	friend class CAknFepManager;  // dependency to be removed?
williamr@2
   487
williamr@2
   488
private:
williamr@2
   489
	TInt iFlags;
williamr@2
   490
	TInt iDefaultInputMode;
williamr@2
   491
	TInt iCurrentInputMode;
williamr@2
   492
	TInt iPermittedInputModes;
williamr@2
   493
	
williamr@2
   494
	TInt iDefaultCase;
williamr@2
   495
	TAknEditorCaseState iCaseState;
williamr@2
   496
	TInt iPermittedCases;
williamr@2
   497
williamr@2
   498
	TLanguage iLocalLanguage;
williamr@2
   499
	TInt iSpecialCharacterTableResourceId;
williamr@2
   500
	TAknEditorNumericKeymap iNumericKeymap;
williamr@2
   501
	TCursorSelection iCurrentInlineEditSpan;
williamr@2
   502
williamr@2
   503
	SEditorCbaState iCbaState;
williamr@2
   504
	CEikMenuBar* iMenu;
williamr@2
   505
williamr@2
   506
	// to hold c/c/p/u info about an editor
williamr@2
   507
	MEikCcpuEditor* iCcpuState;
williamr@2
   508
	MObjectProvider* iObjectProvider;
williamr@2
   509
williamr@2
   510
	MAknEdStateObserver* iObserver;
williamr@2
   511
	CAknEdwinFormAccessor* iFormAccessor;
williamr@2
   512
	
williamr@2
   513
	TInt iMiddleSoftkeyCommandId;
williamr@2
   514
williamr@2
   515
    TInt iSpare[3];
williamr@2
   516
	};
williamr@2
   517
williamr@2
   518
williamr@2
   519
#endif
williamr@2
   520
williamr@2
   521
williamr@2
   522
williamr@2
   523
williamr@2
   524