realtimenetprots/sipfw/SIP/ServerResolver/src/CSIPQueryBase.cpp
changeset 0 307788aac0a8
equal deleted inserted replaced
-1:000000000000 0:307788aac0a8
       
     1 // Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // Name          : CSIPQueryBase.cpp
       
    15 // Part of       : ServerResolver
       
    16 // Version       : SIP/4.0 
       
    17 //
       
    18 
       
    19 
       
    20 
       
    21 #include <stringpool.h>
       
    22 #include "sipstrings.h"
       
    23 #include "sipstrconsts.h"
       
    24 #include "CSIPQueryBase.h"
       
    25 
       
    26 // ----------------------------------------------------------------------------
       
    27 // CSIPQueryBase::CSIPQueryBase
       
    28 // ----------------------------------------------------------------------------
       
    29 //
       
    30 CSIPQueryBase::CSIPQueryBase()
       
    31 	{
       
    32 	}
       
    33 
       
    34 // ----------------------------------------------------------------------------
       
    35 // CSIPQueryBase::~CSIPQueryBase
       
    36 // ----------------------------------------------------------------------------
       
    37 //
       
    38 CSIPQueryBase::~CSIPQueryBase()
       
    39 	{
       
    40 	}
       
    41 
       
    42 // ----------------------------------------------------------------------------
       
    43 // CSIPQueryBase::ResultTarget
       
    44 // ----------------------------------------------------------------------------
       
    45 //
       
    46 const TDesC8& CSIPQueryBase::ResultTargetL()
       
    47 	{
       
    48 	__ASSERT_ALWAYS (EFalse, User::Leave(KErrNotSupported));
       
    49 	return KNullDesC8();
       
    50 	}
       
    51 
       
    52 // ----------------------------------------------------------------------------
       
    53 // CSIPQueryBase::ResultProtocol
       
    54 // ----------------------------------------------------------------------------
       
    55 //
       
    56 RStringF CSIPQueryBase::ResultProtocolL() 
       
    57 	{
       
    58 	__ASSERT_ALWAYS (EFalse, User::Leave(KErrNotSupported));
       
    59 	return SIPStrings::StringF( SipStrConsts::EEmpty );
       
    60 	}
       
    61 
       
    62 // ----------------------------------------------------------------------------
       
    63 // CSIPQueryBase::ResultPort
       
    64 // ----------------------------------------------------------------------------
       
    65 //
       
    66 TUint CSIPQueryBase::ResultPortL() 
       
    67 	{
       
    68 	__ASSERT_ALWAYS (EFalse, User::Leave(KErrNotSupported));
       
    69 	return 0;
       
    70 	}
       
    71 	
       
    72 // ----------------------------------------------------------------------------
       
    73 // CSIPQueryBase::RemoveElement
       
    74 // ----------------------------------------------------------------------------
       
    75 //
       
    76 void CSIPQueryBase::RemoveElementL(TInt /*aIndex*/)
       
    77 	{
       
    78 	__ASSERT_ALWAYS (EFalse, User::Leave(KErrNotSupported));
       
    79 	}
       
    80 
       
    81 // ----------------------------------------------------------------------------
       
    82 // CSIPQueryBase::ArrayCount
       
    83 // ----------------------------------------------------------------------------
       
    84 //
       
    85 TInt CSIPQueryBase::ArrayCount()
       
    86 	{
       
    87 	return KErrNotSupported;
       
    88 	}
       
    89 	
       
    90 // ----------------------------------------------------------------------------
       
    91 // CSIPQueryBase::SetTargetL
       
    92 // ----------------------------------------------------------------------------
       
    93 //
       
    94 void CSIPQueryBase::SetTargetL(const TDesC8& /*aTarget*/)
       
    95 	{
       
    96 	__ASSERT_ALWAYS (EFalse, User::Leave(KErrNotSupported));
       
    97 	}