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