serviceproviders/sapi_landmarks/inc/clandmarkcategoryiterable.h
changeset 26 5d0ec8b709be
parent 5 989d2f495d90
equal deleted inserted replaced
23:50974a8b132e 26:5d0ec8b709be
    25 //FORWARD DECLARATIONS
    25 //FORWARD DECLARATIONS
    26 class CPosLandmarkCategory;
    26 class CPosLandmarkCategory;
    27 class CPosLandmarkDatabase;
    27 class CPosLandmarkDatabase;
    28 class CPosLmCategoryManager;
    28 class CPosLmCategoryManager;
    29 class CPosLmItemIterator;
    29 class CPosLmItemIterator;
    30 
    30 class CLandmarkHandler;
    31 /**
    31 /**
    32 * CLandmarkCategoryIterable
    32 * CLandmarkCategoryIterable
    33 * This class inherits from CLiwIterable and implements the Reset() and 
    33 * This class inherits from CLiwIterable and implements the Reset() and 
    34 * NextL(TLiwVariant& aEntry) functions. This class is used to iterate through 
    34 * NextL(TLiwVariant& aEntry) functions. This class is used to iterate through 
    35 * a list of landmark categories.
    35 * a list of landmark categories.
    53         /**
    53         /**
    54         * ~CLandmarkCategoryIterable
    54         * ~CLandmarkCategoryIterable
    55         * Destructor.
    55         * Destructor.
    56         */
    56         */
    57         ~CLandmarkCategoryIterable();
    57         ~CLandmarkCategoryIterable();
       
    58         
       
    59         void SetHandler(CLandmarkHandler* aHandler);
       
    60         
       
    61         void Close(); 
    58 
    62 
    59     protected: //from CLiwIterable
    63     protected: //from CLiwIterable
    60 
    64 
    61         // Resets the iterator. 
    65         // Resets the iterator. 
    62         void Reset();
    66         void Reset();
    82         */
    86         */
    83         CLandmarkCategoryIterable( CPosLmItemIterator* aIterator );
    87         CLandmarkCategoryIterable( CPosLmItemIterator* aIterator );
    84 
    88 
    85     private: //data
    89     private: //data
    86 
    90 
       
    91         CLandmarkHandler* iHandler;
    87         /**
    92         /**
    88         * iIterator
    93         * iIterator
    89         * The handle to the CPosLmItemIterator landmark iterator.
    94         * The handle to the CPosLmItemIterator landmark iterator.
    90         */
    95         */
    91         CPosLmItemIterator* iIterator;
    96         CPosLmItemIterator* iIterator;