phonebookui/Phonebook2/UIControls/inc/cpbk2contactviewcustomlistboxdata.h
branchRCL_3
changeset 18 d4f567ce2e7c
parent 0 e686773b3f54
equal deleted inserted replaced
17:2666d9724c76 18:d4f567ce2e7c
   100         /**
   100         /**
   101          * Stores highlighted background colour.
   101          * Stores highlighted background colour.
   102          */
   102          */
   103         TRgb iHighlightedBack;
   103         TRgb iHighlightedBack;
   104         };
   104         };
   105 //Start of Code Added for PhoneBook2
   105 
   106 public: //Function below are added to suit PhoneBook2 Requirements
   106 public: 
   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:
       
   152     TBool IsContactAtListboxIndex( TInt aListboxIndex ) const;
   151     TBool IsContactAtListboxIndex( TInt aListboxIndex ) const;
       
   152 	
       
   153 private:    
   153     TInt CommandItemCount() const;
   154     TInt CommandItemCount() const;
   154     
       
   155 //End of Code Added for PhoneBook2
       
   156     
   155     
   157 public:
   156 public:
   158 
   157 
   159     /**
   158     /**
   160      * Two-phased constructor.
   159      * Two-phased constructor.