imageeditor/inc/ImageEditorUIView.h
changeset 1 edfc90759b9f
child 8 18b321db4884
equal deleted inserted replaced
0:57d4cdd99204 1:edfc90759b9f
       
     1 /*
       
     2 * Copyright (c) 2010 Ixonos Plc.
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of the "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - Initial contribution
       
    11 *
       
    12 * Contributors:
       
    13 * Ixonos Plc
       
    14 *
       
    15 * Description: 
       
    16 * Image Editor View class.
       
    17 *
       
    18 */
       
    19 
       
    20 
       
    21 
       
    22 #ifndef IMAGEEDITORUIVIEW_H
       
    23 #define IMAGEEDITORUIVIEW_H
       
    24 
       
    25 
       
    26 // INCLUDES
       
    27 #include <coneresloader.h>
       
    28 
       
    29 #include <aknview.h>
       
    30 #include <aknprogressdialog.h> 
       
    31 
       
    32 #include "bitfield.h"
       
    33 #include "commondefs.h"
       
    34 
       
    35 // CONSTANTS
       
    36 
       
    37 // UID of view
       
    38 const TUid KViewId = {0x00000001};
       
    39 
       
    40 // FORWARD DECLARATIONS
       
    41 class CImageEditorUIContainer;
       
    42 class CPluginInfo;
       
    43 class CAknWaitDialog;
       
    44 class CAknNavigationControlContainer;
       
    45 class CAknNavigationDecorator;
       
    46 class CAknTitlePane;
       
    47 class CSendUi;
       
    48 class TSendingCapabilities;
       
    49 class CAknInfoPopupNoteController;
       
    50 
       
    51 #ifdef AIW_SUPPORT
       
    52 class CAiwServiceHandler;
       
    53 #endif
       
    54 
       
    55 
       
    56 
       
    57 /*	CLASS: CImageEditorUIView
       
    58 *
       
    59 *	View part of Image Editor UI. 
       
    60 *
       
    61 */
       
    62 class CImageEditorUIView :	public CAknView
       
    63 {
       
    64 
       
    65 public:
       
    66 
       
    67 /** @name Methods:*/
       
    68 //@{
       
    69 
       
    70 	/*	Default constructor
       
    71 	*
       
    72 	*   @param
       
    73 	*   @return
       
    74 	*/
       
    75     IMPORT_C CImageEditorUIView();
       
    76 
       
    77 	/*	Second phase constructor
       
    78 	*
       
    79 	*   @param
       
    80 	*   @return
       
    81 	*/
       
    82 	IMPORT_C void ConstructL();
       
    83 
       
    84 	/*	Destructor	
       
    85 	*
       
    86 	*   @param
       
    87 	*   @return
       
    88 	*/
       
    89     IMPORT_C ~CImageEditorUIView();
       
    90 
       
    91 	/*	Id
       
    92 	*
       
    93 	*   Returns UID of the view.
       
    94 	*
       
    95 	*   @param
       
    96 	*   @return
       
    97 	*	@see CAknView
       
    98 	*/
       
    99     IMPORT_C TUid Id() const;
       
   100 
       
   101 	/*	HandleCommandL
       
   102 	*
       
   103 	*	Handle view commands.   
       
   104 	*
       
   105 	*   @param aCommand - command ID
       
   106 	*   @return -
       
   107 	*	@see CAknView
       
   108 	*/
       
   109     IMPORT_C void HandleCommandL (TInt aCommand);
       
   110 
       
   111 	/*	HandleClientRectChange
       
   112 	*
       
   113 	*	Handles client rectangle changes.
       
   114 	*
       
   115 	*   @param -
       
   116 	*   @return -
       
   117 	*/
       
   118     IMPORT_C void HandleClientRectChange();
       
   119 
       
   120 	/*	SetImage
       
   121 	*
       
   122 	*	Set bitmap for preview pane.
       
   123 	*
       
   124 	*   @param aBitmap - preview bitmap
       
   125 	*   @return -
       
   126 	*/
       
   127     IMPORT_C void SetImageL (CFbsBitmap * aBitmap);
       
   128 
       
   129 	/*	SetImageFileName
       
   130 	*
       
   131 	*	Set image file name
       
   132 	*
       
   133 	*   @param aFileName - image filename
       
   134 	*   @return -
       
   135 	*/
       
   136     IMPORT_C void SetImageFileName (const TDesC& aFileName);
       
   137 
       
   138     /*	GetContainer
       
   139 	*
       
   140 	*	Set plug-in control to UI.
       
   141 	*
       
   142 	*   @param -
       
   143 	*   @return - pointer to container control
       
   144 	*/
       
   145 	IMPORT_C CCoeControl * GetContainer () const;
       
   146 
       
   147     /*	ActivatePluginL
       
   148 	*
       
   149 	*	Activates plug-in UI.
       
   150 	*
       
   151 	*   @param aControl - plug-in control
       
   152 	*   @return -
       
   153 	*/
       
   154     IMPORT_C void ActivatePluginL (CCoeControl * aControl);
       
   155 
       
   156     /*	ActivateMainViewL
       
   157 	*
       
   158 	*	Activates main view.
       
   159 	*
       
   160 	*   @param -
       
   161 	*   @return -
       
   162 	*/
       
   163     IMPORT_C void ActivateMainViewL();
       
   164 
       
   165     /*	GetSelectedPluginInfoL
       
   166 	*
       
   167 	*	Gets plug-in information of the selected plug-in.
       
   168 	*
       
   169 	*   @param -
       
   170 	*   @return plug-in info
       
   171 	*/
       
   172     IMPORT_C CPluginInfo * GetSelectedPluginInfoL ();
       
   173 
       
   174 	/*	AddPluginUiItemL
       
   175 	*
       
   176 	*	Adds a new plug-in UI item.
       
   177 	*
       
   178 	*   @param aPluginInfo - plug-in info class
       
   179 	*   @return - 
       
   180 	*/
       
   181     IMPORT_C void AddPluginUiItemL (const CPluginInfo * aPluginInfo);
       
   182 
       
   183 	/*	SetCustomButtonsL
       
   184 	*
       
   185 	*	Sets custom buttons for the view.
       
   186 	*
       
   187 	*   @param aResourceID - resource ID for CBA
       
   188 	*   @return - 
       
   189 	*/
       
   190     IMPORT_C void SetCustomButtonsL (TInt aResourceID) const;
       
   191 
       
   192 	/*	LaunchSaveChangesQueryL
       
   193 	*
       
   194 	*	Launches a query dialog "Save changes?" query.
       
   195 	*
       
   196 	*   @param - 
       
   197 	*   @return - !0 if exit, 0 if not exit
       
   198 	*/
       
   199     IMPORT_C TInt LaunchSaveChangesQueryL () const;
       
   200 
       
   201 	/*	LaunchExitWithoutSavingQueryL
       
   202 	*
       
   203 	*	Launches a query dialog "Exit anyway" if disk is full
       
   204     *   when trying to exit and save - confirmation query.
       
   205 	*
       
   206 	*   @param - 
       
   207 	*   @return - !0 if exit, 0 if not exit
       
   208 	*/
       
   209     IMPORT_C TInt LaunchExitWithoutSavingQueryL () const;
       
   210 
       
   211 	/*	LaunchCancelTextInputQueryL
       
   212 	*
       
   213 	*	Launches a query dialog "Cancel text input" if screen
       
   214     *   is turned to landscape mode and text input is not available
       
   215 	*
       
   216 	*   @param - 
       
   217 	*   @return - !0 if cancel, 0 otherwise
       
   218 	*/
       
   219     IMPORT_C TInt LaunchCancelTextInputQueryL () const;
       
   220 
       
   221 	/*	LaunchSendQueryL
       
   222 	*
       
   223 	*	Launches a send list query.
       
   224 	*
       
   225 	*   @param aCaps - sending capabilities
       
   226     *   @param aFileName - aAttachment
       
   227 	*   @return - 
       
   228 	*/
       
   229 	IMPORT_C void LaunchSendQueryL (
       
   230         const TSendingCapabilities& aCaps,
       
   231         TFileName& aFileName
       
   232         ) const;
       
   233 
       
   234 	/*	LaunchSendQueryL
       
   235 	*
       
   236 	*	Launches a send list query.
       
   237 	*
       
   238 	*   @param aCaps - sending capabilities
       
   239     *   @param aFileHandle - aAttachment
       
   240 	*   @return - 
       
   241 	*/
       
   242 	IMPORT_C void LaunchSendQueryL (
       
   243         const TSendingCapabilities& aCaps,
       
   244         RFile& aFileHandle
       
   245         ) const;
       
   246 
       
   247 	/*	LaunchSaveWaitDialogL
       
   248 	*
       
   249 	*	Launches a save wait dialog.
       
   250 	*
       
   251 	*   @param -	aSelfPtr
       
   252     *				The wait dialog is allocated at this pointer.
       
   253 	*				The pointer needs to be valid when the dialog 
       
   254 	*				is dismissed and must be a class member.
       
   255 	*	@param 		aFinalValue Final value for the process
       
   256 	*   @param -	aCallback   The wait dialog callback.
       
   257 	*				Pass NULL if no callback is needed.
       
   258 	*   @return - 
       
   259 	*/
       
   260 	IMPORT_C void LaunchSaveWaitDialogL(
       
   261         CAknProgressDialog** aSelfPtr,
       
   262         TInt aFinalValue,
       
   263         MProgressDialogCallback* aCallback
       
   264         ) const;
       
   265 
       
   266 	/*	LaunchLoadWaitDialogL
       
   267 	*
       
   268 	*	Launches a load wait dialog.
       
   269 	*
       
   270 	*   @param -	aSelfPtr
       
   271     *				The wait dialog is allocated at this pointer.
       
   272 	*				The pointer needs to be valid when the dialog 
       
   273 	*				is dismissed and must be a class member.
       
   274 	*   @param -	aCallback
       
   275     *				The wait dialog callback.
       
   276 	*				Pass NULL if no callback is needed.
       
   277 	*   @return - 
       
   278 	*/
       
   279 	IMPORT_C void LaunchLoadWaitDialogL(
       
   280         CAknWaitDialog** aSelfPtr,
       
   281         MProgressDialogCallback* aCallback
       
   282         ) const;
       
   283 
       
   284 	IMPORT_C void LaunchWaitDialog() const;
       
   285 
       
   286 	IMPORT_C void HideWaitDialog() const;
       
   287 
       
   288 	/*	ShowInformationNoteL
       
   289 	*
       
   290 	*	Launches a information note.
       
   291 	*
       
   292 	*   @param aNoteText - text to be shown
       
   293 	*   @return - 
       
   294 	*/
       
   295     IMPORT_C void ShowInformationNoteL (const TDesC& aNoteText) const;
       
   296 
       
   297 	/*	ShowConfirmationNoteL
       
   298 	*
       
   299 	*	Launches a confirmation note.
       
   300 	*
       
   301 	*   @param aNoteText - text to be shown
       
   302 	*   @return - 
       
   303 	*/
       
   304     IMPORT_C void ShowConfirmationNoteL (const TDesC& aNoteText) const;
       
   305 
       
   306 	/*	SetNaviPaneTextL 
       
   307 	*
       
   308 	*	Sets navigation pane text.
       
   309 	*
       
   310 	*   @param aText - navigation pane text 
       
   311 	*   @param aLeftNaviPaneScrollButtonVisibile
       
   312 	*   @param aRightNaviPaneScrollButtonVisible
       
   313 	*   @return - 
       
   314 	*/
       
   315 	IMPORT_C void SetNaviPaneTextL (
       
   316 		const TDesC & aText,
       
   317 		TBool aLeftNaviPaneScrollButtonVisibile, 
       
   318 		TBool aRightNaviPaneScrollButtonVisible );
       
   319 
       
   320 	/*	ClearNaviPaneTextL 
       
   321 	*
       
   322 	*	Clears navigation pane text.
       
   323 	*
       
   324 	*   @param -
       
   325 	*   @return - 
       
   326 	*/
       
   327 	IMPORT_C void ClearNaviPaneTextL();
       
   328 
       
   329     /*	SetTitlePaneTextL 
       
   330 	*
       
   331 	*	Sets title pane text.
       
   332 	*
       
   333 	*   @param aText - title pane text 
       
   334 	*   @return - 
       
   335 	*/
       
   336 	IMPORT_C void SetTitlePaneTextL (const TDesC & aText);
       
   337 
       
   338     /*	ClearTitlePaneTextL  
       
   339 	*
       
   340 	*	Clears title pane text.
       
   341 	*
       
   342 	*   @param -
       
   343 	*   @return - 
       
   344 	*/
       
   345 	IMPORT_C void ClearTitlePaneTextL ();
       
   346 
       
   347     /*	SetSoftKey1L
       
   348 	*
       
   349 	*	Sets soft key 1 command id and text.
       
   350 	*
       
   351 	*   @param aText - soft key text
       
   352 	*   @param aCommand - command id
       
   353 	*   @return - 
       
   354 	*/
       
   355 	IMPORT_C void SetSoftKey1L (
       
   356 		const TDesC &	aText,
       
   357 		const TInt		aCommand
       
   358 		);
       
   359 
       
   360     /*	SetSoftKey2L
       
   361 	*
       
   362 	*	Sets soft key 2 command id and text.
       
   363 	*
       
   364 	*   @param aText - soft key text
       
   365 	*   @param aCommand - command id
       
   366 	*   @return - 
       
   367 	*/
       
   368 	IMPORT_C void SetSoftKey2L (
       
   369 		const TDesC &	aText,
       
   370 		const TInt		aCommand
       
   371 		);
       
   372     
       
   373     /*	SetMiddleSoftKeyL
       
   374 	*
       
   375 	*	Sets Middle soft key command id and text.
       
   376 	*
       
   377 	*   @param aText - soft key text
       
   378 	*   @param aCommand - command id
       
   379 	*   @return - 
       
   380 	*/
       
   381 	IMPORT_C void SetMiddleSoftKeyL (
       
   382 		const TDesC &	aText,
       
   383 		const TInt		aCommand
       
   384 		);
       
   385 
       
   386 	/*	SetBusy
       
   387 	*
       
   388 	*	Sets busy flag. When busy flag is set, no key events are handled.
       
   389 	*
       
   390 	*   @param -
       
   391 	*   @return - 
       
   392 	*/
       
   393     IMPORT_C void SetBusy();
       
   394 
       
   395 	/*	ResetBusy
       
   396 	*
       
   397 	*	Resets busy flag. When busy flag is reset, key events are handled.
       
   398 	*
       
   399 	*   @param -
       
   400 	*   @return - 
       
   401 	*/
       
   402     IMPORT_C void ResetBusy();
       
   403 
       
   404 	/*	SetUndoFlag
       
   405 	*
       
   406 	*	Sets undo flag. When undo flag is set to ETrue, Undo item is shown 
       
   407     *   in menu.
       
   408 	*
       
   409 	*   @param -
       
   410 	*   @return - 
       
   411 	*/
       
   412     IMPORT_C void SetUndoFlag (const TBool aUndo);
       
   413 
       
   414 	/*	SetCanSave
       
   415 	*
       
   416 	*	Sets save flag. When save flag is set, Save item is shown in menu.
       
   417 	*
       
   418 	*   @param aSave - flag indicating, wheather saving is possible or not.
       
   419 	*   @return - 
       
   420 	*/
       
   421     IMPORT_C void SetSaveFlag (const TBool aSave);
       
   422 
       
   423 	/*	SetFullScreen
       
   424 	*
       
   425 	*	Sets full screen flag. When full screen flag is set, the view is in
       
   426     *   full screen mode. Normal screen item is shown in menu.
       
   427 	*
       
   428 	*   @param -
       
   429 	*   @return - 
       
   430 	*/
       
   431     IMPORT_C void SetFullScreen();
       
   432 
       
   433 	/*	ResetFullScreen
       
   434 	*
       
   435 	*	Resets full screen flag. When full screen flag is reset, the view is 
       
   436     *   in normal screen mode. Full screen item is shown in menu.
       
   437 	*
       
   438 	*   @param -
       
   439 	*   @return - 
       
   440 	*/
       
   441     IMPORT_C void ResetFullScreen();
       
   442 
       
   443 	/*	SetZoomModeL
       
   444 	*
       
   445 	*	Sets zoom mode.
       
   446 	*
       
   447 	*   @param aMode - zoom mode
       
   448 	*   @return - 
       
   449 	*/
       
   450     IMPORT_C void SetZoomModeL( const TZoomMode& aMode );
       
   451 
       
   452     /*	DynInitMenuPaneL
       
   453 	*
       
   454 	*	Initialize menu items dynamically
       
   455 	*
       
   456 	*   @param aResourceId - resource ID of menu to be initialized
       
   457 	*   @param aMenuPane - run-time presentation of the menu pane
       
   458 	*   @return - 
       
   459 	*	@see MEikMenuObserver
       
   460 	*/
       
   461 	IMPORT_C virtual void DynInitMenuPaneL (
       
   462 		TInt			aResourceId,
       
   463 		CEikMenuPane *	aMenuPane
       
   464 		);
       
   465 
       
   466 	/*	HandleStatusPaneSizeChange
       
   467 	*
       
   468 	*	Main pane and status pane are partly overlapping. This method 
       
   469     *   handles the status pane changes
       
   470 	*
       
   471 	*   @param -
       
   472 	*   @return -
       
   473 	*	@see CAknView
       
   474 	*/
       
   475     IMPORT_C void HandleStatusPaneSizeChange();
       
   476 
       
   477 	/*	UpdateLayoutL
       
   478 	*
       
   479 	*	Update layout of the view according to screenmode
       
   480 	*
       
   481 	*   @param aScreenMode - screen mode
       
   482 	*   @return -
       
   483 	*/
       
   484     IMPORT_C void UpdateLayoutL(TInt aScreenMode) const;
       
   485 
       
   486 	/*	SetSendAppUi
       
   487 	*
       
   488 	*	Sets CSendUi pointer
       
   489 	*
       
   490 	*   @param aSendAppUi - pointer to CSendUi instance
       
   491 	*   @return -
       
   492 	*/
       
   493     IMPORT_C void SetSendAppUi(CSendUi* aSendAppUi);
       
   494 
       
   495 	/*	LaunchSaveImageQueryL 
       
   496 	*
       
   497 	*	Launches a query dialog "Save image:".
       
   498 	*
       
   499 	*   @param - 
       
   500 	*   @return - list query id or -1 if the user selects No
       
   501 	*/
       
   502     IMPORT_C TInt LaunchSaveImageQueryL () const;
       
   503     
       
   504     /* GetTouchPanDirections 
       
   505     *
       
   506     *   Can be used to get the x- and y-directional movement changes
       
   507     *   when image is panned with touch.
       
   508     *   
       
   509     *   @since S60 v5.0
       
   510     *   @param - xMovement x-directional change
       
   511     *   @param - yMovement y-directional change
       
   512     *   @return - 
       
   513     */    
       
   514     IMPORT_C void GetTouchPanDirections( TInt& xMovement, TInt& yMovement );
       
   515     
       
   516     /*  InZoomingState()
       
   517     *
       
   518     *   Checks whether an image has been zoomed or not.
       
   519     *
       
   520     *   @param -
       
   521 	*   @return ETrue if in zooming state, EFalse otherwise
       
   522     */
       
   523     IMPORT_C TBool InZoomingState();
       
   524     IMPORT_C TBool IsMemoryInCriticalLevel();
       
   525 //@}
       
   526 
       
   527 protected:
       
   528 
       
   529 /** @name Methods:*/
       
   530 //@{
       
   531 //@}
       
   532 
       
   533 	/*	ViewScreenModeCompatible
       
   534 	*
       
   535 	*	@see CAknView
       
   536 	*
       
   537 	*/
       
   538     IMPORT_C TBool ViewScreenModeCompatible(TInt aScreenMode);
       
   539 
       
   540 
       
   541 /** @name Members:*/
       
   542 //@{
       
   543 //@}
       
   544 
       
   545 private:
       
   546 
       
   547 /** @name Methods:*/
       
   548 //@{
       
   549 
       
   550 	/*	DoActivateL
       
   551 	*
       
   552 	*	Called when view is activated.
       
   553 	*
       
   554 	*   @param aPrevViewId - 
       
   555 	*   @param aCustomMessageId -
       
   556 	*   @param aCustomMessage -
       
   557 	*   @return -
       
   558 	*	@see CAknView
       
   559 	*/
       
   560     IMPORT_C void DoActivateL (
       
   561 		const TVwsViewId &  aPrevViewId,
       
   562 		TUid				aCustomMessageId,
       
   563         const TDesC8 &		aCustomMessage
       
   564 		);
       
   565 
       
   566 	/*	DoDeactivate
       
   567 	*
       
   568 	*   Called when view is deactivated.
       
   569 	*
       
   570 	*   @param -
       
   571 	*   @return -
       
   572 	*	@see CAknView
       
   573 	*/
       
   574     IMPORT_C void DoDeactivate();
       
   575 
       
   576     /*	DimAllL
       
   577 	*
       
   578 	*	Dims all menu items
       
   579 	*
       
   580 	*   @param aResourceId - resource ID of menu to be initialized
       
   581 	*   @param aMenuPane - run-time presentation of the menu pane
       
   582 	*   @return - 
       
   583 	*/
       
   584 	void DimAllL (
       
   585 		TInt			aResourceId,
       
   586 		CEikMenuPane &	aMenuPane
       
   587 		) const;
       
   588 
       
   589     /*	UpdateSoftkeysL 
       
   590 	*
       
   591 	*	Updates softkeys.
       
   592 	*
       
   593 	*   @param -
       
   594 	*   @return - 
       
   595 	*/
       
   596     void UpdateSoftkeysL();
       
   597 
       
   598     /*	UpdateNaviPaneL 
       
   599 	*
       
   600 	*	Updates navi pane text.
       
   601 	*
       
   602 	*   @param -
       
   603 	*   @return - 
       
   604 	*/
       
   605     void UpdateNaviPaneL();
       
   606 
       
   607     /*	InsertPluginItemsL
       
   608 	*
       
   609 	*	Inserts plug-in menu items to menu pane.
       
   610 	*
       
   611 	*   @param aMenuPane - run-time presentation of the menu pane
       
   612 	*   @return - 
       
   613 	*/
       
   614     void InsertPluginItemsL (CEikMenuPane &	aMenuPane);
       
   615 
       
   616     /*	MenuItemPressedL
       
   617 	*
       
   618 	*	Checks if a plug-in menu item has been pressed.
       
   619 	*
       
   620 	*   @param aCommand - command id
       
   621 	*   @return ETrue if menu item pressed, EFalse otherwise
       
   622 	*/
       
   623     TBool MenuItemPressedL (TInt aCommand);
       
   624     
       
   625     /*	AddContainerToStack()
       
   626 	*
       
   627 	*	Add container to control stack and ensure it is not added twice
       
   628 	*
       
   629 	*   @param -
       
   630 	*   @return - 
       
   631 	*/
       
   632 	void AddContainerToStack();
       
   633     
       
   634     /*	RemoveContainerFromStack()
       
   635 	*
       
   636 	*	Remove container from control stack and ensure it is not removed twice
       
   637 	*
       
   638 	*   @param -
       
   639 	*   @return - 
       
   640 	*/
       
   641 	void RemoveContainerFromStack();
       
   642     
       
   643     /*  HandleZoomModeChangeL()
       
   644     *
       
   645     *   Handle needed operations (CBA buttons, tooltip) 
       
   646     *   after zoom mode change.
       
   647     *
       
   648     *   @param -
       
   649 	*   @return -
       
   650     */
       
   651     void HandleZoomModeChangeL();
       
   652     
       
   653     /*  ResolveCaptionNameL
       
   654     *
       
   655     *   Resolves the caption (Media gallery) that should be added to 
       
   656     *   saving note. Leaves if something goes wrong and caption can't be
       
   657     *   resolved.
       
   658     *
       
   659     *   @param aCaption - Caption to be added 
       
   660 	*   @return -
       
   661     */
       
   662     void ResolveCaptionNameL( TApaAppCaption& aCaption ) const;
       
   663 
       
   664 //@}
       
   665 
       
   666 /** @name Members:*/
       
   667 //@{
       
   668 	/// UI container control
       
   669     CImageEditorUIContainer *	        iContainer;
       
   670     //  Navigation pane
       
   671     CAknNavigationControlContainer *    iNaviPane;
       
   672     /// Navigation decorator
       
   673     CAknNavigationDecorator *           iNaviDecorator;
       
   674     /// Previous navigation decorator
       
   675     CAknNavigationDecorator *           iPreviousNaviDecorator;
       
   676     /// Title pane
       
   677     CAknTitlePane *                     iTitlePane;
       
   678     /// SendAppUi
       
   679     CSendUi*                            iSendAppUi;
       
   680 	/// Resource reader
       
   681 	RConeResourceLoader                 iResLoader;
       
   682     /// Resource ID
       
   683 	TInt                                iResID;
       
   684 	/// Can undo
       
   685 	TBool                               iCanUndo;
       
   686 	/// Can save
       
   687 	TBool                               iCanSave;
       
   688 	/// In plug-in
       
   689 	TBool                               iInPlugin;
       
   690 	/// Are we in full screen mode
       
   691 	TBool                               iFullScreen;
       
   692 	/// Busy
       
   693     TBool                               iBusy;
       
   694     /// Zoom mode
       
   695 	TZoomMode                           iZoomMode;
       
   696 	/// Left soft key ID
       
   697 	TInt                                iSoftkey1;
       
   698 	/// Right soft key ID
       
   699 	TInt                                iSoftkey2;
       
   700 	/// Middle soft key ID
       
   701 	TInt                                iMSK;
       
   702     /// Array of UI items
       
   703     RPointerArray<CPluginInfo>          iArray;
       
   704     /// Selected plug-in UI item index
       
   705     TInt                                iIndex;
       
   706     /// Currently loaded image name
       
   707     TFileName                           iImageFileName;
       
   708     /// Pointer to plug-in control
       
   709     CCoeControl *                       iControl;
       
   710     /// Preview bitmap
       
   711     CFbsBitmap*                         iPreview;
       
   712     /// Selected print menu command
       
   713     TInt                                iSelectedPrintMenuCmd;
       
   714     /// Is container added to stack
       
   715     TBool								iContainerInStack;
       
   716     // Array for zoom popup note texts
       
   717     CDesCArray*                         iZoomTexts;
       
   718     // Popup controller
       
   719 	CAknInfoPopupNoteController*        iPopupController;
       
   720 	
       
   721 #ifdef AIW_SUPPORT
       
   722     /// AIW Service Handler
       
   723     CAiwServiceHandler*                 iServiceHandler;
       
   724 #endif
       
   725 
       
   726 //@}
       
   727 
       
   728 };
       
   729 
       
   730 #endif
       
   731 
       
   732 // End of File