locationmanager/ReverseGeocode/inc/clientengine.h
changeset 52 40db28bb26b8
parent 36 aa5a574040a4
--- a/locationmanager/ReverseGeocode/inc/clientengine.h	Wed Aug 18 10:12:07 2010 +0300
+++ b/locationmanager/ReverseGeocode/inc/clientengine.h	Thu Sep 02 20:52:02 2010 +0300
@@ -179,8 +179,12 @@
 	* @return ETrue if silent connection is allowed
 	*/
     TBool SilentConnectionAllowed();
-    
+
+#ifdef REVERSEGEOCODE_UNIT_TESTCASE
+    public:
+#else    
     private:
+#endif    
     /*
      * Perform the second phase construction of a CClientEngine object.
      */
@@ -208,7 +212,11 @@
      */
     void SetupConnectionL( const TConnectionOption aOption );
 
+#ifdef REVERSEGEOCODE_UNIT_TESTCASE
+    public:
+#else    
     private:
+#endif  
     //From MHTTPSessionEventCallback
     /*
      * Called by framework to notify about transaction events.
@@ -231,7 +239,12 @@
      */
     TInt MHFRunError( TInt aError, RHTTPTransaction aTransaction, const THTTPEvent& aEvent );
 
+    
+#ifdef REVERSEGEOCODE_UNIT_TESTCASE
+    public:
+#else    
     private:
+#endif 
     // from MMobilityProtocolResp
     void PreferredCarrierAvailable( TAccessPointInfo aOldAPInfo,
                                     TAccessPointInfo aNewAPInfo,
@@ -246,7 +259,11 @@
     TBool IsWlanOnly(const TMobileRoamingStatus& aRoamingStatus,
                 const TCmGenConnSettings& aGenConnSettings) const;
     
-private: // from CActive
+#ifdef REVERSEGEOCODE_UNIT_TESTCASE
+    public:
+#else    
+    private:
+#endif 
 
 	/**
 	  * RunL
@@ -267,14 +284,22 @@
 	  */	
     TInt RunError(TInt aError);
 
-private:
+#ifdef REVERSEGEOCODE_UNIT_TESTCASE
+    public:
+#else    
+    private:
+#endif 
 
 	/**
 	  * Submits a HTTP transaction
 	  */
     void DoHTTPGetL();
-   
-private:
+    
+#ifdef REVERSEGEOCODE_UNIT_TESTCASE
+    public:
+#else    
+    private:
+#endif 
   // declare members
     RSocketServ                 iSocketServ;
     RConnection                 iConnection;