serviceproviders/sapi_landmarks/inc/clandmarkiterable.h
changeset 26 5d0ec8b709be
parent 5 989d2f495d90
equal deleted inserted replaced
23:50974a8b132e 26:5d0ec8b709be
    24 
    24 
    25 //FORWARD DECLARATIONS
    25 //FORWARD DECLARATIONS
    26 class CPosLandmark;
    26 class CPosLandmark;
    27 class CPosLandmarkDatabase;
    27 class CPosLandmarkDatabase;
    28 class CPosLmItemIterator;
    28 class CPosLmItemIterator;
       
    29 class CLandmarkHandler;
    29 
    30 
    30 /**
    31 /**
    31 * CLandmarkIterable
    32 * CLandmarkIterable
    32 * This class inherits from CLiwIterable and implements the Reset() and 
    33 * This class inherits from CLiwIterable and implements the Reset() and 
    33 * NextL(TLiwVariant& aEntry) functions. This class acts as wrapper for the 
    34 * NextL(TLiwVariant& aEntry) functions. This class acts as wrapper for the 
    52         /**
    53         /**
    53         * ~CLandmarkIterable
    54         * ~CLandmarkIterable
    54         * Destructor.
    55         * Destructor.
    55         */
    56         */
    56         ~CLandmarkIterable();
    57         ~CLandmarkIterable();
       
    58         
       
    59         void SetHandler(CLandmarkHandler* aHandler);
       
    60         void Close(); 
    57 
    61 
    58     protected: //from CLiwIterable
    62     protected: //from CLiwIterable
    59 
    63 
    60         // Resets the iterator. 
    64         // Resets the iterator. 
    61         void Reset();
    65         void Reset();
    81         */
    85         */
    82         CLandmarkIterable( CPosLmItemIterator* aIterator );
    86         CLandmarkIterable( CPosLmItemIterator* aIterator );
    83 
    87 
    84     private: //data
    88     private: //data
    85 
    89 
       
    90         CLandmarkHandler* iHandler;
    86         /**
    91         /**
    87         * iIterator
    92         * iIterator
    88         * The handle to the CPosLmItemIterator landmark iterator. 
    93         * The handle to the CPosLmItemIterator landmark iterator. 
    89         */
    94         */
    90         CPosLmItemIterator* iIterator;
    95         CPosLmItemIterator* iIterator;