landmarks/locationlandmarks/tsrc/LandmarkTestModule/inc/FT_CAreaSearchResult.h
branchRCL_3
changeset 44 2b4ea9893b66
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/landmarks/locationlandmarks/tsrc/LandmarkTestModule/inc/FT_CAreaSearchResult.h	Tue Aug 31 15:37:04 2010 +0300
@@ -0,0 +1,99 @@
+/*
+* Copyright (c) 2005 Nokia Corporation and/or its subsidiary(-ies). 
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: 
+*   ?description_line
+*
+*/
+
+
+
+#ifndef CAREASEARCHRESULT_H
+#define CAREASEARCHRESULT_H
+
+//  INCLUDES
+#include <e32base.h>
+#include <EPos_CPosLandmark.h>
+
+#include "Ft_CSearchResultBase.h"
+
+
+
+class CAreaSearchResult : public CSearchResultBase
+    {
+
+    public:  // Constructors and destructor
+        
+         /**
+        * Two-phased constructor.
+        */
+        static CAreaSearchResult* NewL(const TDesC& aDes); 
+
+        /**
+        * Destructor.
+        */
+        ~CAreaSearchResult();
+        
+    public: 
+
+        TReal64 SouthLat() const;
+
+        TReal64 NorthLat() const;
+        
+        TReal64 WestLong() const;
+        
+        TReal64 EastLong() const;
+
+        TInt ErrorCode() const;
+
+        void Print(TDes& aDes);
+
+    private: 
+        
+        CAreaSearchResult();
+
+        void ConstructL(const TDesC& aDes);
+        
+
+    private:
+
+         // By default, prohibit copy constructor
+        CAreaSearchResult(const CAreaSearchResult&);
+        // Prohibit assigment operator
+        CAreaSearchResult& operator=(const CAreaSearchResult&);
+
+    private: // Data
+        
+        enum TValueIndex
+			{
+            ESouthLat           =0,	
+            ENorthLat           =1,	
+            EWestLong           =2,
+            EEastLong           =3,
+            EErrorCode          =4,
+            ERedefined          =5,
+            ESearchResult       =6
+			};
+        
+        TInt        iErrorCode;
+        
+        TReal64     iSouthLat;
+        TReal64     iNorthLat;
+        TReal64     iWestLong;
+        TReal64     iEastLong;
+
+    };
+
+#endif      // CAREASEARCHRESULT_H
+            
+// End of File