phonebookui/Phonebook2/UIControls/inc/cpbk2contactviewcustomlistboxdata.h
branchRCL_3
changeset 85 38bb213f60ba
parent 63 f4a778e096c2
equal deleted inserted replaced
74:6b5524b4f673 85:38bb213f60ba
   100         /**
   100         /**
   101          * Stores highlighted background colour.
   101          * Stores highlighted background colour.
   102          */
   102          */
   103         TRgb iHighlightedBack;
   103         TRgb iHighlightedBack;
   104         };
   104         };
   105 
   105 //Start of Code Added for PhoneBook2
   106 public: 
   106 public: //Function below are added to suit PhoneBook2 Requirements
   107     
   107     
   108     /**
   108     /**
   109      * Set internal data model to work with special PCS data
   109      * Set internal data model to work with special PCS data
   110      * @param aDataModel PCS data model 
   110      * @param aDataModel PCS data model 
   111      */        
   111      */        
   146      * @param aCommands An array of commands. NULL may be given to
   146      * @param aCommands An array of commands. NULL may be given to
   147      *        indicate that no commands are to be shown. 
   147      *        indicate that no commands are to be shown. 
   148      */
   148      */
   149     void SetListCommands( const RPointerArray<MPbk2UiControlCmdItem>* aCommands );
   149     void SetListCommands( const RPointerArray<MPbk2UiControlCmdItem>* aCommands );
   150     
   150     
       
   151 private:
   151     TBool IsContactAtListboxIndex( TInt aListboxIndex ) const;
   152     TBool IsContactAtListboxIndex( TInt aListboxIndex ) const;
   152 	
       
   153 private:    
       
   154     TInt CommandItemCount() const;
   153     TInt CommandItemCount() const;
       
   154     
       
   155 //End of Code Added for PhoneBook2
   155     
   156     
   156 public:
   157 public:
   157 
   158 
   158     /**
   159     /**
   159      * Two-phased constructor.
   160      * Two-phased constructor.