realtimenetprots/sipfw/ClientResolver/Resolver/inc/CSdpMLineNameStrategy.h
changeset 0 307788aac0a8
equal deleted inserted replaced
-1:000000000000 0:307788aac0a8
       
     1 /*
       
     2 * Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:
       
    15 * Name          : CSdpMLineNameStrategy.h
       
    16 * Part of       : SIP Client Resolver
       
    17 * Version       : 1.0
       
    18 *
       
    19 */
       
    20 
       
    21 
       
    22 
       
    23 
       
    24 /**
       
    25  @internalComponent
       
    26 */
       
    27 
       
    28 #ifndef CSDPMLINENAMESTRATEGY_H
       
    29 #define CSDPMLINENAMESTRATEGY_H
       
    30 
       
    31 #include <e32base.h>
       
    32 #include <stringpool.h>
       
    33 #include "CSdpMLineStrategyBase.h"
       
    34 
       
    35 
       
    36 class CSdpMLineNameStrategy : public CSdpMLineStrategyBase
       
    37     {
       
    38 public:
       
    39 
       
    40     static CSdpMLineNameStrategy* NewLC(const MSipClients& aSipClients);
       
    41     ~CSdpMLineNameStrategy ();
       
    42 
       
    43 protected: // From CSdpMLineStrategyBase
       
    44 
       
    45     TBool IsApplicable(CSdpMediaField& aMediaField);
       
    46 
       
    47     TBool FieldsMatchL(const CSdpMediaField& aReceivedMedia,
       
    48                        const CSdpMediaField& aClientMedia);
       
    49 
       
    50 private:
       
    51 
       
    52     CSdpMLineNameStrategy(const MSipClients& aSipClients);
       
    53     void ConstructL();
       
    54     
       
    55     RStringF iApplicationStringF;
       
    56     
       
    57 private: // For testing purposes
       
    58 
       
    59 	UNIT_TEST(CSdpMLineNameStrategyTest)
       
    60     };
       
    61 
       
    62 #endif // CSDPMLINENAMESTRATEGY_H
       
    63 
       
    64 // End of File