00001 /* 00002 * ============================================================================== 00003 * Name : EPos_CPosLmCatNameCriteria.h 00004 * Part of : Mobile Location Framework/Landmarks 00005 * Interface : SDK/S60, Landmarks Search API 00006 * Description : CPosLmCatNameCriteria 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 CPOSLMCATNAMECRITERIA_H 00022 #define CPOSLMCATNAMECRITERIA_H 00023 00024 #include <e32base.h> 00025 #include "epos_cposlmsearchcriteria.h" 00026 00043 class CPosLmCatNameCriteria : public CPosLmSearchCriteria 00044 { 00045 public: 00046 00051 IMPORT_C static CPosLmCatNameCriteria* NewLC(); 00052 00056 virtual ~CPosLmCatNameCriteria(); 00057 00058 public: 00059 00065 IMPORT_C TPtrC SearchPattern() const; 00066 00085 IMPORT_C void SetSearchPatternL( const TDesC& aSearchPattern ); 00086 00087 private: 00088 00089 CPosLmCatNameCriteria(); 00090 00091 void ConstructL(); 00092 00093 // Prohibit copy constructor 00094 CPosLmCatNameCriteria( const CPosLmCatNameCriteria& ); 00095 // Prohibit assigment operator 00096 CPosLmCatNameCriteria& operator= ( const CPosLmCatNameCriteria& ); 00097 00098 private: 00099 00100 HBufC* iSearchPattern; 00101 00102 }; 00103 00104 // CPOSLMCATNAMECRITERIA_H 00105 #endif 00106 00107