phonebookui/Speeddial/VPbkControlInc/speeddialprivate.h
branchRCL_3
changeset 9 0d28c1c5b6dd
parent 0 e686773b3f54
equal deleted inserted replaced
8:5586b4d2ec3e 9:0d28c1c5b6dd
    54 class CVPbkContactLinkArray;
    54 class CVPbkContactLinkArray;
    55 class TPbk2IconId;
    55 class TPbk2IconId;
    56 class MVPbkContactAttribute;
    56 class MVPbkContactAttribute;
    57 class CAiwServiceHandler;
    57 class CAiwServiceHandler;
    58 class MRefreshObserver;
    58 class MRefreshObserver;
       
    59 class TXspIconHelper;
    59 
    60 
    60 const TInt KArraySize =9;
    61 const TInt KArraySize =9;
    61 //for the timebeing..
    62 //for the timebeing..
    62 #define KErrCancelled 0x99
    63 #define KErrCancelled 0x99
    63 
    64 
   507         *
   508         *
   508         * @param aId     phone book icon id to match to.
   509         * @param aId     phone book icon id to match to.
   509         * @return   the matching index, -1 if not found.
   510         * @return   the matching index, -1 if not found.
   510         */
   511         */
   511       
   512       
   512       	TInt FindIconIndex( TInt aId) const;
   513       	TInt FindIconIndex( TInt aId, MVPbkStoreContactField* aField );
   513 
   514 
   514 
   515 
   515 		/**
   516 		/**
   516         * Gets Item's descriptor for Grid.
   517         * Gets Item's descriptor for Grid.
   517         *
   518         *
   614         
   615         
   615         void ExecuteSingleEntryAssignL(TInt aIndex,
   616         void ExecuteSingleEntryAssignL(TInt aIndex,
   616         AiwContactAssign::TAiwContactAttributeAssignDataV1 aData);
   617         AiwContactAssign::TAiwContactAttributeAssignDataV1 aData);
   617     
   618     
   618     	TInt SetIconArrayL(CArrayPtrFlat<CGulIcon>* aArray);
   619     	TInt SetIconArrayL(CArrayPtrFlat<CGulIcon>* aArray);
       
   620     	TInt CreateIndexIconsL( CArrayPtrFlat<CGulIcon>* aArray );
   619     	void InitializeArray();
   621     	void InitializeArray();
   620     	void CreateFieldIconsL(CArrayPtrFlat<CGulIcon>* aArray);
   622     	void CreateFieldIconsL(CArrayPtrFlat<CGulIcon>* aArray);
   621     	
   623     	
   622     	TBool AssignSpeedDialL(TInt aIndex);
   624     	TBool AssignSpeedDialL(TInt aIndex);
   623     	TBool RemoveSpeedDialL(TInt aIndex);
   625     	TBool RemoveSpeedDialL(TInt aIndex);
   624     	
   626     	
   625     	void SetSpeedDialIndexL(MVPbkStoreContact* aContact);
   627     	void SetSpeedDialIndexL(MVPbkStoreContact* aContact);
   626     	void Wait();
   628     	void Wait();
       
   629         void WaitFetchMail();
   627     	void Release();
   630     	void Release();
       
   631         void ReleaseFetchMail();
   628     	
   632     	
   629     	void SetDetails(TInt aIndex);
   633     	void SetDetails(TInt aIndex);
   630     	
   634     	
   631     	// Change to TInt from TBool for more value
   635     	// Change to TInt from TBool for more value
   632     	TInt FindInSpeedDialContacts(MVPbkContactLink* aContactLink);
   636     	TInt FindInSpeedDialContacts(MVPbkContactLink* aContactLink);
   684     
   688     
   685     eSpeedDialState iState;
   689     eSpeedDialState iState;
   686     
   690     
   687     TBool iRetrieveComplete;
   691     TBool iRetrieveComplete;
   688     TBool iOperationComplete;
   692     TBool iOperationComplete;
       
   693     TBool iFetchmailComplete;
   689     TBool iFetchAll;
   694     TBool iFetchAll;
   690     TBool iUpdateFlag;
   695     TBool iUpdateFlag;
   691     TBool iFetchmail;
   696     TBool iFetchmail;
   692         
   697         
   693 	CAknGrid* iGrid;	 
   698 	CAknGrid* iGrid;	 
   694 	CArrayFixFlat<TSpdiaIndexDataVPbk>* iSdmArray;  // owned by this
   699 	CArrayFixFlat<TSpdiaIndexDataVPbk>* iSdmArray;  // owned by this
   695 	CPbk2ImageManager* aImageManager;
   700 	CPbk2ImageManager* aImageManager;
   696 	CActiveSchedulerWait *iWait;
   701 	CActiveSchedulerWait *iWait;
       
   702     CActiveSchedulerWait *iWaitFetchmail;
   697 	CAknQueryDialog* iQueryDialog;       
   703 	CAknQueryDialog* iQueryDialog;       
   698 	CRepository*  ivmbxvariation;
   704 	CRepository*  ivmbxvariation;
   699 	CRepository* ivmbxkey2;
   705 	CRepository* ivmbxkey2;
   700 	TInt iVmbxkeypos;
   706 	TInt iVmbxkeypos;
   701 	TInt iVmbxsupported;
   707 	TInt iVmbxsupported;
   711 
   717 
   712     MRefreshObserver* iRefreshObserver;
   718     MRefreshObserver* iRefreshObserver;
   713     TBool iCancelFlag;
   719     TBool iCancelFlag;
   714 
   720 
   715     CAknQueryDialog* iRemoveConfirmQueryDialog;
   721     CAknQueryDialog* iRemoveConfirmQueryDialog;
       
   722     
       
   723     RArray<TXspIconHelper> ixspIconInfoArray;
       
   724     
   716 };
   725 };
   717 
   726 
   718 
   727 
   719 #endif //SPEEDDIALPRIVATE_H
   728 #endif //SPEEDDIALPRIVATE_H