epos_cposlmcategorycriteria.h

Go to the documentation of this file.
00001 /*
00002 * ==============================================================================
00003 *  Name        : EPos_CPosLmCategoryCriteria.h
00004 *  Part of     : Mobile Location Framework/Landmarks
00005 *  Interface   : SDK/S60, Landmarks Search API
00006 *  Description : CPosLmCategoryCriteria class
00007 *  Version     : %version: bh1cfloc#3 % 
00008 *
00009 *  Copyright © 2005-2006 Nokia.  All rights reserved.
00010 *  This material, including documentation and any related computer
00011 *  programs, is protected by copyright controlled by Nokia.  All
00012 *  rights are reserved.  Copying, including reproducing, storing,
00013 *  adapting or translating, any or all of this material requires the
00014 *  prior written consent of Nokia.  This material also contains
00015 *  confidential information which may not be disclosed to others
00016 *  without the prior written consent of Nokia.
00017 * ============================================================================
00018 * Template version: 4.0
00019 */
00020 
00021 #ifndef CPOSLMCATEGORYCRITERIA_H
00022 #define CPOSLMCATEGORYCRITERIA_H
00023 
00024 #include <e32base.h>
00025 #include <epos_landmarks.h>
00026 
00027 #include "epos_cposlmsearchcriteria.h"
00028 
00051 class CPosLmCategoryCriteria : public CPosLmSearchCriteria
00052     {
00053     public:
00054 
00060         IMPORT_C static CPosLmCategoryCriteria* NewLC();
00061 
00065         virtual ~CPosLmCategoryCriteria();
00066 
00067     public:
00068 
00076         IMPORT_C TPosLmItemId CategoryItemId() const;
00077 
00085         IMPORT_C TPosLmGlobalCategory GlobalCategory() const;
00086 
00094         IMPORT_C TPtrC CategoryName() const;
00095 
00104         IMPORT_C void SetCategoryItemId( TPosLmItemId aItemId );
00105 
00115         IMPORT_C void SetGlobalCategory( TPosLmGlobalCategory aGlobalCategory );
00116 
00135         IMPORT_C void SetCategoryNameL( const TDesC&  aCategoryName );
00136 
00137     private:
00138 
00139         // C++ constructor
00140         CPosLmCategoryCriteria();
00141 
00142         void ConstructL();
00143 
00144         // Prohibit copy constructor
00145         CPosLmCategoryCriteria( const CPosLmCategoryCriteria& );
00146         // Prohibit assigment operator
00147         CPosLmCategoryCriteria& operator= ( const CPosLmCategoryCriteria& );
00148 
00149     private:
00150 
00151         TPosLmItemId            iItemId;
00152         TPosLmGlobalCategory    iGlobalCategory;
00153         HBufC*                  iCategoryName;
00154 
00155     };
00156 
00157 // CPOSLMCATEGORYCRITERIA_H
00158 #endif
00159 
00160 

Copyright © Nokia Corporation 2001-2008
Back to top