syncmlfw/dm/hostserver/dmhostserverbase/src/nsmldmhostsession.cpp
changeset 2 5594fba90824
parent 0 b497e44ab2fc
child 66 08c8318ec9cb
equal deleted inserted replaced
1:a9c0ce913924 2:5594fba90824
  2284 			return KNSmlInternetAdapterImplUid;
  2284 			return KNSmlInternetAdapterImplUid;
  2285 		}	
  2285 		}	
  2286 	}
  2286 	}
  2287 
  2287 
  2288 // ------------------------------------------------------------------------------------------------
  2288 // ------------------------------------------------------------------------------------------------
       
  2289 // void CNSmlDMHostSession::RemoveMappingL()
       
  2290 //	This function is called to remove an URI from tree database.  
       
  2291 //	@return TInt. The Error code.
       
  2292 // ------------------------------------------------------------------------------------------------
       
  2293 //
       
  2294 TInt CNSmlDMHostSession::RemoveMappingL( TUint32 aAdapterId, const TDesC8& aURI, TBool aChildAlso )
       
  2295     {
       
  2296     TInt ret = KErrNotFound;
       
  2297     if ( !iCbSessConnected )
       
  2298         {
       
  2299         ret = iCbSession.Connect();
       
  2300         if ( ret != KErrNone )
       
  2301             {
       
  2302             _DBG_FILE("ERROR!!! RemoveMappingL Connect to Callback server FAILED!!!!");                            
       
  2303             }
       
  2304         else 
       
  2305             {
       
  2306             iCbSessConnected = ETrue;           
       
  2307             }
       
  2308         }
       
  2309     ret = iCbSession.RemoveMappingInfoL( aAdapterId, aURI, aChildAlso );
       
  2310     return ret;
       
  2311     }
       
  2312 	
       
  2313 // ------------------------------------------------------------------------------------------------
  2289 // Client code to access other dm host servers
  2314 // Client code to access other dm host servers
  2290 // ------------------------------------------------------------------------------------------------
  2315 // ------------------------------------------------------------------------------------------------
  2291 
  2316 
  2292 
  2317 
  2293 // ------------------------------------------------------------------------------------------------
  2318 // ------------------------------------------------------------------------------------------------