classicui_plat/find_item_ui_api/inc/finditemmenu.h
branchRCL_3
changeset 56 d48ab3b357f1
parent 55 aecbbf00d063
child 72 a5e7a4f63858
equal deleted inserted replaced
55:aecbbf00d063 56:d48ab3b357f1
    35 #include <cenrepnotifyhandler.h>
    35 #include <cenrepnotifyhandler.h>
    36 
    36 
    37 // FORWARD DECLARATIONS
    37 // FORWARD DECLARATIONS
    38 class CRepository;
    38 class CRepository;
    39 class CEikMenuPane;
    39 class CEikMenuPane;
       
    40 class CSendUi;
    40 #ifndef RD_VIRTUAL_PHONEBOOK
    41 #ifndef RD_VIRTUAL_PHONEBOOK
    41 class CPbkContactEngine;
    42 class CPbkContactEngine;
    42 class CPbkDataSaveAppUi;
    43 class CPbkDataSaveAppUi;
    43 class RPbkViewResourceFile;
    44 class RPbkViewResourceFile;
    44 #endif // !RD_VIRTUAL_PHONEBOOK
    45 #endif // !RD_VIRTUAL_PHONEBOOK
       
    46 class CSchemeHandler;
    45 class CFindItemVoIPExtension;
    47 class CFindItemVoIPExtension;
    46 class CCommonUiMPEngineApiLoader;
    48 class CCommonUiMPEngineApiLoader;
    47 
    49 
    48 // CLASS DECLARATION
    50 // CLASS DECLARATION
    49 
    51 
   305         *                        EFalse = menu item not allowed.
   307         *                        EFalse = menu item not allowed.
   306         */
   308         */
   307         IMPORT_C void SetMenuItemVisibility( 
   309         IMPORT_C void SetMenuItemVisibility( 
   308             CFindItemMenu::TMenuItem aItem,
   310             CFindItemMenu::TMenuItem aItem,
   309             TBool aVisible );                           
   311             TBool aVisible );                           
       
   312 
       
   313 		/**
       
   314         * Sets AIW submenu item visibility 
       
   315         * Must be called before displaying the menu
       
   316         * 
       
   317         * @since S60 5.2
       
   318         * @param aVisible AIW submenu item visibility
       
   319         */
       
   320         IMPORT_C void SetCallSubMenuVisibility( TBool aVisible );
   310                   
   321                   
   311     private:
   322     private:
   312 
   323 
   313         /**
   324         /**
   314         * C++ default constructor.
   325         * C++ default constructor.
   411         HBufC* iSenderDescriptor; // owned, possible sender number
   422         HBufC* iSenderDescriptor; // owned, possible sender number
   412         TBool iIsSenderKnown; // Shall we show add to Contacts for sender
   423         TBool iIsSenderKnown; // Shall we show add to Contacts for sender
   413         TBool iIsContextMenu;
   424         TBool iIsContextMenu;
   414         TInt iIndex;
   425         TInt iIndex;
   415 
   426 
       
   427         // SendUi
       
   428         CSendUi* iSendUi;
       
   429 
   416 #ifndef RD_VIRTUAL_PHONEBOOK
   430 #ifndef RD_VIRTUAL_PHONEBOOK
   417         CPbkContactEngine* iPbkEngine;
   431         CPbkContactEngine* iPbkEngine;
   418         CPbkDataSaveAppUi* iPbkDataSave;
   432         CPbkDataSaveAppUi* iPbkDataSave;
   419         RPbkViewResourceFile* iRPbkResourceFile;
   433         RPbkViewResourceFile* iRPbkResourceFile;
   420 #endif // !RD_VIRTUAL_PHONEBOOK
   434 #endif // !RD_VIRTUAL_PHONEBOOK
   438         // DialData.
   452         // DialData.
   439         CAiwDialDataExt* iDialData;
   453         CAiwDialDataExt* iDialData;
   440 
   454 
   441         // Possible callback number, owned.
   455         // Possible callback number, owned.
   442         HBufC* iCallbackNumber; 
   456         HBufC* iCallbackNumber; 
       
   457         CSchemeHandler* iSchemeHandler;
   443 
   458 
   444         // Contains information of the VoIP profiles.
   459         // Contains information of the VoIP profiles.
   445         CFindItemVoIPExtension* iFindItemVoIPExtension;
   460         CFindItemVoIPExtension* iFindItemVoIPExtension;
   446 
   461 
   447         // Contains information of MMS support
   462         // Contains information of MMS support
   471         /**
   486         /**
   472         * Menu item flags
   487         * Menu item flags
   473         */
   488         */
   474         TInt iMenuItemFlags;
   489         TInt iMenuItemFlags;
   475         MPBAiwNotify iCallback;
   490         MPBAiwNotify iCallback;
       
   491 
       
   492 		// Hide AIW submenu
       
   493         TBool iHideCallSubMenu;
   476    };
   494    };
   477 
   495 
   478 #endif      // FINDITEMMENU_H
   496 #endif      // FINDITEMMENU_H
   479 
   497 
   480 // End of File
   498 // End of File