multimediacommsengine/tsrc/testdriver/siptester/ttcnresolverplugin/src/CTTCNResolverPlugin2.h
changeset 0 1bce908db942
equal deleted inserted replaced
-1:000000000000 0:1bce908db942
       
     1 /*
       
     2 * Copyright (c) 2004 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:  See class definition below.
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef __CTTCNResolverPlugin2_H__
       
    19 #define __CTTCNResolverPlugin2_H__
       
    20 
       
    21 // INCLUDES
       
    22 #include <apgcli.h>
       
    23 #include "CTTCNResolverPluginBase.h"
       
    24 
       
    25 
       
    26 // CONSTANTS ( implementation 2 )
       
    27 const TInt32 KTTCNResolverPluginUID2 = 0x10203346;
       
    28 
       
    29 // CLASS DEFINITION
       
    30 /**
       
    31  * CTTCNResolverPlugin2 implements a simple plugin for testing ClientResolver.
       
    32  */
       
    33 class CTTCNResolverPlugin2 : public CTTCNResolverPluginBase
       
    34 	{
       
    35 	public:
       
    36 		/**
       
    37 		 * Static constructor
       
    38 		 * @return An initialized instance of this class.
       
    39 		 */
       
    40 		static CTTCNResolverPlugin2* NewL();
       
    41 		
       
    42 		/**
       
    43 		 * Destructor
       
    44 		 */
       
    45 		~CTTCNResolverPlugin2();
       
    46 		
       
    47     public: // from CTTCNResolverPluginBase
       
    48         TInt32 MyUid() const;
       
    49 
       
    50 	 public: // from CSIPResolvedClient
       
    51 		const TDesC8& Capabilities();
       
    52 		
       
    53     private:
       
    54     
       
    55         void ConstructL();
       
    56         
       
    57         void CapabilitiesL();
       
    58 		
       
    59 	private: // data
       
    60 	
       
    61 	    HBufC8* iCapabilities;
       
    62 	};
       
    63 
       
    64 #endif // __CTTCNResolverPlugin2_H__